Installing Ruby 1.9.1 on Snow Leopard

M

Mac Martine

Hello,
I'm trying to install Ruby 1.9.1 alongside 1.8.7 on Snow Leopard. I'm
following the instructions here
http://blog.twg.ca/2009/09/livin-on-the-edge-ruby-rails-and-snow-leopard/
but here's where it's failing:

MacBookPro:~ martine$ rvm install 1.9.1
<i> Installing Ruby from source to: /Users/martine/.rvm/ruby-1.9.1-p376
</i>
<i> Extracting ruby-1.9.1-p376 ... </i>
<i> Configuring ruby-1.9.1-p376, this may take a while depending on your
cpu(s)... </i>
<e> Error running './configure
--prefix=/Users/martine/.rvm/ruby-1.9.1-p376 --enable_shared ', please
check /Users/martine/.rvm/log/ruby-1.9.1-p376/configure.error.log </e>

and the log shows:

[2009-12-14 18:41:52] ./configure
--prefix=/Users/martine/.rvm/ruby-1.9.1-p376 --enable_shared
configure: error: unrecognized option: `--enable_shared'
Try `./configure --help' for more information.

Any ideas?
Thanks in advance!
 
S

Skim Skim

This looks like a problem with rvm. Have you tried just building Ruby
1.9 from scratch? I followed these instructions and was pretty
successful:

http://hivelogic.com/articles/compiling-ruby-rubygems-and-rails-on-snow-leopard/


skim

Mac said:
Hello,
I'm trying to install Ruby 1.9.1 alongside 1.8.7 on Snow Leopard. I'm
following the instructions here
http://blog.twg.ca/2009/09/livin-on-the-edge-ruby-rails-and-snow-leopard/
but here's where it's failing:

MacBookPro:~ martine$ rvm install 1.9.1
<i> Installing Ruby from source to: /Users/martine/.rvm/ruby-1.9.1-p376
</i>
<i> Extracting ruby-1.9.1-p376 ... </i>
<i> Configuring ruby-1.9.1-p376, this may take a while depending on your
cpu(s)... </i>
<e> Error running './configure
--prefix=/Users/martine/.rvm/ruby-1.9.1-p376 --enable_shared ', please
check /Users/martine/.rvm/log/ruby-1.9.1-p376/configure.error.log </e>

and the log shows:

[2009-12-14 18:41:52] ./configure
--prefix=/Users/martine/.rvm/ruby-1.9.1-p376 --enable_shared
configure: error: unrecognized option: `--enable_shared'
Try `./configure --help' for more information.

Any ideas?
Thanks in advance!
 
W

Wayne E. Seguin

[Note: parts of this message were removed to make it a legal post.]

That was a temporary (single release) tyop issue
(s/enable_shared/enable-shared/) long since fixed. If you ever have issues
with rvm leave a message in #rvm on irc.

~Wayne
 

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,880
Messages
2,569,944
Members
46,247
Latest member
DominikSta

Latest Threads

Top