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

0 views
Skip to first unread message

Human Dunnil

unread,
Aug 28, 2006, 9:35:25 AM8/28/06
to rubyonra...@googlegroups.com
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

Beate Paland

unread,
Aug 28, 2006, 9:37:44 AM8/28/06
to rubyonra...@googlegroups.com
Hi Human,

2006/8/28, Human Dunnil <h.du...@gmail.com>:

> 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:
http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger

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

Beate

Isak Hansen

unread,
Aug 28, 2006, 10:45:12 AM8/28/06
to rubyonra...@googlegroups.com
On 8/28/06, Human Dunnil <h.du...@gmail.com> wrote:
>
> 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?
>

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

Tino Breddin

unread,
Aug 28, 2006, 11:04:36 AM8/28/06
to rubyonra...@googlegroups.com
Hello Human,

Try this one:
http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger

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


Daniel Jilg

unread,
Aug 28, 2006, 11:16:19 AM8/28/06
to rubyonra...@googlegroups.com
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...)

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

Bill

unread,
Aug 28, 2006, 11:32:16 AM8/28/06
to rubyonra...@googlegroups.com

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

koloa

unread,
Aug 28, 2006, 11:44:16 AM8/28/06
to rubyonra...@googlegroups.com
i seconded the hivelogic tutorial. if i can do it, anybody can!

Jordan McKible

unread,
Aug 28, 2006, 11:45:35 AM8/28/06
to rubyonra...@googlegroups.com
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.

jeanp...@gmail.com

unread,
Aug 28, 2006, 2:20:40 PM8/28/06
to rubyonra...@googlegroups.com
On 8/28/06, Human Dunnil <h.du...@gmail.com> 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

Human Dunnil

unread,
Aug 29, 2006, 4:58:02 PM8/29/06
to rubyonra...@googlegroups.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

Josh Knowles

unread,
Aug 29, 2006, 5:17:40 PM8/29/06
to rubyonra...@googlegroups.com
On 8/29/06, Human Dunnil <h.du...@gmail.com> 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 Knowles
joshk...@gmail.com
http://joshknowles.com
Reply all
Reply to author
Forward
0 new messages