Technological journey's of a lonely African Programmer
In: Ruby on Rails
7 Jan 2010I recently updated my rails gem and realised i was getting errors trying to create new rails projects in 2.3.5, below is the error i was getting.
I went through a few debug modes checked but came up with no lasting solution. I finally checked for my installed gems “sudo gem list” and realised i had “Rack 1.0.0″ installed and I upgraded my rack version with the command “sudo gem update rack” I rechecked my gem list and realised i now i had Rack 1.0.0 and Rack 1.1.0 installed. Great! right? tried to launch my project again and I saw the same errors again, Uhh! Took another closer look again a realised somehow it depended more or less on Rack 1.0.1 which has been skipped by the update to the lastest version of Rack. So this meant we have to install that particular version of rack. I used the following command
sudo gem install -v=1.0.1 rack
Rechecked my rack verisons and now I had all three verisons, tried my project again and behold Rails was booting nicely
Just tackling programming nightmares with flares. Sometimes the tactics are smooth sometimes their rough.
2 Responses to Rails 2.3.5 gem update (dependency errors fixed)
TJ
January 31st, 2010 at 5:49 am
Thanks for posting this with the whole error. Helped me Google my way to fixing it for me in seconds
Rowe Alfred
January 31st, 2010 at 6:10 pm
@TJ Glad I could help, love your WP-Theme so I got one for myself.