Which Ubuntu version is recommended for Rails 3?

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

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.
https://github.com/joshfng/railsready

On Thu, Jun 23, 2011 at 8:17 PM, Sebastian

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.

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.

Rails 3 and Ubuntu 11.04 and Mysql:
http://cicolink.blogspot.com/2011/06/how-to-install-ruby-on-rails-3-with.html

Rails 3 and Ubuntu 11.04 and SQlite3:
http://cicolink.blogspot.com/2010/10/how-to-install-ruby-rails-and.html

[email protected] 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?

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.

On 6/23/11 11:31 PM, “Sebastian” [email protected] wrote:

On 24 Jun., 01:47, Manuele D. [email protected] wrote:

Rails 3 and Ubuntu 11.04 and

Mysql:http://cicolink.blogspot.com/2011/06/how-to-install-ruby-on-rails-3-w…>>
.

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, “[email protected][email protected]

On a server - No, rvm is not required

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

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.

On Fri, Jun 24, 2011 at 4:38 AM, Sebastian

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.
On 24 Jun 2011 07:31, “Sebastian” [email protected]
wrote:

On 24 Jun., 01:47, Manuele D. [email protected] wrote:

Rails 3 and Ubuntu 11.04 and Mysql:
http://cicolink.blogspot.com/2011/06/how-to-install-ruby-on-rails-3-w

Rails 3 and Ubuntu 11.04 and SQlite3:
http://cicolink.blogspot.com/2010/10/how-to-install-ruby-rails-and.html


You received this message because you are subscribed to the Google G.
“Ruby on Rails: Talk” group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.

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.

Em 24/6/2011 13:20, Paul escreveu:

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