Newbie problem with installing rails

Installed Ruby fine, works fine. Windows, 1.8.6
Fire up RubyGems to install rails.
gem install rails
Various success messages to screen.

Open a command line.
rails test
Ton of creates … OK.
cd test
ruby script/server

Get a message saying I’m trying to run 1.3.2 and I’ve got 1.3.1 and I
should run gem update --system

Go to RubyGems and run ‘gem update --system’’
Am told that 1.3.6 has been installed.
Back to command line and repeat
ruby script/server

Whereupon I get these dumped to the screen:

report_activate_error': RubyG em version error: rack(1.0.0 not ~> 1.0.1) (Gem::LoadError) from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems.rb:211:inactivate’
from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems.rb:1056:in gem' from C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/ action_controller.rb:34 from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: 31:ingem_original_require’
from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
31:in require' from C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/ active_support/dependencies.rb:156:inrequire’
from C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
active_support/dependencies.rb:521:in new_constants_in' from C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/ active_support/dependencies.rb:156:inrequire’
from C:/Ruby/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/commands/
from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
31:in gem_original_require' from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: 31:inrequire’ from script/server:3

Can someone please explain (you’re talking to a newbie to Rails, but
experienced s/w developer) what happened and how I can fix it.

first Do :
gem update
gem update system
rails test
cd test
ruby script/server

Do these step by step
On Thu, Mar 4, 2010 at 6:51 AM, whoohoo [email protected] wrote:

31:in `require’
from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected][email protected]
For more options, visit this group at

Rajeev sharma

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs