ben_hawk
(ben_hawk)
September 30, 2011, 3:16pm
1
I installed ruby 1.9.2 using RVM and then used Netbeans to install the latest
rails and gems etc.
However when I create a new rails application and click finish i get the
following error
http://old.nabble.com/file/p32569627/Screen%2BShot%2B2011-09-30%2Bat%2B16.14.01.png
Screen+Shot+2011-09-30+at+16.14.01.png
When I create a new rails project I correctly select the right version of
Ruby to use (1.9.2) and everything else including the gems are all set to
version ruby 1.9.2
Does anyone know whats wrong?
Thanks
Ben Gibson
Blaze_Boy
(Blaze Boy)
September 30, 2011, 3:44pm
2
i fall in that problem all the time and got solved when i delete teh Gemfile.lock,
i’m still noop when it comes to rails but give it a shot.
Googling the error message finds this page:
http://stackoverflow.com/questions/6085610/ruby-on-rails-and-rake-problems-uninitialized-constant-rakedsl
I remember running into this too and it was fixed by downgrading rake to 0.8.7 in my Gemfile. I didn’t try any of the other workarounds.
Cheers,
Zeck
(Zeck)
October 3, 2011, 12:17pm
6
If you developing Rails app. Don’t use third party software like Netbeans.