I'm having trouble running script/generate due to the following error:
./script/../config/../vendor/rails/railties/lib/rails/vendor_gem_source_index.rb:1:in
`require': No such file to load -- rubygems (LoadError)
from
./script/../config/../vendor/rails/railties/lib/rails/vendor_gem_source_index.rb:1
from
./script/../config/../vendor/rails/railties/lib/rails/gem_dependency.rb:1:in
`require'
from
./script/../config/../vendor/rails/railties/lib/rails/gem_dependency.rb:1
from
./script/../config/../vendor/rails/railties/lib/initializer.rb:10:in
`require'
from
./script/../config/../vendor/rails/railties/lib/initializer.rb:10
from ./script/../config/boot.rb:45:in `require'
from ./script/../config/boot.rb:45:in `load_initializer'
from ./script/../config/boot.rb:38:in `run'
from ./script/../config/boot.rb:11:in `boot!'
from ./script/../config/boot.rb:109
from script/generate:2:in `require'
from script/generate:2
its obviously tripping up on "require 'rubygems'" in
vendor_gem_source_index.rb.
I have no idea why this started happening (been working on this app with
frozen rails for months) .. only that I recently upgraded my rails gem
to 2.3.3. The version in the vendor folder is 2.2.
Any pointers would be really appreciated.
Thanks in advance,
Adam
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---