Source install of Ruby 2.1.4 on OS X 10.8 hangs

I managed to install Ruby 2.1.2 from source on my OS X 10.8 machine but
2.1.4 hangs with make at:

compiling dmyext.c
linking miniruby

Any ideas?

gvim

hi gvim,
cant answer your particular question, but, i use rbenv on mac os x for
ruby mgt. note, rbenv also does a compile+install process.

$rbenv versions && ruby -v
system
2.1.2
2.1.3

  • 2.1.4 (set by /Users/botp/.ruby-version)
    ruby 2.1.4p265 (2014-10-27 revision 48166) [x86_64-darwin14.0]

best regards --botp

Hello,

  • 2.1.4 (set by /Users/botp/.ruby-version)
    ruby 2.1.4p265 (2014-10-27 revision 48166) [x86_64-darwin14.0]

best regards --botp

I can confirm that ruby 2.1.4 compiles fine under Yosemity using ‘rvm’:

┌─[atma@gauss] - [~/Code/Projects/pritory] - [Τρι Οκτ 28, 09:17]
└─[$] git:(master*) rvm list

rvm rubies

  • ruby-2.1.2 [ x86_64 ]
    => ruby-2.1.4 [ x86_64 ]

=> - current

=* - current && default

* - default

Took about ~ 13 minutes to setup on a MBA i5, 4G, SSD.

Panagiotis (atmosx) Atmatzidis

email: [email protected]
URL: http://www.convalesco.org
GnuPG ID: 0x1A7BFEC5
gpg --keyserver pgp.mit.edu --recv-keys 1A7BFEC5

“As you set out for Ithaca, hope the voyage is a long one, full of
adventure, full of discovery […]” - C. P. Cavafy

On Tue, Oct 28, 2014 at 4:24 PM, Panagiotis A.
[email protected] wrote:

I can confirm that ruby 2.1.4 compiles fine under Yosemity using ‘rvm’:

indeed. rvm runs on my other pc
rvm is nuby friendly too ; - )

kind regards -botp

On 28/10/2014 04:59, botp wrote:

best regards --botp

Sorry, but I have my reasons for not running rvm - mainly the way it
messes with my bash env on OS X. I used to use rbenv but every minor
Ruby version upgrade required a completely new set of gems so not an
option. The reason I install from source is that I don’t need endless
versions of Ruby and if I do end up installing more than one version I
want it using the same $GEM_HOME.

gvim

Gerald Vim wrote in post #1161150:

On 28/10/2014 04:59, botp wrote:

best regards --botp

Sorry, but I have my reasons for not running rvm - mainly the way it
messes with my bash env on OS X. I used to use rbenv but every minor
Ruby version upgrade required a completely new set of gems so not an
option. The reason I install from source is that I don’t need endless
versions of Ruby and if I do end up installing more than one version I
want it using the same $GEM_HOME.

gvim

I have no issue with RVM. And, that said, I’m seeing exactly the same
hanging condition with RVM trying to compile 2.1.4 on OS X 10.7.5.
miniruby is currently consuming ~45% CPU and bash is hung at ld.

2.1.3 compiled without issue. Bah.

Edited to add: This seems to be a genuine, reproducible issue. I expect
a fix to be floated out shortly: Bug #10438: miniruby hangs on Mac 10.8.5 during build of ruby 2.1.4 - Ruby master - Ruby Issue Tracking System