Created
February 10, 2012 16:45
-
-
Save barnaba/1790752 to your computer and use it in GitHub Desktop.
RVM trying to delete current system rubygems and failing
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
$ gem environment | |
RubyGems Environment: | |
- RUBYGEMS VERSION: 1.5.0 | |
- RUBY VERSION: 1.8.7 (2009-06-12 patchlevel 174) [x86_64-linux] | |
- INSTALLATION DIRECTORY: /opt/ruby-enterprise-1.8.7-20090928/lib/ruby/gems/1.8 | |
- RUBY EXECUTABLE: /opt/ruby-enterprise-1.8.7-20090928/bin/ruby | |
- EXECUTABLE DIRECTORY: /opt/ruby-enterprise-1.8.7-20090928/bin | |
- RUBYGEMS PLATFORMS: | |
- ruby | |
- x86_64-linux | |
- GEM PATHS: | |
- /opt/ruby-enterprise-1.8.7-20090928/lib/ruby/gems/1.8 | |
- /home/amnesty_captcha/.gem/ruby/1.8 | |
- GEM CONFIGURATION: | |
- :update_sources => true | |
- :verbose => true | |
- :benchmark => false | |
- :backtrace => false | |
- :bulk_threshold => 1000 | |
- REMOTE SOURCES: | |
- http://rubygems.org/ |
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 install 1.8.7 | |
Installing Ruby from source to: /usr/local/rvm/rubies/ruby-1.8.7-p357, this may take a while depending on your cpu(s)... | |
ruby-1.8.7-p357 - #fetching | |
ruby-1.8.7-p357 - #downloading ruby-1.8.7-p357, 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 4109k 100 4109k 0 0 36012 0 0:01:56 0:01:56 --:--:-- 18583 | |
ruby-1.8.7-p357 - #extracting ruby-1.8.7-p357 to /usr/local/rvm/src/ruby-1.8.7-p357 | |
ruby-1.8.7-p357 - #extracted to /usr/local/rvm/src/ruby-1.8.7-p357 | |
Applying patch 'stdout-rouge-fix' (located at /usr/local/rvm/patches/ruby/1.8.7/stdout-rouge-fix.patch) | |
Applying patch 'no_sslv2' (located at /usr/local/rvm/patches/ruby/1.8.7/no_sslv2.diff) | |
ruby-1.8.7-p357 - #configuring | |
ruby-1.8.7-p357 - #compiling | |
ruby-1.8.7-p357 - #installing | |
Retrieving rubygems-1.8.15 | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 245k 100 245k 0 0 168k 0 0:00:01 0:00:01 --:--:-- 288k | |
Extracting rubygems-1.8.15 ... | |
Removing old Rubygems files... | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/ubygems.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/gauntlet_rubygems.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rbconfig/datadir.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/package_task.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/indexer.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/format.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/spec_fetcher.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/doc_manager.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/test_utilities.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/builder.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/text.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/dependency_installer.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/package.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/installer_test_case.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/security.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/version_option.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/dependency.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/timer.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/gemcutter_utilities.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/test_case.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/gem_path_searcher.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/installer.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/defaults.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/digest/sha2.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/digest/digest_adapter.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/digest/md5.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/digest/sha1.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/command.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/ext.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/config_file.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/mock_gem_ui.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/uninstaller.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/source_info_cache_entry.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/require_paths_builder.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/validator.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/ext/builder.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/ext/ext_conf_builder.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/ext/configure_builder.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/ext/rake_builder.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/specification.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/server.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/source_info_cache.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/package/tar_input.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/package/tar_header.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/package/tar_reader/entry.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/package/tar_test_case.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/package/tar_writer.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/package/f_sync_dir.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/package/tar_output.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/package/tar_reader.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/version.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/old_format.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/local_remote_options.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/install_update_options.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/source_index.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/commands/specification_command.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/commands/contents_command.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/commands/rdoc_command.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/commands/owner_command.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/commands/search_command.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/commands/pristine_command.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/commands/setup_command.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/commands/push_command.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/commands/outdated_command.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/commands/lock_command.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/commands/cleanup_command.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/commands/install_command.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/commands/update_command.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/commands/list_command.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/commands/dependency_command.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/commands/server_command.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/commands/unpack_command.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/commands/query_command.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/commands/environment_command.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/commands/check_command.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/commands/generate_index_command.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/commands/help_command.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/commands/build_command.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/commands/mirror_command.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/commands/cert_command.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/commands/uninstall_command.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/commands/sources_command.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/commands/stale_command.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/commands/fetch_command.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/commands/which_command.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/gem_openssl.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/platform.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/errors.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/exceptions.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/dependency_list.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/requirement.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems/user_interaction.rb': Permission denied | |
rm: cannot remove `/opt/ruby-enterprise-1.8.7-20090928/lib/ruby/site_ruby/1.8/rubygems.rb': Permission denied | |
Installing rubygems-1.8.15 for system ... | |
Error running 'GEM_PATH=":@global" GEM_HOME="" "/usr/local/rvm/rubies/system/bin/ruby" "/usr/local/rvm/src/rubygems-1.8.15/setup.rb"', please read /usr/local/rvm/log/system/rubygems.install.log | |
Installation of rubygems did not complete successfully. | |
ruby-1.8.7-p357 - adjusting #shebangs for (gem irb erb ri rdoc testrb rake). | |
ruby-1.8.7-p357 - #importing default gemsets (/usr/local/rvm/gemsets/) | |
Install of ruby-1.8.7-p357 - #complete |
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
[2012-02-10 17:39:03] GEM_PATH=":@global" GEM_HOME="" "/usr/local/rvm/rubies/system/bin/ruby" "/usr/local/rvm/src/rubygems-1.8.15/setup.rb" | |
/usr/local/rvm/scripts/functions/utility: line 185: /usr/local/rvm/rubies/system/bin/ruby: No such file or directory |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment