Skip to content

Instantly share code, notes, and snippets.

@weyus
Created July 20, 2017 22:27
Show Gist options
  • Save weyus/460e5a50e4b0944914945e7e82ef2010 to your computer and use it in GitHub Desktop.
Save weyus/460e5a50e4b0944914945e7e82ef2010 to your computer and use it in GitHub Desktop.
Failed rvm install of ree
$ LDFLAGS='-L/usr/local/opt/openssl/lib' CPPFLAGS='-I/usr/local/opt/openssl/include' PKG_CONFIG_PATH='/usr/local/opt/openssl/lib/pkgconfig' rvm reinstall --with-openssl-dir=/usr/local/Cellar/openssl/1.0.2j ree-1.8.7-2012.02
ree-1.8.7-2012.02 - #removing src/ree-1.8.7-2012.02......
ree-1.8.7-2012.02 - #removing rubies/ree-1.8.7-2012.02......
Installing Ruby Enterprise Edition from source to: /Users/gamblew/.rvm/rubies/ree-1.8.7-2012.02
ree-1.8.7-2012.02 - #fetching (ruby-enterprise-1.8.7-2012.02)
ree-1.8.7-2012.02 - #extracting ruby-enterprise-1.8.7-2012.02 to /Users/gamblew/.rvm/src/ree-1.8.7-2012.02.................
Checking requirements for osx.
Missing required packages: [email protected]
Somehow it happened there is no executable 'openssl',
run 'brew doctor' and make sure latest '[email protected]' is installed properly.
Requirements installation successful.
ree-1.8.7-2012.02 - #applying patch /Users/gamblew/.rvm/patches/ree/1.8.7/tcmalloc.patch.
ree-1.8.7-2012.02 - #applying patch /Users/gamblew/.rvm/patches/ree/1.8.7/stdout-rouge-fix.patch.
ree-1.8.7-2012.02 - #applying patch /Users/gamblew/.rvm/patches/ree/1.8.7/no_sslv2.diff.
ree-1.8.7-2012.02 - #applying patch /Users/gamblew/.rvm/patches/ree/ssl_no_ec2m.patch..
ree-1.8.7-2012.02 - #applying patch /Users/gamblew/.rvm/patches/ree/1.8.7/p358-p374.patch.........
ree-1.8.7-2012.02 - #applying patch /Users/gamblew/.rvm/patches/ree/GH-488.patch.
ree-1.8.7-2012.02 - #applying patch /Users/gamblew/.rvm/patches/ree/lib64.patch.
ree-1.8.7-2012.02 - #applying patch /Users/gamblew/.rvm/patches/ree/ruby-binary-shebang.patch.
ree-1.8.7-2012.02 - #installing..................................................................................................|
ls: /Users/gamblew/.rvm/log/ree-1.8.7-2012.02/*_install.log: No such file or directory
There has been an error while trying to run the ree installer - bin/ruby was not created,
check the log file:
@weyus
Copy link
Author

weyus commented Jul 20, 2017

install.log

Welcome to the Ruby Enterprise Edition installer
This installer will help you install Ruby Enterprise Edition 1.8.7-2012.02.
Don't worry, none of your system files will be touched if you don't want them
to, so there is no risk that things will screw up.

You can expect this from the installation process:

  1. Ruby Enterprise Edition will be compiled and optimized for speed for this
    system.
  2. Ruby on Rails will be installed for Ruby Enterprise Edition.
  3. You will learn how to tell Phusion Passenger to use Ruby Enterprise
    Edition instead of regular Ruby.

Press Enter to continue, or Ctrl-C to abort.
Checking for required software...

  • Non-broken C compiler... found at gcc-4.9
  • Non-broken C++ compiler... found at /usr/bin/g++
  • The 'make' tool... found at /usr/bin/make
  • The 'patch' tool... found at /usr/bin/patch
  • Zlib development headers... found
  • OpenSSL development headers... not found
  • GNU Readline development headers... found

Some required software is not installed.
But don't worry, this installer will tell you how to install them.
Press Enter to continue, or Ctrl-C to abort.

Installation instructions for required software

+++ iterm2_preexec_invoke_exec --enable-shared
+++ '[' '!' -t 1 ']'
+++ return
++ return 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment