Which Ubuntu version is recommended for Rails 3?

30 views
Skip to first unread message

Sebastian

unread,
Jun 23, 2011, 10:47:45 AM6/23/11
to Ruby on Rails: Talk
Hi,

I have developed a little tool on my windows desktop. Now I want to
move that to a linux server. Probably Ubuntu is the favored, or?

Which ubuntu version is the best for Rails 3 with Ruby 1.9.2?

I found a lot of installing guides for old Ruby and Rails versions,
but only one for Rails 3 and Ruby 1.9.2 with Ubuntu 10.4. Would you
recommend that or use an older ubuntu version?

Found here: http://toranbillups.com/blog/archive/2010/09/01/How-to-install-Rails-3.0-and-Ruby-1.9.2-on-Ubuntu

Cheers,
Sebastian

Dheeraj Kumar

unread,
Jun 23, 2011, 10:51:45 AM6/23/11
to rubyonra...@googlegroups.com
Any ubuntu will do - You can use the latest 11.04 or 10.10 or whatever.

Just run railsready script and you're good to go on a fresh linux install.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonra...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-ta...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.


exels...@gmail.com

unread,
Jun 23, 2011, 10:52:57 AM6/23/11
to rubyonra...@googlegroups.com
You can't go far with any of them, but Ubuntu 10.4 seems to be a popular
default with many rails vps vendors.

The most prevalent mix seems to be rvm, ruby 1.9.2, rails 3 and mysql or
postgres.

Chirag Singhal

unread,
Jun 23, 2011, 10:56:07 AM6/23/11
to rubyonra...@googlegroups.com
Any Ubuntu version would do.
On a production server you should probably stick to LTS releases, which is 10.04
On a development machine you can use the latest release, which is 11.04
Also, on a dev machine it would be better to use RVM (https://rvm.beginrescueend.com/) to install and manage your ruby versions.
It gives you tremendous flexibility on what Ruby and Rails versions you can use, and makes it trivial to discard any problematic ruby/rails installations you have had.

Manuele Dones

unread,
Jun 23, 2011, 7:47:17 PM6/23/11
to rubyonra...@googlegroups.com

Sebastian

unread,
Jun 24, 2011, 2:31:33 AM6/24/11
to Ruby on Rails: Talk
excel...@gmail.com wrote:

"You can't go far with any of them, but Ubuntu 10.4 seems to be a
popular
default with many rails vps vendors."

What do you mean with that? Is ubuntu not a good choice at all?



On 24 Jun., 01:47, Manuele Dones <manueledo...@gmail.com> wrote:
> Rails 3 and Ubuntu 11.04 and Mysql:http://cicolink.blogspot.com/2011/06/how-to-install-ruby-on-rails-3-w...

exels...@gmail.com

unread,
Jun 24, 2011, 2:44:35 AM6/24/11
to rubyonra...@googlegroups.com
Its a typo, I meant you can't go far wrong with either of them, but from
what I've seen with a lot of vps vendors, Ubuntu 10.4 is usually the
default, although you can switch to other versions newer or older.

These are the instructions I followed to get a good deployment on 10.4, they
start you with rvm so you can easily play with diff versions of
ruby/rails/gems:

http://www.web2linux.com/05/installing-rails-3-on-ubuntu-10-04-lucid-lynx/

After it you can go to:

http://modrails.com/install.html

and install Passenger and then the gem module for either apache or nginx.

During setup it will give you the option to let the module setup the
webserver with correct settings for passenger included.

Sebastian

unread,
Jun 24, 2011, 4:38:03 AM6/24/11
to Ruby on Rails: Talk
Thank you for clarification!!!

One last question:

I think I don't need to play around with different Ruby or Rails
version. I need Rails 3 with Ruby 1.9.2. So do I really need rvm?

I want to use sqlite3 as database. Is there any recommendation for the
web server: Apache or nginx?

Thanks at all,
Sebastian


On 24 Jun., 08:44, "exelstu...@gmail.com" <exelstu...@gmail.com>
wrote:
> Its a typo, I meant you can't go far wrong with either of them, but from
> what I've seen with a lot of vps vendors, Ubuntu 10.4 is usually the
> default, although you can switch to other versions newer or older.
>
> These are the instructions I followed to get a good deployment on 10.4, they
> start you with rvm so you can easily play with diff versions of
> ruby/rails/gems:
>
> http://www.web2linux.com/05/installing-rails-3-on-ubuntu-10-04-lucid-...
>
> After it you can go to:
>
> http://modrails.com/install.html
>
> and install Passenger and then the gem module for either apache or nginx.
>
> During setup it will give you the option to let the module setup the
> webserver with correct settings for passenger included.
>
> On 6/23/11 11:31 PM, "Sebastian" <sebastian.go...@googlemail.com> wrote:

Chirag Singhal

unread,
Jun 24, 2011, 4:46:59 AM6/24/11
to rubyonra...@googlegroups.com
On a server - No, rvm is not required

In my experience, Nginx is faster, but Apache is much easier to setup and get going.

Rafal Zdziech

unread,
Jun 24, 2011, 2:52:13 AM6/24/11
to rubyonra...@googlegroups.com

I personally prefers linux backtrack for development and gnome env and him as e editor .  Last version is based on Ubuntu. At the end of the day it doesn't make any difference which Linux you use as long as you know what are you doing.

Paul

unread,
Jun 24, 2011, 12:20:34 PM6/24/11
to rubyonra...@googlegroups.com
You don't *need* RVM, but it makes life easier. It is an easy way to
install Ruby 1.9.2p180 to start with. Then, when a new version of Ruby
comes out, it will make it trivial to upgrade.

VitorHP

unread,
Jun 24, 2011, 12:30:25 PM6/24/11
to rubyonra...@googlegroups.com
U should really consider on taking RVM.

When a newer Ruby version come out, you'll be able to maintain your
projects with their current version and also install the new version
along with the current version you're using.

Makes life a lot easier and it's not difficult to install.

Norm Scherer

unread,
Jun 24, 2011, 9:53:57 PM6/24/11
to rubyonra...@googlegroups.com
If you want to keep up with the latest versions of ruby and rails rvm
will simplify life. If however you want to settle on a version and
spend your time developing your application you can just skip rvm.

YMMV
Norm

Reply all
Reply to author
Forward
0 new messages