Ruby on Mac OS X

  • Thread starter Vassilis Rizopoulos
  • Start date
V

Vassilis Rizopoulos

Looking for pointers to installation guides for Ruby on Mac OS X.
Just switched from the PC (I have my first working week behind me :) )
and I don't want to go back.
I played around with the apple installed 1.8.2, but obviously it's not
enough and I remember seeing some posts about bugs and problems.
So, Mac OS X newbie asks for help.
Oh, I have no fear of gcc and compiling my own stuff. Just a few tips on
the pitfalls of Mac OS X would be nice.
Thanks in advance,
V.-
 
A

Andy Lester

Looking for pointers to installation guides for Ruby on Mac OS X.
Just switched from the PC (I have my first working week behind
me :) ) and I don't want to go back.
I played around with the apple installed 1.8.2, but obviously it's
not enough and I remember seeing some posts about bugs and problems.
So, Mac OS X newbie asks for help.
Oh, I have no fear of gcc and compiling my own stuff. Just a few
tips on the pitfalls of Mac OS X would be nice.

I would (and do) use macports at http://www.macports.org/. Then it's
just

$ sudo ports install ruby
$ sudo ports install gem
etc
 
E

eoghan

Looking for pointers to installation guides for Ruby on Mac OS X.
Just switched from the PC (I have my first working week behind
me :) ) and I don't want to go back.
I played around with the apple installed 1.8.2, but obviously it's
not enough and I remember seeing some posts about bugs and problems.
So, Mac OS X newbie asks for help.
Oh, I have no fear of gcc and compiling my own stuff. Just a few
tips on the pitfalls of Mac OS X would be nice.
Thanks in advance,
V.-

Hi
Have a look at the macports site: http://www.macports.org/
Installation instructions in the wiki... works well in my
experience... hope that helps...
Eoghan
 
G

Giles Bowkett

Like everybody said, it's all about MacPorts. download it, install it,
and then it's just

% sudo ports install ruby
% sudo ports install gem

and you're good.
 
P

Philip Hallstrom

If you don't want to use macports, hivelogic.com posted a guide to
installing ruby, rails, mysql by downloading source and installing. Here's a
link:

http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger

And here's an updated version of that... mostly it's just my notes from
when I did it and passed it on to collegues to get to the same point, but
some of the software versions are newer and it includes things like image
magick, memcache (with a hack to make it not unusuably slow), and
mongrel...

http://blog.pjkh.com/2007/1/15/building-rails-and-all-its-friends-on-osx

-philip
 
M

matt neuburg

Vassilis Rizopoulos said:
Looking for pointers to installation guides for Ruby on Mac OS X.
Just switched from the PC (I have my first working week behind me :) )
and I don't want to go back.
I played around with the apple installed 1.8.2, but obviously it's not
enough and I remember seeing some posts about bugs and problems.
So, Mac OS X newbie asks for help.
Oh, I have no fear of gcc and compiling my own stuff. Just a few tips on
the pitfalls of Mac OS X would be nice.

I installed 1.8.5 on Tiger easily without using MacPorts or anything
like that. I installed readline first, as explained here:

<http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tige
r>

m.
 
R

Ryan Eibling

Vassilis said:
Looking for pointers to installation guides for Ruby on Mac OS X.
Just switched from the PC (I have my first working week behind me :) )
and I don't want to go back.
...

I'm a Mac n00b who needed the same advice. First I found Fink but that
didn't work out so well. It didn't create a symbolic link to the new
version of Ruby, which was named "ruby18" after installing from source
(no up-to-date binary was available), it didn't provide a new irb so the
old irb still used the old ruby, etc, etc. I was ready to follow that
hivelogic article everybody's been mentioning but thankfully I've been
spared the hassle by this: http://tinyurl.com/ysaf3n . It's a script
that does all that stuff for you, with a few modifications (ruby 1.8.5,
mongrel).
 
G

Giles Bowkett

Honestly, if the hivelogic thing works for you, that's awesome, but I
had such a messy experience trying to use that thing -- in part due to
zero experience with C compilation -- that I consider that entire
domain blacklisted. Using that guide was a nightmare for me, and the
MacPorts solution was totally effortless. Just my two cents.
 
D

Drew Olson

Giles said:
Honestly, if the hivelogic thing works for you, that's awesome, but I
had such a messy experience trying to use that thing -- in part due to
zero experience with C compilation -- that I consider that entire
domain blacklisted. Using that guide was a nightmare for me, and the
MacPorts solution was totally effortless. Just my two cents.

I completely agree. The key here is that using MacPorts gives you a
sandbox to install into without completely screwing up your environment.
MacPorts is easier and MUCH safer in my opinion.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,982
Messages
2,570,186
Members
46,744
Latest member
CortneyMcK

Latest Threads

Top