Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

rake gems:install doesn't upgrade gems that need a newer version

#3380
betelgeuse@pena ~/project $ vim config/environment.rb
betelgeuse@pena ~/project $ rake gems:install
(in /home/betelgeuse/project)
betelgeuse@pena ~/project $ ./script/server -b localhost
=> Booting Mongrel
=> Rails 2.3.4 application starting on http://localhost:3000
Missing these required gems:
  hobo  >= 0.8.10

You're running:
  ruby 1.8.7.174 at /usr/bin/ruby18
  rubygems 1.3.5 at /home/betelgeuse/.gem/ruby/1.8, /usr/lib/ruby/gems/1.8

Run `rake gems:install` to install the missing gems.
betelgeuse@pena ~/project $ sudo gem install --version ">= 0.8.10" hobo
Password:
Successfully installed hobosupport-0.8.10
Successfully installed hobofields-0.8.10
Successfully installed hobo-0.8.10
3 gems installed
Installing ri documentation for hobosupport-0.8.10...
Installing ri documentation for hobofields-0.8.10...
Installing ri documentation for hobo-0.8.10...
Installing RDoc documentation for hobosupport-0.8.10...
Installing RDoc documentation for hobofields-0.8.10...
Installing RDoc documentation for hobo-0.8.10...
betelgeuse@pena ~/project $ grep hobo config/environment.rb
  config.gem 'hobo', :version => '>= 0.8.10'
betelgeuse@pena ~/project $ ./script/server -b localhost
=> Booting Mongrel
=> Rails 2.3.4 application starting on http://localhost:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
^CExiting

expected: gems:install should have installed a newer hobo version for me

Reported by Betelgeuse · October 15th, 2009 @ 06:32 PM

State: invalid
Milestone: none
Assigned to: nobody
Importance: none

Activity

  1. Matt Jones
    Matt Jones
    • State changed from new to invalid

    Closing as invalid, as this is due to the "require 'hobo/tasks/rails'" the generator adds to the Rakefile. I'll open a ticket over on the Hobo Lighthouse to try to figure this out.

    Note that the output of 'rake gems' would have been a dead giveaway that something was wrong:

    matt-jones-computer:foo mattjones$ rake gems
    (in /Users/mattjones/scratch/foo)
     - [R] hobo >= 0.8.10
    
    I = Installed
    F = Frozen
    R = Framework (loaded before rails starts)
    

    October 16th, 2009 @ 08:48 PM

  2. Jeff Kreeftmeijer
    Jeff Kreeftmeijer
    • Tag cleared.

    Automatic cleanup of spam.

    October 19th, 2010 @ 07:08 AM