Skip to content
This repository has been archived by the owner on Jun 20, 2021. It is now read-only.

json-1.7.7 vs json-1.8.1 Gem::LoadError #109

Closed
crucialfelix opened this issue Jan 31, 2014 · 1 comment
Closed

json-1.7.7 vs json-1.8.1 Gem::LoadError #109

crucialfelix opened this issue Jan 31, 2014 · 1 comment

Comments

@crucialfelix
Copy link

I'm not really a ruby person, but this seems to be a json lib conflict.

cupertino-0.9.5

    crucial@crucialbook ~/Sites/capsule.me/frontend/phoneapp$ ios login
    invalid command. Use --help for more information
    /Library/Ruby/Site/2.0.0/rubygems/specification.rb:1989:in `raise_if_conflicts': can't activate json-1.7.7, already activated json-1.8.1 (Gem::LoadError)
            from /Library/Ruby/Site/2.0.0/rubygems/specification.rb:1238:in `activate'
            from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:96:in `block in require'
            from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:95:in `each'
            from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:95:in `require'
            from /Library/Ruby/Gems/2.0.0/gems/cupertino-0.9.5/lib/cupertino/provisioning_portal/agent.rb:4:in `<top (required)>'
            from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:73:in `require'
            from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:73:in `require'
            from /Library/Ruby/Gems/2.0.0/gems/cupertino-0.9.5/lib/cupertino/provisioning_portal.rb:55:in `<top (required)>'
            from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:73:in `require'
            from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:73:in `require'
            from /Library/Ruby/Gems/2.0.0/gems/cupertino-0.9.5/bin/ios:21:in `<top (required)>'
            from /usr/bin/ios:23:in `load'
            from /usr/bin/ios:23:in `<main>'
@crucialfelix
Copy link
Author

I guess it is nothing that cupertino does wrong, its just how life is with gems.

I made a Gemfile:

source 'https://rubygems.org'
# gem 'json', '1.7.7'
gem 'cupertino'

use bundle to isolate the environment:

bundle install

bundle exec ios login

and life goes on.

thanks !

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

No branches or pull requests

1 participant