Hi!
I installed Rails manually. Now it creates the app nicely but when i
give
any script/generate command, it halts with following error on command
prompt
./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:in require’
from script/generate:2
I am on Windows Vista and installed each component of rails as a
seperate
gem in this order:
- Activesupport http://rubyforge.org/projects/activesupport/
- Actionpack http://rubyforge.org/projects/actionpack/
- Actionmailer http://3.postersgalaxy.com/
- Activerecord http://rubyforge.org/projects/activerecord/
- Actionwebservice http://rubyforge.org/projects/aws/
- Rake http://11.mimbarminang.com/
- Rails http://rubyforge.org/projects/rails/
What could be wrong.
Thanks and regards,
Swanand