[FIX] With Rails 2.3.x, undefined local variable or method `dep' for Gem:Module
By: Johnathon Wright on: April 20, 2011
I received this message when I ran cucumber tests but not when I used script/console. Kinda strange. Perhaps this is because I didn't configure cucumber for my dev environment?? Anyway, the fix:
gem uninstall rubygems-update
gem update --system 1.4.3
In the words of Yoda, "Unfortunate this is, and unexpected."
References
"Can not install redmine":http://www.redmine.org/boards/2/topics/23318?r=23322 "Gist -- Undefined local variable dep":https://gist.github.com/901775 "RubyGems Developers Mailing List":http://www.mail-archive.com/rubygems-developers@rubyforge.org/msg04579.html "StackOverflow -- How do you downgrade RubyGems":http://stackoverflow.com/questions/523993/how-do-you-downgrade-rubygems