Seems the last post for this problem was closed for one reason or another so I\'ll try my luck...
I\'m trying to run a simple \"rake db:migrate\" command. When I do,
Oh my god, I was figting with this for almost hour and finally here is my case (may help someone :) ): I got myself multiple rails versions installed so I just uninstalled the latest one as I want to use the most edgy one (the 4.0.1 for now)
so :
$ gem uninstall rails
and I got this:
Select gem to uninstall:
1. rails-0.9.5
2. rails-4.0.0
3. rails-4.0.1
4. All versions
>
so I selected first two and that was it :) now everything is OK hope this helps someone who got mysteriously stuck as me :(