Rails 2.3.5 gem update (dependency errors fixed)

In: Ruby on Rails

7 Jan 2010

I 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 :)

2 Responses to Rails 2.3.5 gem update (dependency errors fixed)

Avatar

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 :)

Avatar

Rowe Alfred

January 31st, 2010 at 6:10 pm

@TJ Glad I could help, love your WP-Theme so I got one for myself.

Comment Form

About this blog

Just tackling programming nightmares with flares. Sometimes the tactics are smooth sometimes their rough.

Photostream

About Me

1Alfred is a seasoned programmer with over 8 years of experience, CEO of nCodedev Labs, a Ruby evangelist and activist. Loves programming most of the time, spends my free times with his family or trying out something new. He believes in doing more than expected of you and working hard at anything you find your self working on. As he always says, you don't have to take the bull by its horns all the time, you can take it by the tail too and move on to the horns when you stronger.