Skip to content
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 satisfy json dependancy (not the same as #163) #175

Closed
Stubbs opened this issue Nov 21, 2013 · 9 comments
Closed

Cannot satisfy json dependancy (not the same as #163) #175

Stubbs opened this issue Nov 21, 2013 · 9 comments

Comments

@Stubbs
Copy link

Stubbs commented Nov 21, 2013

$ gem install lolcommits
ERROR:  While executing gem ... (Gem::DependencyError)
    Unable to resolve dependencies: lolcommits requires json (~> 1.7.6); twitter requires json (~> 1.8)

Does the Twitter dependancy need pinning to a version that requires the same json version as lolcommits?

@matthutchinson
Copy link
Member

Are you using the latest version v0.5.1? And can you provide some more details on your setup (platform, ruby version etc.)

@freecastle
Copy link

I've got (more or less) the same issue on an freshly installed Mac OS X 10.9 box (ruby 2.0.0p353, gem 2.1.11):

$ gem install lolcommits
ERROR:  While executing gem ... (Gem::ImpossibleDependenciesError)
    twitter-5.0.0 requires json (~> 1.8) but it conflicted:
  Activated json-1.8.1 instead of (~> 1.7.6) via:
    lolcommits-0.5.1

@takn
Copy link

takn commented Nov 24, 2013

I'm having a similar issue.
After installing the newer json (gem install gson)
I get the following error:

/usr/local/Cellar/ruby/2.0.0-p353/lib/ruby/2.0.0/rubygems/specification.rb:1206:in block in activate_dependencies': can't satisfy 'json (~> 1.7.6)', already activated 'json-1.8.1' (Gem::LoadError) from /usr/local/Cellar/ruby/2.0.0-p353/lib/ruby/2.0.0/rubygems/specification.rb:1198:ineach'
from /usr/local/Cellar/ruby/2.0.0-p353/lib/ruby/2.0.0/rubygems/specification.rb:1198:in activate_dependencies' from /usr/local/Cellar/ruby/2.0.0-p353/lib/ruby/2.0.0/rubygems/specification.rb:1180:inactivate'
from /usr/local/Cellar/ruby/2.0.0-p353/lib/ruby/2.0.0/rubygems/core_ext/kernel_gem.rb:48:in gem' from /usr/local/opt/ruby/bin/lolcommits:22:in

'

Env info:
Max os 10.8.5
lolcommits-0.5.1

@Heckford-Dave
Copy link

Unfortunately i'm getting the same thing on a 10.9 MacBook Air? Freshly installed Homebrew and all nicely up to date as far as i'm aware?

Ruby version: Ruby: ruby 2.0.0p247

Error i'm getting after running: sudo gem install lolcommits

ERROR: While executing gem ... (Gem::DependencyError)
Unable to resolve dependencies: lolcommits requires json (> 1.7.6); twitter requires json (> 1.8)

@Stubbs
Copy link
Author

Stubbs commented Nov 25, 2013

@matthutchinson I am trying to install 0.5.1, yes, my versions are as follows:

$ ruby --version
ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-darwin13.0.0]

$ gem --version
2.1.10

$ gem install lolcommits
ERROR:  While executing gem ... (Gem::ImpossibleDependenciesError)
    twitter-5.0.0 requires json (~> 1.8) but it conflicted:
  Activated json-1.8.1 instead of (~> 1.7.6) via:
    lolcommits-0.5.1

@matthutchinson
Copy link
Member

Thanks, will try to take a look at this today

@matthutchinson
Copy link
Member

🔧 This PR should fix it #178

matthutchinson added a commit that referenced this issue Nov 28, 2013
@eudaimonious
Copy link

I'm still getting the error that takn shows above.

@matthutchinson
Copy link
Member

Closing - I believe this issue was resolved in v0.5.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants