# Trying to update to rails 3.0 beta on ubuntu. For some reason none of the commands work & ubuntu do

**URL:** <https://www.ruby-forum.com/t/trying-to-update-to-rails-3-0-beta-on-ubuntu-for-some-reason-none-of-the-commands-work-ubuntu-do/183294>\
**Category:** Rails\
**Created:** [February 11, 2010, 10:07am UTC](https://www.ruby-forum.com/t/trying-to-update-to-rails-3-0-beta-on-ubuntu-for-some-reason-none-of-the-commands-work-ubuntu-do/183294 "2010-02-11T10:07:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![princezuda](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/4491bb/32.png) [@princezuda](https://www.ruby-forum.com/u/princezuda)\
**Post date:** [February 11, 2010, 10:07am UTC](https://www.ruby-forum.com/t/trying-to-update-to-rails-3-0-beta-on-ubuntu-for-some-reason-none-of-the-commands-work-ubuntu-do/183294/1 "2010-02-11T10:07:39Z")

</div>

Hi,  
I’m about to go out of my mind. I’ve been literally working all day on  
installing rails 3.0 beta. I have followed the steps in the ruby on  
rails release notes to a T. I’ve installed all of it’s neccesary gems  
and than I try installing it by gem install rails --pre . I watch it  
install all of it’s dependent gems and when it finishes I try a simple  
rails -v to get this "rails -v  
getopt: invalid option – ‘v’  
Terminating…  
"  
I’ve tried using the rails s command (I also tried rails server) and  
instead of turning on the server it makes a new app! I go into that  
app try again and it makes another app. I’ve literally re-installed  
and uninstalled it trying different tricks since ten am in the morning  
(it’s now 8:30 PM). Anyways, I can’t figure out how to get it to work  
and I really need to program in rails 3.0 even though it is a beta  
because I’m just starting on a complex app and I don’t want to have to  
recode all of the syntax 6 months after it launches. I was programming  
in 2.3.5 BTW. Anyways any help is appreciated!

---

<div class="post-metadata">

**Author:** ![princezuda](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/4491bb/32.png) [@princezuda](https://www.ruby-forum.com/u/princezuda)\
**Post date:** [February 11, 2010, 10:25am UTC](https://www.ruby-forum.com/t/trying-to-update-to-rails-3-0-beta-on-ubuntu-for-some-reason-none-of-the-commands-work-ubuntu-do/183294/2 "2010-02-11T10:25:13Z")

</div>

On Wed, Feb 10, 2010 at 8:33 PM, princezuda [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I’ve tried using the rails s command (I also tried rails server) and  
> instead of turning on the server it makes a new app! I go into that  
> app try again and it makes another app. I’ve literally re-installed  
> and uninstalled it trying different tricks since ten am in the morning  
> (it’s now 8:30 PM). Anyways, I can’t figure out how to get it to work  
> and I really need to program in rails 3.0 even though it is a beta  
> because I’m just starting on a complex app and I don’t want to have to  
> recode all of the syntax 6 months after it launches. I was programming  
> in 2.3.5 BTW. Anyways any help is appreciated!

What are the exact commands that you have typed to install Rails 3.0  
beta? Are you using RVM? Lastly, did you follow the instructions to  
remove all previous versions of Bundler gem?

-Conrad

---

<div class="post-metadata">

**Author:** ![princezuda](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/4491bb/32.png) [@princezuda](https://www.ruby-forum.com/u/princezuda)\
**Post date:** [February 11, 2010, 11:14am UTC](https://www.ruby-forum.com/t/trying-to-update-to-rails-3-0-beta-on-ubuntu-for-some-reason-none-of-the-commands-work-ubuntu-do/183294/3 "2010-02-11T11:14:23Z")

</div>

Hi Conrad,

I’ve installed rails 3 beta successfully on my Ubuntu Karmik Koala  
following “exactly” these instructions (it is working on postgresql too  
just installing pg gem !!!):

gem install tzinfo builder memcache-client rack rack-test rack-mount  
erubis mail text-format thor bundler i18n  
gem install rails --pre

I’m working with Ruby MRI:

ruby 1.8.7 (2009-06-12 patchlevel 174) [i486-linux]  
gem 1.3.5

VERY IMPORTANT: pay attention that ONLY the latest version of bundler  
gem is installed.

If I try to run rails -v the result is: Rails 3.0.0.beta

If you want to start the server you must create the application first  
and then enter into application folder:

rails my\_new\_application  
cd my\_new\_application  
rails server

Hope this helps…

---

<div class="post-metadata">

**Author:** ![princezuda](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/4491bb/32.png) [@princezuda](https://www.ruby-forum.com/u/princezuda)\
**Post date:** [February 11, 2010, 11:47pm UTC](https://www.ruby-forum.com/t/trying-to-update-to-rails-3-0-beta-on-ubuntu-for-some-reason-none-of-the-commands-work-ubuntu-do/183294/4 "2010-02-11T23:47:50Z")

</div>

No I’m not using RVM because iþ crashes when I try to install it. I’ve  
tried rails s, rails server, rails -v. I went to my wits end last  
night & wiped out all of my gems so the bundler isn’t an issue. I ran  
the same commands for install as posted above over ten times to no  
avail. I also made sure bundler wasn’t pre installed on all of my  
attempts to make it work. What makes me really confused is that the  
command rails newapp works. Any ideas??? Oh I’m running ruby 1.8.7
