Skip to content

Instantly share code, notes, and snippets.

@bhushangahire
Created June 5, 2014 01:30
Show Gist options
  • Save bhushangahire/9f907be0eda0df410563 to your computer and use it in GitHub Desktop.
Save bhushangahire/9f907be0eda0df410563 to your computer and use it in GitHub Desktop.
rvm 1.9.2-p290 on 10.10 issue
rvm install 1.9.2-p290 []
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.10/x86_64/ruby-1.9.2-p290.
It is not possible to build movable binaries for rubies 1.8-1.9.2, but you can do it for your system only.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
bhushanahire password required for 'rm -f /usr/share/xcode-select/xcode_dir_path':
Checking requirements for osx.
Certificates in '/usr/local/etc/openssl/cert.pem' are already up to date.
Requirements installation successful.
Installing Ruby from source to: /Users/bhushanahire/.rvm/rubies/ruby-1.9.2-p290, this may take a while depending on your cpu(s)...
ruby-1.9.2-p290 - #downloading ruby-1.9.2-p290, this may take a while depending on your connection...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 8604k 100 8604k 0 0 643k 0 0:00:13 0:00:13 --:--:-- 645k
ruby-1.9.2-p290 - #extracting ruby-1.9.2-p290 to /Users/bhushanahire/.rvm/src/ruby-1.9.2-p290 - please wait
ruby-1.9.2-p290 - #applying patch /Users/bhushanahire/.rvm/patches/ruby/GH-488.patch - please wait
Error running '__rvm_patch -F 25 -p1 -N -f -i /Users/bhushanahire/.rvm/patches/ruby/GH-488.patch',
showing last 15 lines of /Users/bhushanahire/.rvm/log/1401931742_ruby-1.9.2-p290/patch.apply.GH-488.log
+__rvm_patch:0> patch -F 25 -p1 -N -f -i /Users/bhushanahire/.rvm/patches/ruby/GH-488.patch
patching file ext/openssl/ossl_ssl.c
Hunk #1 FAILED at 2229.
1 out of 1 hunk FAILED -- saving rejects to file ext/openssl/ossl_ssl.c.rej
+__rvm_patch:0> return 1
ruby-1.9.2-p290 - #configuring - please wait
Error running 'env CFLAGS=-O3 -I/usr/local/opt/readline/include -I/usr/local/opt/libksba/include -I/usr/local/opt/openssl/include LDFLAGS=-L/usr/local/opt/readline/lib -L/usr/local/opt/libksba/lib -L/usr/local/opt/openssl/lib ./configure --prefix=/Users/bhushanahire/.rvm/rubies/ruby-1.9.2-p290 --with-opt-dir=/usr/local/opt/libyaml --without-tcl --without-tk --disable-install-doc --enable-shared',
showing last 15 lines of /Users/bhushanahire/.rvm/log/1401931742_ruby-1.9.2-p290/configure.log
configure: WARNING: unrecognized options: --without-tcl, --without-tk
checking build system type... i386-apple-darwin14.0.0
checking host system type... i386-apple-darwin14.0.0
checking target system type... i386-apple-darwin14.0.0
checking whether the C compiler works... no
configure: error: in `/Users/bhushanahire/.rvm/src/ruby-1.9.2-p290':
configure: error: C compiler cannot create executables
See `config.log' for more details
There has been an error while running configure. Halting the installation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment