Skip to content

Instantly share code, notes, and snippets.

@josephlord
Last active December 14, 2015 08:19
Show Gist options
  • Save josephlord/5057218 to your computer and use it in GitHub Desktop.
Save josephlord/5057218 to your computer and use it in GitHub Desktop.
This is a brand new user on OS X using bash with no package manager in place. ZSH is installed on the system but not used by this user. RVM and ruby install ok but not rubygems.
jl-mbp:~ test$ \curl -L https://get.rvm.io | bash -s stable --ruby
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 185 100 185 0 0 158 0 0:00:01 0:00:01 --:--:-- 223
100 11525 100 11525 0 0 6544 0 0:00:01 0:00:01 --:--:-- 6544
Please read and follow further instructions.
Press ENTER to continue.
Downloading RVM from wayneeseguin branch stable
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 124 100 124 0 0 168 0 --:--:-- --:--:-- --:--:-- 406
0 124 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
100 1490k 100 1490k 0 0 313k 0 0:00:04 0:00:04 --:--:-- 561k
Installing RVM to /Users/test/.rvm/
Adding rvm PATH line to /Users/test/.bashrc /Users/test/.zshrc.
Adding rvm loading line to /Users/test/.bash_profile /Users/test/.zprofile.
# RVM: Shell scripts enabling management of multiple ruby environments.
# RTFM: https://rvm.io/
# HELP: http://webchat.freenode.net/?channels=rvm (#rvm on irc.freenode.net)
# Cheatsheet: http://cheat.errtheblog.com/s/rvm/
# Screencast: http://screencasts.org/episodes/how-to-use-rvm
# In case of any issues read output of 'rvm requirements' and/or 'rvm notes'
Installation of RVM in /Users/test/.rvm/ is almost complete:
* To start using RVM you need to run `source /Users/test/.rvm/scripts/rvm`
in all your open shell windows, in rare cases you need to reopen all shell windows.
# test,
#
# Thank you for using RVM!
# I sincerely hope that RVM helps to make your life easier and
# more enjoyable!!!
#
# ~Wayne
rvm 1.18.15 (stable) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.8/x86_64/ruby-2.0.0-p0.
Continuing with compilation. Please read 'rvm mount' to get more information on binary rubies.
Fetching yaml-0.1.4.tar.gz to /Users/test/.rvm/archives
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 460k 100 460k 0 0 208k 0 0:00:02 0:00:02 --:--:-- 226k
Extracting yaml to /Users/test/.rvm/src/yaml-0.1.4
Configuring yaml in /Users/test/.rvm/src/yaml-0.1.4.
Compiling yaml in /Users/test/.rvm/src/yaml-0.1.4.
Installing yaml to /Users/test/.rvm/usr
Fetching openssl-1.0.1c.tar.gz to /Users/test/.rvm/archives
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 4352k 100 4352k 0 0 2949k 0 0:00:01 0:00:01 --:--:-- 4019k
Extracting openssl to /Users/test/.rvm/src/openssl-1.0.1c
Configuring openssl in /Users/test/.rvm/src/openssl-1.0.1c.
Compiling openssl in /Users/test/.rvm/src/openssl-1.0.1c.
Installing openssl to /Users/test/.rvm/usr
Updating openssl certificates
Installing Ruby from source to: /Users/test/.rvm/rubies/ruby-2.0.0-p0, this may take a while depending on your cpu(s)...
ruby-2.0.0-p0 - #downloading ruby-2.0.0-p0, 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 10.3M 100 10.3M 0 0 115k 0 0:01:31 0:01:31 --:--:-- 246k
ruby-2.0.0-p0 - #extracting ruby-2.0.0-p0 to /Users/test/.rvm/src/ruby-2.0.0-p0
ruby-2.0.0-p0 - #extracted to /Users/test/.rvm/src/ruby-2.0.0-p0
ruby-2.0.0-p0 - #configuring
ruby-2.0.0-p0 - #compiling
ruby-2.0.0-p0 - #installing
Retrieving rubygems-2.0.0
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 322k 100 322k 0 0 671k 0 --:--:-- --:--:-- --:--:-- 3097k
Extracting rubygems-2.0.0 ...
Removing old Rubygems files...
Installing rubygems-2.0.0 for ruby-2.0.0-p0 ...
Error running 'env GEM_PATH=/Users/test/.rvm/gems/ruby-2.0.0-p0:/Users/test/.rvm/gems/ruby-2.0.0-p0@global:/Users/test/.rvm/gems/ruby-2.0.0-p0:/Users/test/.rvm/gems/ruby-2.0.0-p0@global GEM_HOME=/Users/test/.rvm/gems/ruby-2.0.0-p0 /Users/test/.rvm/rubies/ruby-2.0.0-p0/bin/ruby /Users/test/.rvm/src/rubygems-2.0.0/setup.rb', please read /Users/test/.rvm/log/ruby-2.0.0-p0/rubygems.install.log
Installation of rubygems did not complete successfully.
Saving wrappers to '/Users/test/.rvm/bin'.
ruby-2.0.0-p0 - #adjusting #shebangs for (gem irb erb ri rdoc testrb rake).
ruby-2.0.0-p0 - #importing default gemsets, this may take time ...
Install of ruby-2.0.0-p0 - #complete
Creating alias default for ruby-2.0.0-p0.
Recording alias default for ruby-2.0.0-p0.
Creating default links/files
Saving wrappers to '/Users/test/.rvm/bin'.
* To start using RVM you need to run `source /Users/test/.rvm/scripts/rvm`
in all your open shell windows, in rare cases you need to reopen all shell windows.
jl-mbp:~ test$
Failed to configure openssl. It will not be installed.
[2013-02-28 13:10:45] /Users/test/.rvm/rubies/ruby-2.0.0-p0/bin/ruby
current path: /Users/test/.rvm/src/rubygems-2.0.0
command(5): env GEM_PATH=/Users/test/.rvm/gems/ruby-2.0.0-p0:/Users/test/.rvm/gems/ruby-2.0.0-p0@global:/Users/test/.rvm/gems/ruby-2.0.0-p0:/Users/test/.rvm/gems/ruby-2.0.0-p0@global GEM_HOME=/Users/test/.rvm/gems/ruby-2.0.0-p0 /Users/test/.rvm/rubies/ruby-2.0.0-p0/bin/ruby /Users/test/.rvm/src/rubygems-2.0.0/setup.rb
/Users/test/.rvm/src/rubygems-2.0.0/lib/rubygems/core_ext/kernel_require.rb:45:in `require': cannot load such file -- openssl (LoadError)
from /Users/test/.rvm/src/rubygems-2.0.0/lib/rubygems/core_ext/kernel_require.rb:45:in `require'
from /Users/test/.rvm/src/rubygems-2.0.0/lib/rubygems/security.rb:8:in `<top (required)>'
from /Users/test/.rvm/src/rubygems-2.0.0/lib/rubygems/core_ext/kernel_require.rb:45:in `require'
from /Users/test/.rvm/src/rubygems-2.0.0/lib/rubygems/core_ext/kernel_require.rb:45:in `require'
from /Users/test/.rvm/src/rubygems-2.0.0/lib/rubygems/package.rb:43:in `<top (required)>'
from /Users/test/.rvm/src/rubygems-2.0.0/lib/rubygems/core_ext/kernel_require.rb:45:in `require'
from /Users/test/.rvm/src/rubygems-2.0.0/lib/rubygems/core_ext/kernel_require.rb:45:in `require'
from /Users/test/.rvm/src/rubygems-2.0.0/lib/rubygems/installer.rb:8:in `<top (required)>'
from /Users/test/.rvm/src/rubygems-2.0.0/lib/rubygems/core_ext/kernel_require.rb:45:in `require'
from /Users/test/.rvm/src/rubygems-2.0.0/lib/rubygems/core_ext/kernel_require.rb:45:in `require'
from /Users/test/.rvm/src/rubygems-2.0.0/lib/rubygems/request_set.rb:5:in `<top (required)>'
from /Users/test/.rvm/src/rubygems-2.0.0/lib/rubygems.rb:195:in `finish_resolve'
from /Users/test/.rvm/src/rubygems-2.0.0/lib/rubygems/rdoc.rb:14:in `<top (required)>'
from /Users/test/.rvm/src/rubygems-2.0.0/lib/rubygems/core_ext/kernel_require.rb:45:in `require'
from /Users/test/.rvm/src/rubygems-2.0.0/lib/rubygems/core_ext/kernel_require.rb:45:in `require'
from /Users/test/.rvm/src/rubygems-2.0.0/lib/rubygems/uninstaller.rb:10:in `<top (required)>'
from /Users/test/.rvm/src/rubygems-2.0.0/lib/rubygems/core_ext/kernel_require.rb:45:in `require'
from /Users/test/.rvm/src/rubygems-2.0.0/lib/rubygems/core_ext/kernel_require.rb:45:in `require'
from /Users/test/.rvm/src/rubygems-2.0.0/lib/rubygems/commands/setup_command.rb:440:in `uninstall_old_gemcutter'
from /Users/test/.rvm/src/rubygems-2.0.0/lib/rubygems/commands/setup_command.rb:144:in `execute'
from /Users/test/.rvm/src/rubygems-2.0.0/lib/rubygems/command.rb:305:in `invoke_with_build_args'
from /Users/test/.rvm/src/rubygems-2.0.0/lib/rubygems/command_manager.rb:170:in `process_args'
from /Users/test/.rvm/src/rubygems-2.0.0/lib/rubygems/command_manager.rb:130:in `run'
from /Users/test/.rvm/src/rubygems-2.0.0/lib/rubygems/gem_runner.rb:60:in `run'
from setup.rb:45:in `<main>'
RubyGems 2.0.0 installed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment