Ruby on Mac OS X

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 :slight_smile: ) 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.-

路路路

--
http://www.braveworld.net/riva

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

$ sudo ports install ruby
$ sudo ports install gem
etc

路路路

On Jan 15, 2007, at 1:15 PM, Vassilis Rizopoulos wrote:

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 :slight_smile: ) 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.

--
Andy Lester => andy@petdance.com => www.petdance.com => AIM:petdance

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

路路路

On 15 Jan 2007, at 19:15, Vassilis Rizopoulos wrote:

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 :slight_smile: ) 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.-

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

<Dan Benjamin

m.

路路路

Vassilis Rizopoulos <damphyr@freemail.gr> wrote:

--
matt neuburg, phd = matt@tidbits.com, Matt Neuburg鈥檚 Home Page
Tiger - http://www.takecontrolbooks.com/tiger-customizing.html
AppleScript - http://www.amazon.com/gp/product/0596102119
Read TidBITS! It's free and smart. http://www.tidbits.com

Vassilis Rizopoulos wrote:

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 :slight_smile: ) 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).

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.

路路路

--
Giles Bowkett
http://www.gilesgoatboy.org


http://gilesgoatboy.blogspot.com

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.

路路路

On 1/17/07, Ryan Eibling <ryan@nospameibling.net> wrote:

Vassilis Rizopoulos wrote:
> 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 :slight_smile: )
> 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).

--
Giles Bowkett
http://www.gilesgoatboy.org

http://gilesgoatboy.blogspot.com

It didn't create a symbolic link because it wouldn't want to mess with the OS X install of Ruby. Easiest is to do what I did: put /sw/bin on your path before /usr/bin.

Best,
James

路路路

On 2007-01-17 12:50:52 -0500, Ryan Eibling <ryan@NOSPAMeibling.net> said:

Vassilis Rizopoulos wrote:

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 :slight_smile: ) 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.

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

Giles Bowkett wrote:

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.

路路路

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

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