I just went through running rails_upgrade last night. I don’t remember
running into this problem. But, I wanted to ask if you were following
along with Ryan B.’ Railscast on using the gem.
I just followed along and my upgrade went pretty well actually. The only
major difference from what he shows and what I did was that now there is
a pre-release of will_paginate that works with Rails 3.0. I simply
specified the newer gem version in my gemfile instead of using the hack
Ryan shows to get around the problem.
Now I still have a lot of work to do to get my application fully up on
Rails 3.0. Unfortunately, I was still using a lot of old plugins that
I’ll finally be replacing with newer, better, solutions. But, as for the
assistance rails_upgrade provides things went pretty smoothly.
Try re-installing rails version that you are using, if you have frozen
rails
in your vendor directory, then remove it and use rails from gem or
remove it
and re-freeze
Most probably this issue is because rails is not installed properly or
is
not in the right path or has gotten corrupted somehow.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.