# Can't run rails

**URL:** <https://www.ruby-forum.com/t/cant-run-rails/101600>\
**Category:** Rails\
**Created:** [August 6, 2006, 4:44pm UTC](https://www.ruby-forum.com/t/cant-run-rails/101600 "2006-08-06T16:44:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![wickie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/ba9def/32.png) [@wickie](https://www.ruby-forum.com/u/wickie)\
**Post date:** [August 6, 2006, 4:44pm UTC](https://www.ruby-forum.com/t/cant-run-rails/101600/1 "2006-08-06T16:44:27Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![wickie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/ba9def/32.png) [@wickie](https://www.ruby-forum.com/u/wickie)\
**Post date:** [August 6, 2006, 5:07pm UTC](https://www.ruby-forum.com/t/cant-run-rails/101600/2 "2006-08-06T17:07:55Z")

</div>

On 8/6/06, Michael S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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

---

<div class="post-metadata">

**Author:** ![wickie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/ba9def/32.png) [@wickie](https://www.ruby-forum.com/u/wickie)\
**Post date:** [August 6, 2006, 5:13pm UTC](https://www.ruby-forum.com/t/cant-run-rails/101600/3 "2006-08-06T17:13:02Z")

</div>

James L. wrote:

> On 8/6/06, Michael S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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.

---

<div class="post-metadata">

**Author:** ![wickie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/ba9def/32.png) [@wickie](https://www.ruby-forum.com/u/wickie)\
**Post date:** [August 6, 2006, 8:32pm UTC](https://www.ruby-forum.com/t/cant-run-rails/101600/4 "2006-08-06T20:32:14Z")

</div>

On 06/08/06, James L. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> On 8/6/06, Michael S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > James L. wrote:
> > 
> > > On 8/6/06, Michael S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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.

---

<div class="post-metadata">

**Author:** ![wickie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/ba9def/32.png) [@wickie](https://www.ruby-forum.com/u/wickie)\
**Post date:** [August 6, 2006, 5:41pm UTC](https://www.ruby-forum.com/t/cant-run-rails/101600/5 "2006-08-06T17:41:00Z")

</div>

On 8/6/06, Michael S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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.
