Can't run rails

Yesterday, I was having a problem with db:migrate. I was told my version
of rails was too old, and I needed to install it from gems instead of
the version in my version of Ubuntu. Since then, I’ve done that, and I
built ruby 1.8.4 from source and installed it. The installation was to
/usr/local/bin. As my distribution had put ruby 1.8.3 in /usr/bin, I
renamed that and put a link to the version in /usr/local/bin in
/usr/bin.

If I run ruby --version, I see
michael@photon:~/ruby/rails$ ruby --version
ruby 1.8.4 (2005-12-24) [i686-linux]

/usr/bin/ruby gives the same results.

I still can’t run rails, though. When I type
rails depot

I get
Rails does not work with Ruby version 1.8.3.
Please upgrade to version 1.8.4 or downgrade to 1.8.2.

I don’t even have a ruby version 1.8.3 on my system anymore. Why can’t I
run rails?

All help appreciated.
—Michael

On 8/6/06, Michael S. [email protected] wrote:

ruby 1.8.4 (2005-12-24) [i686-linux]

I don’t even have a ruby version 1.8.3 on my system anymore. Why can’t I
run rails?

All help appreciated.
—Michael

Is there a copy of Rails in your depot project’s vendor directory?
Possibly from freezing an edge Rails version at some point.

– James

James L. wrote:

On 8/6/06, Michael S. [email protected] wrote:

ruby 1.8.4 (2005-12-24) [i686-linux]

I don’t even have a ruby version 1.8.3 on my system anymore. Why can’t I
run rails?

All help appreciated.
—Michael

Is there a copy of Rails in your depot project’s vendor directory?
Possibly from freezing an edge Rails version at some point.

At this point, I’m trying to create the depot project. The depot project
doesn’t even exist - and won’t until I can get rails to run.

On 06/08/06, James L. [email protected] wrote:

On 8/6/06, Michael S. [email protected] wrote:

James L. wrote:

On 8/6/06, Michael S. [email protected] wrote:

ruby 1.8.4 (2005-12-24) [i686-linux]

I don’t even have a ruby version 1.8.3 on my system anymore. Why
can’t I
run rails?

Use your distributions package-removal tool to completely clean out ruby
1.8.3. Just manually installing it and setting a symbolic link is not
going
to do it for you.

On 8/6/06, Michael S. [email protected] wrote:

Is there a copy of Rails in your depot project’s vendor directory?
Possibly from freezing an edge Rails version at some point.

At this point, I’m trying to create the depot project. The depot project
doesn’t even exist - and won’t until I can get rails to run.

Apparently I was still half-asleep when I answered that, because
somehow I got it into my head that you were trying to start your
server and getting an error about the version of Rails. Sorry about
that.