Wednesday, August 12, 2009

undefined method 'collect' after installing one click installer

After Installing ruby with one click installer never forget to update the gems:
gem install rubygems-update
gem update --system

If you don't do so you will get bunch of errors at gitbash/ command prompt what ever you use
the error will be for sh.exe

rake aborted!
undefined method `collect' for #. . . . . . . .

You can see full trace by running task with --trace

After getting these message if you update the gems and the projects will start running properly and you will get something like this
Deprecation Notices:

* Bulk index update is no longer supported (the code currently remains, but not the tests)
* Gem::manage_gems was removed in 1.3.3.
* Time::today was removed in 1.3.3.

</gem::version::requirement:0x493a43c>


http://www.getontracks.org/forums/viewthread/402/

No comments:

Post a Comment