Good Linux distro for Ror

Hi All,

I am very new to rails but am a relatively savvy linux user. My question
is
regards to a good linux distribution that works well with most rails. I
am
currently running ubuntu which works ok but just ok, there are a few
things
that could work better. One being the script/console and although I was
able
to install the mysql binding it was a painful process. So one does
anyone
know how to fix the script/console issue in ubuntu? or is there anyone
out
there using other distros which work well with ror.

Thanks,
Baldur

Baldur G. wrote:

I am very new to rails but am a relatively savvy linux user. My question is
regards to a good linux distribution that works well with most rails. I am
currently running ubuntu which works ok but just ok, there are a few things
that could work better. One being the script/console and although I was able
to install the mysql binding it was a painful process. So one does anyone
know how to fix the script/console issue in ubuntu? or is there anyone out
there using other distros which work well with ror.

Ive had great painless installations with Gentoo.

I use Slackware Linux - current
with radrails/mysql/apache/mysql-tools
ready to go :slight_smile:

Baldur G. wrote:

Hi All,

I am very new to rails but am a relatively savvy linux user. My question
is
regards to a good linux distribution that works well with most rails. I
am
currently running ubuntu which works ok but just ok, there are a few
things
that could work better. One being the script/console and although I was
able
to install the mysql binding it was a painful process. So one does
anyone
know how to fix the script/console issue in ubuntu? or is there anyone
out
there using other distros which work well with ror.

Thanks,
Baldur

On Jan 10, 2007, at 6:09 PM, Eno wrote:

that could work better. One being the script/console and although
I was able
to install the mysql binding it was a painful process. So one does
anyone
know how to fix the script/console issue in ubuntu? or is there
anyone out
there using other distros which work well with ror.

Ive had great painless installations with Gentoo.

Gentoo++

– Ezra Z.
– Lead Rails Evangelist
[email protected]
– Engine Y., Serious Rails Hosting
– (866) 518-YARD (9273)

Debian Etch…although I will say Sarge was killing me for awhile
with
its lag for getting things up to speed with Mongrel. Etch solved all my
problems.

On 1/10/07, Edx E. [email protected] wrote:

is
there using other distros which work well with ror.

Thanks,
Baldur


Posted via http://www.ruby-forum.com/.

seth at subimage interactive

http://www.subimage.com
http://sublog.subimage.com

http://dev.subimage.com/projects/substruct

Those with strong opinions about particular distros, could you briefly
elaborate as to why they think is better? (i’d particularly like to
listen to Ezra’s view on Gentoo)

Thanks,
Sergio B.

Baldur G. wrote:

Hi All,

I am very new to rails but am a relatively savvy linux user. My question
is
regards to a good linux distribution that works well with most rails. I
am
currently running ubuntu which works ok but just ok, there are a few
things
that could work better. One being the script/console and although I was
able
to install the mysql binding it was a painful process. So one does
anyone
know how to fix the script/console issue in ubuntu? or is there anyone
out
there using other distros which work well with ror.

Thanks,
Baldur

Ubunutu looks great when combined with deprec like this:
http://topfunky.com/clients/peepcode/free-episodes/peepcode-free-deprec.mov.
Not sure if that will help with MySQL however.

I like SuSE (mainly for historical reasons) and dislike Redhat (that may
start a religious war, but see below for my “get out of jail free
card”). Debian looks good but I never have had the time to check it
out.

Choosing a distribution is as much a personal choice as a technical one
as everyone has different tastes and opinions. In the end it does not
matter too much, just choose the one that makes you most happy.

I am using ubuntu Edgy Eft 6.10, as a development workstation. I managed
to
solve the mysql issue which was fairly well documented but the console
thing
I had a harder time locating the issue. But any pointers in regards to
those
two things would be greatly appreciated, especially the console thing.
See
errors I get when I try to run it. Any help is be appreciated.
b

baldur@baldur-laptop:~/ror_project$ script/console
Loading development environment.
/usr/local/lib/ruby/1.8/irb/completion.rb:10:in require': no such file to load -- readline (LoadError) from /usr/local/lib/ruby/1.8/irb/completion.rb:10 from /usr/local/lib/ruby/1.8/irb/init.rb:252:inrequire’
from /usr/local/lib/ruby/1.8/irb/init.rb:252:in load_modules' from /usr/local/lib/ruby/1.8/irb/init.rb:250:ineach’
from /usr/local/lib/ruby/1.8/irb/init.rb:250:in load_modules' from /usr/local/lib/ruby/1.8/irb/init.rb:21:insetup’
from /usr/local/lib/ruby/1.8/irb.rb:54:in `start’
from /usr/local/bin/irb:13

What exactly were the issues you have had with ‘script/console’ or
MySQL? are you using ubuntu as a development environment or a
production server? I’ve used Ruby/Rails on Ubuntu 6.06 LTS (Dapper) and
6.10 (Edgy) without any real issues. I’ve found Ubuntu to be very easy
to use, plus the user community is quite large and very helpful for
those edge cases when something doesn’t ‘just work’. But that’s not to
say that it’s perfect for everyone. Anyway, let us know what issues
you’ve had and perhaps one of us could help straighten out what issues
you’re having with ubuntu/ror.

j-s

On Jan 10, 8:28 pm, “Baldur G.”

Asking “what’s the best…” type questions will get you nothing more
than people’s opinions. What one person likes another hates.

Rails isn’t going to care what distribution of linux you are running.
It’s really just a matter of personal taste and comfort level although
package availability can play a part. I seriously doubt that any of
the major distributions have any issues getting Ruby/Rails up and
running.

If you are new to linux in general, I would most likely say that
Ubuntu is probably the best choice as was already said, with openSUSE
and Fedora being next, and Debian/Gentoo being last. Not that Debian
or Gentoo are bad or anything, just that there is more involved in
running those distributions and I wouldn’t recommend them to those new
(or fairly new) to linux.

Chris

Baldur G. wrote:

load – readline (LoadError)
from /usr/local/lib/ruby/1.8/irb/completion.rb:10
from /usr/local/lib/ruby/1.8/irb/init.rb:252:in require' from /usr/local/lib/ruby/1.8/irb/init.rb:252:inload_modules’
from /usr/local/lib/ruby/1.8/irb/init.rb:250:in each' from /usr/local/lib/ruby/1.8/irb/init.rb:250:inload_modules’
from /usr/local/lib/ruby/1.8/irb/init.rb:21:in setup' from /usr/local/lib/ruby/1.8/irb.rb:54:instart’
from /usr/local/bin/irb:13

I fixed this problem by making the ext libraries static (commenting
everything out in ext/Setup). This assumes you are compiling Ruby from
scratch. This is on Ubuntu 6.06 server. I have the Ubuntu readline
packages installed but that didn’t seem to help when I originally built
Ruby.


Michael W.

On 1/11/07, Baldur G. [email protected] wrote:

Hi All,

I am very new to rails but am a relatively savvy linux user. My question is
regards to a good linux distribution that works well with most rails.

Anyone running FreeBSD 6.2 yet?

Isak

Baldur:

I am using ubuntu Edgy Eft 6.10, as a development workstation. I
managed to solve the mysql issue which was fairly well documented
but the console thing I had a harder time locating the issue. But any
pointers in regards to those two things would be greatly appreciated,
especially the console thing. See
errors I get when I try to run it. Any help is be appreciated.

(read the “Fixing Ubuntu Console readline problem” paragraph)

– Jean-François.


À la renverse.

and what about gentoo versus debian? where stability and comfortable to
update (not only one server, but a lot) are important ?
i think that gentoo is harder than debian to get the same stability,
what do you think ?

I’m planning to migrate to FreeBSD soon as a RoR development platform
… ^^
Anyone on FreeBSD with RoR ?

Isak H. wrote:

On 1/11/07, Baldur G. [email protected] wrote:

Hi All,

I am very new to rails but am a relatively savvy linux user. My question is
regards to a good linux distribution that works well with most rails.

Anyone running FreeBSD 6.2 yet?

Isak

I’ve been writing a RoR apps on ubuntu Dapper Drake for 6 months with no
problems(I’ve never heard of or encountered any mysql or readline or
script/console problems). I followed the installation instructions with
checkinstall here:

I hope this will work for you.

Gentoo => no problems installing anything related to ROR and all is
working with no effor

I am currently running a vanilla mephisto on OpenBSD and will shortly
deploy my Rails app on another OpenBSD box. works like a charm and
spins like a cat and is easy to install.

My fellow partner installed on ubuntu on his pc-laptop but that OS came
with a useless default screen resolution (~15" wide) and could not
connect to our open wireless office network and so it had to go (I’ll
get him a proper Mac once i get rich!)

I scribbled the process of installation down at →
http://84.55.110.163/2007/1/8/mephisto-on-openbsd-in-60minutes

work hard, play hard!
love/j =)

I use Edgy without problems. As far as I know the problem you have was
back with the Breezy version of Ubuntu.

Anyway, this page talks about your problem with a solution:

there is no such thing as a good distro for RoR, there are good distro
for You though.
If you know little about linux, then go for mandriva or opensuse.
Otherwise there is debian, ubuntu, gentoo etc… they’re all good.
My advice is, take the one you’re most confortable with