Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rbenv install 2.1.0 fails on Mac OSX Mavericks #576

Closed
minordv8 opened this issue May 21, 2014 · 1 comment
Closed

rbenv install 2.1.0 fails on Mac OSX Mavericks #576

minordv8 opened this issue May 21, 2014 · 1 comment

Comments

@minordv8
Copy link

This seems to happen often when installing older versions of Ruby for legacy projects.

:::::::::: Error ::::::::::

rbenv install 2.1.0
Downloading yaml-0.1.6.tar.gz...
-> http://dqw8nmjcqpjn7.cloudfront.net/5fe00cda18ca5daeb43762b80c38e06e
Installing yaml-0.1.6...
Installed yaml-0.1.6 to /Users/johnny/.rbenv/versions/2.1.0

Downloading ruby-2.1.0.tar.gz...
-> http://dqw8nmjcqpjn7.cloudfront.net/9e6386d53f5200a3e7069107405b93f7
Installing ruby-2.1.0...

BUILD FAILED

Inspect or clean up the working tree at /var/folders/9t/l5jzt5k929b2y10gy1c5_hy40000gn/T/ruby-build.20140521162902.36637
Results logged to /var/folders/9t/l5jzt5k929b2y10gy1c5_hy40000gn/T/ruby-build.20140521162902.36637.log

Last 10 log lines:
1 warning generated.
compiling ossl_x509ext.c
compiling ossl_x509name.c
compiling ossl_x509req.c
compiling ossl_x509revoked.c
compiling ossl_x509store.c
installing default openssl libraries
linking shared-object openssl.bundle
linking shared-object ripper.bundle
make: *** [build-ext] Error 2

:::::::::: Environment ::::::::::

  • rbenv --version
    rbenv 0.4.0
  • rbenv versions
    system
    2.0.0-rc2
  • 2.1.1 (set by /Users/johnny/.rbenv/version)
  • rbenv global
    2.1.1
  • env
  • grep -E 'PATH|RUBY|BUNDLE|RBENV'
    PATH=/usr/local/heroku/bin:/usr/local/maven-3.2.1/bin:/Users/johnny/.rbenv/shims:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
  • which gem
    /Users/johnny/.rbenv/shims/gem
  • rbenv which gem
    /Users/johnny/.rbenv/versions/2.1.1/bin/gem
  • cat /etc/gemrc
    cat: /etc/gemrc: No such file or directory
  • cat /Users/johnny/.gemrc
    gem: --no-document
  • gem env
    RubyGems Environment:
    • RUBYGEMS VERSION: 2.2.2
    • RUBY VERSION: 2.1.1 (2014-02-24 patchlevel 76) [x86_64-darwin13.0]
    • INSTALLATION DIRECTORY: /Users/johnny/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0
    • RUBY EXECUTABLE: /Users/johnny/.rbenv/versions/2.1.1/bin/ruby
    • EXECUTABLE DIRECTORY: /Users/johnny/.rbenv/versions/2.1.1/bin
    • SPEC CACHE DIRECTORY: /Users/johnny/.gem/specs
    • RUBYGEMS PLATFORMS:
      • ruby
      • x86_64-darwin-13
    • GEM PATHS:
      • /Users/johnny/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0
      • /Users/johnny/.gem/ruby/2.1.0
    • GEM CONFIGURATION:
      • :update_sources => true
      • :verbose => true
      • :backtrace => false
      • :bulk_threshold => 1000
      • "gem" => "--no-document"
    • REMOTE SOURCES:
    • SHELL PATH:
      • /Users/johnny/.rbenv/versions/2.1.1/bin
      • /usr/local/Cellar/rbenv/0.4.0/libexec
      • /usr/local/heroku/bin
      • /usr/local/maven-3.2.1/bin
      • /Users/johnny/.rbenv/shims
      • /usr/local/bin
      • /usr/bin
      • /bin
      • /usr/sbin
      • /sbin
      • /usr/local/bin
@minordv8
Copy link
Author

Ugh, after a bit more search found a solution here: #550 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant