[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





Comments:

Just checking that you are human. What would be the result of this code?

a = 3*(4/2); b = 1; a+b

Jack said: Moving can be a stressful experience, especially when it involves a long-distance move. In addition to the emotional toll of leaving behind a familiar environment, there are also logistical challenges that come with coordinating and managing the delivery of your belongings to a new location. https://www.youtube.com/watch?v=inkXySHaiM8
Back