-
Notifications
You must be signed in to change notification settings - Fork 24.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FIXED] error bundler: failed to load command: pod
, deprecate to_default_s: :to_s, deprecator: ActiveSupport.deprecator
#39832
Comments
|
The problem appears to be that CocoaPods isn't using an exact version of the Then run |
@stephen-pearce : Do you think this could be the problem? |
@Angelk90 That looks to be a solution to the problem if I understand it right. Hopefully this gets into a stable release soon |
I have the same thing. The solution suggested @stephen-pearce fix it. Thank you. |
I'm having the same problem, when running init it gives the error, but it still creates the project, I spent the day thinking it was a problem with my machine, but no matter what I do nothing seems to solve it. I'm going to try the solution suggested above, I'm just afraid of having more problems with this in the future. |
@cipolleschi : Maybe you can tell us something. |
Yeah, so... Unfortunately, Active Support released version 7.1.0 this morning, which is not compatible with Cocoapods.
Meanwhile, you can:
I'm sorry for the inconvenience and thank you for your patience! |
Help! Downloading template deprecate to_default_s: :to_s, deprecator: ActiveSupport.deprecator |
@mvalbuquerque if you need to be unblocked:
|
Shows 404 |
|
Thanks @muhammedyasirmt, that's the right fix. |
@stephen-pearce Thanks a ton, works for us, too! Really appreciate this quick response. |
Hello! cipolleschi Thank you for your answer, the solution works for me, but it doesn't work when I run the command npx react-native@latest init AwesomeProject, I need to generate many projects in my classes, could you let me know when the fix comes out? |
Hello! This worked for me but not when creating the project :-( |
What do you mean? If you have to generate many projects within the same React Native app, all the projects must have the updated Anyway, the Release crew is aiming to have 0.71 and 0.72 by the end of this week, if everything runs smoothly |
Opening this to keep it as main issue for tracking the ActiveSupport problem. |
deprecate to_default_s: :to_s, deprecator: ActiveSupport.deprecator
deprecate to_default_s: :to_s, deprecator: ActiveSupport.deprecator
error bundler: failed to load command: pod
, deprecate to_default_s: :to_s, deprecator: ActiveSupport.deprecator
just a quick update on this folks: patch releases for 71 and 72 are in the works as we speak. 0.70 will follow soon after. |
This comment was marked as off-topic.
This comment was marked as off-topic.
error bundler: failed to load command: pod
, deprecate to_default_s: :to_s, deprecator: ActiveSupport.deprecator
error bundler: failed to load command: pod
, deprecate to_default_s: :to_s, deprecator: ActiveSupport.deprecator
Resolved — please upgrade to
|
While Installing Bundle in Ios Directory Give following error
Environment
Bundler Build Metadata
Bundler settings
Gemfile../Gemfilesource 'https://rubygems.org'
# You may use http://rbenv.org/ or https://rvm.io/ to install and use this version
ruby ">= 2.6.10"
gem 'cocoapods', '~> 1.13'
gem 'activesupport', '>= 6.1.7.3', '< 7.1.0' ../Gemfile.lock
--- TEMPLATE END ---------------------------------------------------------------- Unfortunately, an unexpected error occurred, and Bundler cannot continue. First, try this link to see if there are any existing issue reports for this error: If there aren't any reports for this error yet, please fill in the new issue form located at https://github.com/rubygems/rubygems/issues/new?labels=Bundler&template=bundler-related-issue.md, and copy and paste the report template above in there. |
@Prabhat1933 which version of React Native are you using? And what command have you issued? Please try:
Anyway, the error says |
Thank u so much it worked . I was Trying same step before from documentation but it was not working but this time it worked |
This comment was marked as off-topic.
This comment was marked as off-topic.
@Prabhat1933 this is a different issue, so, please, open a new one. Let's not pollute this issue for people looking at solution for Ruby failures. |
Description
I tried creating a new project in react native:
npx react-native@latest init myApp
When creating the project I get this:
React Native Version
0.72.5
Output of
npx react-native info
Steps to reproduce
I tried creating a new project in react native:
npx react-native@latest init myApp
The text was updated successfully, but these errors were encountered: