Last active
December 14, 2015 13:29
-
-
Save josephlord/5094132 to your computer and use it in GitHub Desktop.
--autolibs=0 fails with OpenSSL issues but without a useful error message. Run as test user only used for testing RVM on OS X. System has no installed package manager. Zsh is installed in the system but not used by this user. --autolibs=3 seems to work and installs Homebrew.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| rvm 1.18.15 (stable) by Wayne E. Seguin <[email protected]>, Michal Papis <[email protected]> [https://rvm.io/] | |
| jl-mbp:~ test$ rvm get head | |
| % Total % Received % Xferd Average Speed Time Time Time Current | |
| Dload Upload Total Spent Left Speed | |
| 100 185 100 185 0 0 68 0 0:00:02 0:00:02 --:--:-- 78 | |
| 100 11525 100 11525 0 0 2947 0 0:00:03 0:00:03 --:--:-- 68195 | |
| Downloading RVM from wayneeseguin branch master | |
| % Total % Received % Xferd Average Speed Time Time Time Current | |
| Dload Upload Total Spent Left Speed | |
| 100 124 100 124 0 0 190 0 --:--:-- --:--:-- --:--:-- 235 | |
| 100 1622k 100 1622k 0 0 404k 0 0:00:04 0:00:04 --:--:-- 636k | |
| Upgrading the RVM installation in /Users/test/.rvm/ | |
| RVM PATH line found in /Users/test/.bashrc /Users/test/.zshrc. | |
| RVM sourcing line found in /Users/test/.bash_profile /Users/test/.zprofile. | |
| Installing rvm gem in 1 gemsets ERROR: Loading command: install (LoadError) | |
| cannot load such file -- openssl | |
| ERROR: While executing gem ... (NoMethodError) | |
| undefined method `invoke_with_build_args' for nil:NilClass | |
| Upgrade Notes: | |
| * If you encounter any issues with a ruby 'X' your best bet is to: | |
| rvm get head && rvm reinstall X --debug | |
| * RVM will run 'rvm requirements' by default, to disable run: | |
| echo rvm_autolibs_flag=0 >> ~/.rvmrc | |
| * RVM will set first installed ruby as default and use it if run as function. | |
| To avoid this behavior either use full path to rvm binary or prefix it with `command `. | |
| * To update RVM loading code run 'rvm get ... --auto-dotfiles' | |
| * RVM will try automatically use available package manager, might require `sudo`, | |
| read more about it in `rvm help autolibs` | |
| # 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 run 'rvm requirements' or read 'rvm notes' | |
| Upgrade of RVM in /Users/test/.rvm/ is complete. | |
| # test, | |
| # | |
| # Thank you for using RVM! | |
| # I sincerely hope that RVM helps to make your life easier and | |
| # more enjoyable!!! | |
| # | |
| # ~Wayne | |
| RVM reloaded! | |
| jl-mbp:~ test$ rvm -v | |
| rvm 1.18.16 (master) by Wayne E. Seguin <[email protected]>, Michal Papis <[email protected]> [https://rvm.io/] | |
| jl-mbp:~ test$ rvm help autolibs | |
| # rvm_autolibs_flag | |
| - 0 - disabled | |
| - 1 - use libs, do not install (default) | |
| - 2 - use libs, install if missing, fallback to 1 if brew not writable | |
| - 3 - 2 + install package manager if not available, also might call libraries upgrade | |
| - 4 - 3 + error out if brew not writable, no fallback | |
| # invocation | |
| - `rvm get head --autolibs=X` - preserve the option for any `rvm` invocation | |
| - `rvm install 1.9.3 --autolibs=X` - one time use for this `rvm` invocation | |
| For additional information please visit RVM's documentation website: | |
| https://rvm.io/ | |
| If you still cannot find what an answer to your question, find | |
| 'wayneeseguin', 'mpapis', 'richo' or 'lemoinem' in #rvm on irc.freenode.net: | |
| http://webchat.freenode.net/?channels=rvm | |
| jl-mbp:~ test$ rvm install 2.0.0 --autolib=0 | |
| Unrecognized command line flag: '--autolib=0' ( see: 'rvm usage' ) | |
| jl-mbp:~ test$ rvm install 2.0.0 --autolibs=0 | |
| Already installed ruby-2.0.0-p0. | |
| To reinstall use: | |
| rvm reinstall 2.0.0 | |
| jl-mbp:~ test$ rvm reinstall 2.0.0 --autolibs=0 | |
| Removing /Users/test/.rvm/src/ruby-2.0.0-p0... | |
| Removing /Users/test/.rvm/rubies/ruby-2.0.0-p0... | |
| 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. | |
| 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... | |
| 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 | |
| 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 -d /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/wrappers/ruby-2.0.0-p0'........ | |
| 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 | |
| Making gemset ruby-2.0.0-p0 pristine.................................... | |
| Error running '__rvm_with ruby-2.0.0-p0 /Users/test/.rvm/scripts/gemsets pristine', | |
| please read /Users/test/.rvm/log/ruby-2.0.0-p0/gemset.pristine.log | |
| Making gemset ruby-2.0.0-p0@global pristine.................................... | |
| Error running '__rvm_with ruby-2.0.0-p0@global /Users/test/.rvm/scripts/gemsets pristine', | |
| please read /Users/test/.rvm/log/ruby-2.0.0-p0/gemset.pristine.log | |
| jl-mbp:~ test$ | |
| jl-mbp:~ test$ | |
| jl-mbp:~ test$ rvm reinstall 2.0.0 --autolibs=3 | |
| /Users/test/.rvm/src/ruby-2.0.0-p0 has already been removed. | |
| /Users/test/.rvm/rubies/ruby-2.0.0-p0 has already been removed. | |
| 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. | |
| Installing requirements for osx/10.8/x86_64, might require sudo password | |
| Installing homebrew.... | |
| Initialized empty Git repository in /Users/test/.homebrew/.git/ | |
| remote: Counting objects: 103449, done. | |
| remote: Compressing objects: 100% (39022/39022), done. | |
| remote: Total 103449 (delta 73229), reused 91507 (delta 63517) | |
| Receiving objects: 100% (103449/103449), 15.18 MiB | 149 KiB/s, done. | |
| Resolving deltas: 100% (73229/73229), done. | |
| From https://github.com/mxcl/homebrew | |
| * [new branch] gh-pages -> origin/gh-pages | |
| * [new branch] go -> origin/go | |
| * [new branch] master -> origin/master | |
| * [new branch] superwip -> origin/superwip | |
| HEAD is now at cf0ace6 fontforge: fix compilation errors on 10.8.2 | |
| Already up-to-date. | |
| Installing required packages: autoconf, automake, libtool, pkg-config, libyaml, readline, libxml2, libxslt, libksba, openssl, sqlite............................................................................................................................................................ | |
| Doing /Users/test/.rvm/etc/openssl | |
| cert.pem => b4b4052d.0 | |
| 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... | |
| 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 | |
| Extracting rubygems-2.0.0 ... | |
| Removing old Rubygems files... | |
| Installing rubygems-2.0.0 for ruby-2.0.0-p0...................... | |
| Installation of rubygems completed successfully. | |
| Saving wrappers to '/Users/test/.rvm/wrappers/ruby-2.0.0-p0'........ | |
| 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 | |
| Making gemset ruby-2.0.0-p0 pristine.... | |
| Making gemset ruby-2.0.0-p0@global pristine.... | |
| jl-mbp:~ test$ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [2013-03-05 20:36:19] __rvm_with | |
| Restoring gems to pristine condition... | |
| bigdecimal-1.2.0 ERROR: Loading command: pristine (LoadError) | |
| cannot load such file -- openssl | |
| ERROR: While executing gem ... (NoMethodError) | |
| undefined method `invoke_with_build_args' for nil:NilClass | |
| io-console-0.4.2 ERROR: Loading command: pristine (LoadError) | |
| cannot load such file -- openssl | |
| ERROR: While executing gem ... (NoMethodError) | |
| undefined method `invoke_with_build_args' for nil:NilClass | |
| json-1.7.7 ERROR: Loading command: pristine (LoadError) | |
| cannot load such file -- openssl | |
| ERROR: While executing gem ... (NoMethodError) | |
| undefined method `invoke_with_build_args' for nil:NilClass | |
| minitest-4.3.2 ERROR: Loading command: pristine (LoadError) | |
| cannot load such file -- openssl | |
| ERROR: While executing gem ... (NoMethodError) | |
| undefined method `invoke_with_build_args' for nil:NilClass | |
| psych-2.0.0 ERROR: Loading command: pristine (LoadError) | |
| cannot load such file -- openssl | |
| ERROR: While executing gem ... (NoMethodError) | |
| undefined method `invoke_with_build_args' for nil:NilClass | |
| rake-0.9.6 ERROR: Loading command: pristine (LoadError) | |
| cannot load such file -- openssl | |
| ERROR: While executing gem ... (NoMethodError) | |
| undefined method `invoke_with_build_args' for nil:NilClass | |
| rdoc-4.0.0 ERROR: Loading command: pristine (LoadError) | |
| cannot load such file -- openssl | |
| ERROR: While executing gem ... (NoMethodError) | |
| undefined method `invoke_with_build_args' for nil:NilClass | |
| test-unit-2.0.0.0 ERROR: Loading command: pristine (LoadError) | |
| cannot load such file -- openssl | |
| ERROR: While executing gem ... (NoMethodError) | |
| undefined method `invoke_with_build_args' for nil:NilClass | |
| 'gem pristine bigdecimal --version 1.2.0 io-console --version 0.4.2 json --version 1.7.7 minitest --version 4.3.2 psych --version 2.0.0 rake --version 0.9.6 rdoc --version 4.0.0 test-unit --version 2.0.0.0' failed, you need to fix this gems manually. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [2013-03-05 20:36:15] /Users/test/.rvm/rubies/ruby-2.0.0-p0/bin/ruby | |
| current path: /Users/test/.rvm/src/rubygems-2.0.0 | |
| command(6): 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 -d /Users/test/.rvm/src/rubygems-2.0.0/setup.rb | |
| Exception `LoadError' at /Users/test/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/rubygems.rb:1073 - cannot load such file -- rubygems/defaults/operating_system | |
| Exception `LoadError' at /Users/test/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/rubygems.rb:1082 - cannot load such file -- rubygems/defaults/ruby | |
| /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