Linux and Ruby on Rails

Hi.

Can anybody help me in my question. Which distributions of Linux
contain Ruby on Rails 2.0 or higher?

Art Spasky wrote:

Hi.

Can anybody help me in my question. Which distributions of Linux
contain Ruby on Rails 2.0 or higher?

I'm sure all the modern distros contain the latest version of Ruby in their respective repositories, so pick your favorite and install *Ruby* the usual way. Then, the best way to install Rails on Linux is to follow the directions on rubyonrails.org/down , starting with the part for installing RubyGems. I recommend *not* installing Rails through your distro's repositories, even if it's there... this is *especially* true with Ubuntu.

sorry don't know
but where's the problem with taking the distribution you like most and
then just install Ruby and Rails?
i think there are more important questions about a linux distribution
then the software it contains. Sooner or later you'll have to update it
anyway, or install plugins and gems.

Art Spasky wrote:

Can anybody help me in my question. Which distributions of Linux
contain Ruby on Rails 2.0 or higher?

Closing what others have opened:

Rails updates more often than Linux distros, so you can't just rely on your distro's gems, if any. Part of learning Rails is learning to keep track of its versions, so you may as well start that now!

Art,
There is a political conflict betweent the Linux distros and Ruby's
prefered way of using GEMS. Won't happen.
Kathleen

Gentoo GNU/Linux always have the latests.

KathysKode@gmail.com wrote:

Yeah, and on Gentoo you have to compile EVERYTHING you want to install.

Try out Ubuntu.

Ryan Bigg (Radar) wrote:

Yeah, and on Gentoo you have to compile EVERYTHING you want to install.

I didn't know that Gentoo had a Ruby compiler... Could you give us pointers to the one Gentoo can use to compile Rails ? I missed it.

And btw, Gentoo indeed have most important gems and even supports installing both Rails 1.2.6 and 2.0.2 at the same time, the same way you would have them with rubygems but integrated in the package management system. In case a gem is missing it's so easy to wrap a gem in Portage that you could do it drunk with an arm strapped to your back in a minute.

Try out Ubuntu.

:slight_smile: I did... Nice for many things (and I sell solutions based both on Ubuntu and Gentoo so I *really* use both distributions), but not for Ruby work last time I checked (1 year ago).

Lionel

Ryan Bigg (Radar) wrote:

Yeah, and on Gentoo you have to compile EVERYTHING you want to install.

Try out Ubuntu.

thats the good thing of it, whats wrong with compiling vs compiling with gem?
emerge app
gem -i app

No I didn’t mean that it used a ruby compiler. I mean that when you do "emerge ", it downloads the source and then installs it. It’s extremely annoying having to wait overnight for X to install, where Ubuntu already has this (and much more!) installed.

Not that there's anything wrong with it.

The default install is with binary packages but you get to build a few
things to complete. System updates involve rebuilds (which IMHO is a good
thing - you get updates faster and no obscure linkage errors because you
rebuilt and relinked).