Error in boot.rb after manual install

I installed Rails manually. Now it creates the app nicely but when i
any script/generate command, it halts with following error on command
./script/…/config/boot.rb:29: undefined method gem' for main:Object (NoMethodError) from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:inrequire’
from script/generate:2

I am on Windows Vista and installed each component of rails as a
gem in this order:

  1. Activesupport
  2. Actionpack
  3. Actionmailer
  4. Activerecord
  5. Actionwebservice
  6. Rake
  7. Rails

What could be wrong.

Thanks and regards,

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