You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I decided to give chruby a try in a new Mac. It worked like a charm, except for one thing: installing gems that have native extensions.
When trying to rule out the causing factors, I installed rbenv (which I have been using for years) and it worked just fine, so I conclude it's something to do with chruby.
I'm running Mountain Lion.
Reproducing
→ gem install ffi
Building native extensions. This could take a while...
ERROR: Error installing ffi:
ERROR: Failed to build gem native extension.
/Users/admin/.rubies/ruby-2.0.0-p353/bin/ruby extconf.rb
/Users/admin/.rubies/ruby-2.0.0-p353/bin/ruby: invalid option -2 (-h will show valid options) (RuntimeError)
extconf failed, exit code 1
Gem files will remain installed in /Users/admin/.gem/ruby/2.0.0/gems/ffi-1.9.3 for inspection.
Results logged to /Users/admin/.gem/ruby/2.0.0/extensions/x86_64-darwin-13/2.0.0-static/ffi-1.9.3/gem_make.out
Here's gem_make.out:
→ cat /Users/admin/.gem/ruby/2.0.0/extensions/x86_64-darwin-13/2.0.0-static/ffi-1.9.3/gem_make.out
/Users/admin/.rubies/ruby-2.0.0-p353/bin/ruby extconf.rb
/Users/admin/.rubies/ruby-2.0.0-p353/bin/ruby: invalid option -2 (-h will show valid options) (RuntimeError)
extconf failed, exit code 1
I'll just continue using rbenv now, but I think this would help improving the project :)
The text was updated successfully, but these errors were encountered:
I decided to give chruby a try in a new Mac. It worked like a charm, except for one thing: installing gems that have native extensions.
When trying to rule out the causing factors, I installed
rbenv
(which I have been using for years) and it worked just fine, so I conclude it's something to do withchruby
.I'm running Mountain Lion.
Reproducing
Here's
gem_make.out
:I'll just continue using
rbenv
now, but I think this would help improving the project :)The text was updated successfully, but these errors were encountered: