Good Linux distro for Ror

2 views
Skip to first unread message

Baldur Gudbjornsson

unread,
Jan 10, 2007, 8:28:55 PM1/10/07
to rubyonra...@googlegroups.com
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

Andrew Skegg

unread,
Jan 10, 2007, 8:50:45 PM1/10/07
to rubyonra...@googlegroups.com

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.

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

Eno

unread,
Jan 10, 2007, 9:09:46 PM1/10/07
to Ruby on Rails: Talk

Baldur Gudbjornsson wrote:

Ive had great painless installations with Gentoo.


--

Ezra Zygmuntowicz

unread,
Jan 10, 2007, 9:44:30 PM1/10/07
to rubyonra...@googlegroups.com


Gentoo++


-- Ezra Zygmuntowicz
-- Lead Rails Evangelist
-- e...@engineyard.com
-- Engine Yard, Serious Rails Hosting
-- (866) 518-YARD (9273)


Edx Erx

unread,
Jan 10, 2007, 10:57:15 PM1/10/07
to rubyonra...@googlegroups.com
I use Slackware Linux - current
with radrails/mysql/apache/mysql-tools
ready to go :)

subimage interactive

unread,
Jan 10, 2007, 11:46:16 PM1/10/07
to rubyonra...@googlegroups.com
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.
--
--------------------
seth at subimage interactive
-----
http://www.subimage.com
http://sublog.subimage.com
-----
http://www.getcashboard.com
http://dev.subimage.com/projects/substruct

Sergio Bayona

unread,
Jan 11, 2007, 12:56:52 AM1/11/07
to rubyonra...@googlegroups.com
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 Bayona

John-Scott

unread,
Jan 11, 2007, 3:43:08 AM1/11/07
to Ruby on Rails: Talk
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 Gudbjornsson"

Baldur Gudbjornsson

unread,
Jan 11, 2007, 6:50:14 AM1/11/07
to rubyonra...@googlegroups.com
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:in `require'
        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:in `each'
        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:in `setup'
        from /usr/local/lib/ruby/1.8/irb.rb:54:in `start'
        from /usr/local/bin/irb:13

Chris Hall

unread,
Jan 11, 2007, 6:55:10 AM1/11/07
to rubyonra...@googlegroups.com
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

On 1/11/07, John-Scott <john.scot...@gmail.com> wrote:
>

Michael Wang

unread,
Jan 11, 2007, 7:16:56 AM1/11/07
to rubyonra...@googlegroups.com
Baldur Gudbjornsson wrote:
> 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:in `require'
> 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:in `each'
> 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:in `setup'
> from /usr/local/lib/ruby/1.8/irb.rb:54:in `start'
> 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 Wang

Isak Hansen

unread,
Jan 11, 2007, 7:45:31 AM1/11/07
to rubyonra...@googlegroups.com
On 1/11/07, Baldur Gudbjornsson <baldur.gu...@gmail.com> 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

Jean-François

unread,
Jan 11, 2007, 8:07:31 AM1/11/07
to rubyonra...@googlegroups.com
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.

http://www.ubuntuforums.org/showthread.php?t=169891
(read the "Fixing Ubuntu Console readline problem" paragraph)

-- Jean-François.

--
À la renverse.

Eno

unread,
Jan 11, 2007, 10:57:04 AM1/11/07
to Ruby on Rails: Talk

Sergio Bayona wrote:

> 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)

My reasons:

a) Its a fairly minimal distro so you install only what you need.

b) Updates are very fast compared to Debian, RH, Ubuntu, et al.

c) Its very easy to customize packages - the package system is
briiliant.

Jacob Atzen

unread,
Jan 11, 2007, 12:55:22 PM1/11/07
to rubyonra...@googlegroups.com

That would be kind'a hard since it's not out yet ;-) But I will be once
it is released. Not that it should matter much in regard to Rails.

--
Cheers,
- Jacob Atzen

mix

unread,
Jan 11, 2007, 3:37:12 PM1/11/07
to rubyonra...@googlegroups.com
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 ?

Edx Erx

unread,
Jan 11, 2007, 8:02:16 PM1/11/07
to rubyonra...@googlegroups.com
I'm planning to migrate to FreeBSD soon as a RoR development platform
... ^^
Anyone on FreeBSD with RoR ?

Patrick Aljord

unread,
Jan 11, 2007, 8:38:11 PM1/11/07
to rubyonra...@googlegroups.com
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

donut donut

unread,
Jan 11, 2007, 10:09:00 PM1/11/07
to rubyonra...@googlegroups.com
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:
http://www.ubuntuforums.org/showpost.php?p=1159106&postcount=4

I hope this will work for you.

Gregory Seidman

unread,
Jan 12, 2007, 10:26:52 AM1/12/07
to rubyonra...@googlegroups.com
On Thu, Jan 11, 2007 at 09:37:12PM +0100, mix wrote:
> 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 ?

Are you trying to start a flame war? Here, have some gasoline for that fire:
http://funroll-loops.org/

Actually, the site appears to be down at the moment. Oh, well. You can find
the Google cached page if you care.

--Greg

Eno

unread,
Jan 12, 2007, 2:33:47 PM1/12/07
to Ruby on Rails: Talk
mix wrote:

> 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 worked for almost 4.5 years as a systems administrator for an ISP in
New York and I ran Gentoo on almost all of our Unix boxes. Its rock
solid, so I dont know what you mean. And updates are much faster and
easier than any other non-commercial distro out there since Gentoo
packages operate at the source code level (no waiting for binary
package and backporting nonsense - just build it already).

Helder Oliveira

unread,
Jan 12, 2007, 2:37:46 PM1/12/07
to rubyonra...@googlegroups.com
Gentoo => no problems installing anything related to ROR and all is
working with no effor

jens.t...@gmail.com

unread,
Jan 16, 2007, 4:45:30 AM1/16/07
to Ruby on Rails: Talk
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 =)

> ------=_Part_17224_15554463.1168478935540
> Content-Type: text/html; charset=ISO-8859-1
> X-Google-AttachSize: 555
>
> Hi All,<br><br>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.
> <br><br>Thanks,<br>Baldur<br><br>
>
> ------=_Part_17224_15554463.1168478935540--

Martin DeMello

unread,
Jan 16, 2007, 8:50:21 AM1/16/07
to rubyonra...@googlegroups.com
On 1/13/07, Eno <sym...@gmail.com> wrote:
>
> I worked for almost 4.5 years as a systems administrator for an ISP in
> New York and I ran Gentoo on almost all of our Unix boxes. Its rock
> solid, so I dont know what you mean. And updates are much faster and
> easier than any other non-commercial distro out there since Gentoo
> packages operate at the source code level (no waiting for binary
> package and backporting nonsense - just build it already).

+1

our startup went with gentoo at the recommendation of our sysadmin,
and it was such a wonderful user experience that I switched my home
machine from fedora to gentoo too.

martin

Joshua Bates

unread,
Jan 16, 2007, 2:20:38 PM1/16/07
to rubyonra...@googlegroups.com
Gentoo++
It's been painless getting the full rails stack up and running quickly,
and we're running 64bit with 4 cores. I'm sure 32bit is even easier.
I've always had to look at some tutorial, or just build from source
to get it running on Debian/Ubuntu, the way their package management
breaks up ruby is annoying.

though...@gmail.com

unread,
Jan 18, 2007, 10:15:28 AM1/18/07
to Ruby on Rails: Talk
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:

http://ubuntuforums.org/showthread.php?t=169891

> ------=_Part_23534_31960412.1168516214845
> Content-Type: text/html; charset=ISO-8859-1
> X-Google-AttachSize: 3187


>
> 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.

> <br>b<br><br>baldur@baldur-laptop:~/ror_project$ script/console<br>Loading development environment.<br>/usr/local/lib/ruby/1.8/irb/completion.rb:10:in `require&#39;: no such file to load -- readline (LoadError)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/local/lib/ruby/1.8/irb/completion.rb:10
> <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/local/lib/ruby/1.8/irb/init.rb:252:in `require&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/local/lib/ruby/1.8/irb/init.rb:252:in `load_modules&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/local/lib/ruby/1.8/irb/init.rb:250:in `each&#39;
> <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/local/lib/ruby/1.8/irb/init.rb:250:in `load_modules&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/local/lib/ruby/1.8/irb/init.rb:21:in `setup&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/local/lib/ruby/1.8/irb.rb:54:in `start&#39;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/local/bin/irb:13
> <br><br><br><div><span class="gmail_quote">On 1/11/07, <b class="gmail_sendername">John-Scott</b> &lt;<a href="mailto:john.scot...@gmail.com">john.scot...@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
> <br>What exactly were the issues you have had with &#39;script/console&#39; or<br>MySQL? are you using ubuntu as a development environment or a<br>production server? I&#39;ve used Ruby/Rails on Ubuntu 6.06 LTS (Dapper) and
> <br>6.10 (Edgy) without any real issues. I&#39;ve found Ubuntu to be very easy<br>to use, plus the user community is quite large and very helpful for<br>those edge cases when something doesn&#39;t &#39;just work&#39;. But that&#39;s not to
> <br>say that it&#39;s perfect for everyone. Anyway, let us know what issues<br>you&#39;ve had and perhaps one of us could help straighten out what issues<br>you&#39;re having with ubuntu/ror.<br><br>j-s<br><br>On Jan 10, 8:28 pm, &quot;Baldur Gudbjornsson&quot;
> <br>&lt;<a href="mailto:baldur.gudbjorns...@gmail.com">baldur.gudbjorns...@gmail.com</a>&gt; wrote:<br>&gt; Hi All,<br>&gt;<br>&gt; I am very new to rails but am a relatively savvy linux user. My question is<br>&gt; regards to a good linux distribution that works well with most rails. I am
> <br>&gt; currently running ubuntu which works ok but just ok, there are a few things<br>&gt; that could work better. One being the script/console and although I was able<br>&gt; to install the mysql binding it was a painful process. So one does anyone
> <br>&gt; know how to fix the script/console issue in ubuntu? or is there anyone out<br>&gt; there using other distros which work well with ror.<br>&gt;<br>&gt; Thanks,<br>&gt; Baldur<br><br><br>
> ------=_Part_23534_31960412.1168516214845--

Reply all
Reply to author
Forward
0 new messages