-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Cannot install cocoapods gem on Mac OS X 10.8.5 (Ruby 1.8.7) due to activesupport #2458
Comments
Please copy and paste the entire output of that command? |
We depend on ActiveSupport < 4 https://github.com/CocoaPods/CocoaPods/blob/master/cocoapods.gemspec#L42. The gemspec of the latest ActiveSupport v3 tag shows that it should be usable on 1.8.7: https://github.com/rails/rails/blob/v3.2.19/activesupport/activesupport.gemspec#L12. |
Rats. I'd closed the terminal. I'm running again now to gather the full output. |
Per request, here's the full output:
|
|
Annoyingly, the only gem command I can find that lists dependencies only works on gems that are installed, making it useless for diagnosing a case where a stray dependency prevents a gem from installing. |
As a workaround, what happens if you yourself install the ActiveSupport 3.2.19 gem first? Maybe RubyGems will then be satisfied and not try to install a newer version. |
�That seems to be working. After running this command: The command to install cocoapods no longer attempts to unnecessarily install activesupport 4.1.6 as part of the operation. Thanks for the fast turnaround on this assistance! |
Ok, let’s see if many others report this issue before further looking into it. For completeness sake, can you specify which RubyGems version you are using? |
So maybe one of the other dependencies asked for activesupport without the < 4 qualifier and the gem installer failed to fall back when it discovered it couldn't install the latest. $ gem -v $ ruby -v |
Yeah that’s what I’m thinking as well. Ace, thanks for the info! |
Hi I am trying to install cocoa Pods but i am facing following issue. Can anyone help me out here |
What I did:
sudo gem install -V cocoapods
�The error I got:
ERROR: Error installing cocoapods: activesupport requires Ruby version >= 1.9.3.
I read and searched the site and it seems like the intention is that 10.8.5 is still supposed to be supported. If not, I guess I can move to Mavericks, but wanted to report and confirm first.
Thanks.
The text was updated successfully, but these errors were encountered: