ip2k / google-api-ruby-client

Automatically exported from code.google.com/p/google-api-ruby-client
Apache License 2.0
0 stars 0 forks source link

Calendar Sample won't start. #46

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. rvm install 1.9.3-head
2. sudo gem install sinatra httpadapter extlib dm-sqlite-adapter 
google-api-client
3. ruby calendar.rb

What is the expected output? What do you see instead?
Instead of the server starting I get an error. 

➜  calendar git:(master) ruby calendar.rb                                     

/home/johnny/.rvm/rubies/ruby-1.9.3-head/lib/ruby/site_ruby/1.9.1/rubygems/speci
fication.rb:1637:in `raise_if_conflicts': Unable to activate 
google-api-client-0.4.4, because multi_json-1.0.4 conflicts with multi_json (>= 
1.3.0) (Gem::LoadError)
    from /home/johnny/.rvm/rubies/ruby-1.9.3-head/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:746:in `activate'
    from /home/johnny/.rvm/rubies/ruby-1.9.3-head/lib/ruby/site_ruby/1.9.1/rubygems.rb:212:in `rescue in try_activate'
    from /home/johnny/.rvm/rubies/ruby-1.9.3-head/lib/ruby/site_ruby/1.9.1/rubygems.rb:209:in `try_activate'
    from /home/johnny/.rvm/rubies/ruby-1.9.3-head/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:59:in `rescue in require'
    from /home/johnny/.rvm/rubies/ruby-1.9.3-head/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:35:in `require'
    from calendar.rb:4:in `<main>'

What version of the product are you using? On what operating system?
google-api-client-0.4.4
Debian with kernel 3.2.6

Please provide any additional information below.

Original issue reported on code.google.com by johnn...@gmail.com on 8 Jul 2012 at 8:04

GoogleCodeExporter commented 9 years ago
You must do

gem install multi_json --version 1.0.4 

Original comment by guillaum...@gmail.com on 19 Jul 2012 at 2:46

GoogleCodeExporter commented 9 years ago
The next version of the client will have a `>= 1.0.0` version requirement, so 
this error should go away soon. Either way, you should be using bundler to 
manage your gem sets, rather than directly installing with the gem command.

Original comment by bobaman@google.com on 23 Jul 2012 at 7:26

GoogleCodeExporter commented 9 years ago

Original comment by bobaman@google.com on 23 Jul 2012 at 7:39

GoogleCodeExporter commented 9 years ago
Actually, Steven, can we just make sure all samples include a Gemfile going 
forward?

Original comment by bobaman@google.com on 6 Aug 2012 at 4:23

GoogleCodeExporter commented 9 years ago

Original comment by sba...@google.com on 2 Nov 2012 at 7:51

GoogleCodeExporter commented 9 years ago
Added Gemfiles for all examples

Original comment by sba...@google.com on 2 Jan 2013 at 11:28