What's the best way to install ruby/rails on Mac OS X?

Hello folks,

I’ve newly bought a Mac and am new to it. I want to install Ruby on
Rails on it (Ruby, Rails, SVN, Apache, MySQL, …) but I’m not sure
which way is the best.

Should I go for Fink? OpenDarwin? Or just install them directly on mac.

What about something in Fink, something in OpenDarwin and something
directly?

I’m a bit confused, may you please give me a clue on how to prepare my
mac for coding?

Thanks in advance,

  • Dunnil

Hi Human,

2006/8/28, Human D. [email protected]:

I’ve newly bought a Mac and am new to it. I want to install Ruby on
Rails on it (Ruby, Rails, SVN, Apache, MySQL, …) but I’m not sure
which way is the best.

Should I go for Fink? OpenDarwin? Or just install them directly on mac.

Try this one:

lasts a little, but works like a charm.
If you just want to try out rails, use Locomotive.

Beate

On 8/28/06, Human D. [email protected] wrote:

Using opendarwin (now macports) here, and it’s working great.

I’m new to macs and never tried fink, but afaik port is the the
standard package manager on freebsd, thus probably not a bad choice.
It has subversion, apache 2.2.2, ruby, rubygems, postgres and anything
else i’ve needed.

Followed the recipe on
http://www.nshb.net/install-ruby-and-rails-on-mac-intel . (stopped
after installing postgres. don’t want/need fcgi/lighty/mysql/apache on
my dev box.)

Isak

If you are in a hurry, you can also use Locomotive:

http://locomotive.raaum.org/

which is as easily installed as any other OSX app and also doesnt change
your system in any way (not that permanently installing ruby would be a
bad thing ^^)

Now you only need Mysql, get the OSX package from mysql.com

The only real downside with this is, imo, that you dont nearly learn as
much as when you install RoR manually.

bye
Daniel

(whose apostrophe key just stopped working, sorry for that…)

Tino B. wrote:

Hello Human,

Try this one:

Dan Benjamin

lasts a little, but works like a charm.
If you just want to try out rails, use Locomotive.

Beate

I can totally agree with Beate. That article helped a lot when i started
with RoR.

Tino

I just followed the article for a second time (got a new MBP!). Two
small tips. Consider using MySQL version 5. Also, you need to use
update the PATH twice. Consider doing it just once by following the
instructions at the end. If you update it twice, you will need to issue
the command to update the path in your active terminal session twice.

Bill

Hello Human,

Try this one:

Dan Benjamin

lasts a little, but works like a charm.
If you just want to try out rails, use Locomotive.

Beate

I can totally agree with Beate. That article helped a lot when i started
with RoR.

Tino

i seconded the hivelogic tutorial. if i can do it, anybody can!

On 8/28/06, Human D. [email protected] wrote:

I’ve newly bought a Mac and am new to it. I want to install Ruby on
Rails on it (Ruby, Rails, SVN, Apache, MySQL, …) but I’m not sure
which way is the best.
[…]

historically i have followed james duncan davidson’s article
“Sandboxing Rails with Darwin Ports” :
http://duncandavidson.com/essay/2006/04/portsandbox

james also offers some commentary on installing via package management
vs. by-hand.

the topic in general has been discussed a gazallion times on the (old)
list before, it might be wise to search the archives and see what you
can scare up.

regards,
jean-pierre

Here’s a guide I wrote (heavily influenced by the hivelogic one).
http://blog.tuples.us/?page_id=7

You’ll only need the first part. The second part is for deploying to
textdrive.

I really don’t like fink, opendarwin, or anything like that. This guide
installs everything you need without those tools.

On 8/29/06, Human D. [email protected] wrote:

I got my answer, but I like to know is it possible to have for example
Ruby installed directly, MySQL from OpenDarwin and Apache from Fink?
Can they work together seamlessly? Or if I chose one, I should go only
with that?

Just pick one and go with it, I see no reason why you would need to use
all
3. In fact you lose the whole advantage of letting a package-mgmt
system
run dependencie management for you when you start picking and choosing
like
that.

Josh


Josh K.
[email protected]
http://joshknowles.com

Thank you all guys.

I got my answer, but I like to know is it possible to have for example
Ruby installed directly, MySQL from OpenDarwin and Apache from Fink?
Can they work together seamlessly? Or if I chose one, I should go only
with that?

Thanks,

  • Dunnil