Installing Ruby 1.9.1 on Snow Leopard

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
Installing Ruby from source to: /Users/martine/.rvm/ruby-1.9.1-p376

Extracting ruby-1.9.1-p376 …
Configuring ruby-1.9.1-p376, this may take a while depending on your
cpu(s)…

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

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!

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 Martine wrote:

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
Installing Ruby from source to: /Users/martine/.rvm/ruby-1.9.1-p376

Extracting ruby-1.9.1-p376 …
Configuring ruby-1.9.1-p376, this may take a while depending on your
cpu(s)…

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

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!

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs