-
-
Save bjreath/967315 to your computer and use it in GitHub Desktop.
RVM Install Issues
This file contains 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
~$ sudo bash < <(curl -s https://rvm.beginrescueend.com/install/rvm) | |
Initialized empty Git repository in /usr/local/rvm/src/rvm/.git/ | |
remote: Counting objects: 4716, done. | |
remote: Compressing objects: 100% (2390/2390), done. | |
remote: Total 4716 (delta 3053), reused 3184 (delta 1672) | |
Receiving objects: 100% (4716/4716), 1.56 MiB | 1.88 MiB/s, done. | |
Resolving deltas: 100% (3053/3053), done. | |
WARNING: Could not source script '/usr/local/rvm/scripts/base', file does not exist. RVM will likely not work as expected. | |
WARNING: Could not source script '/usr/local/rvm/scripts/version', file does not exist. RVM will likely not work as expected. | |
WARNING: Could not source script '/usr/local/rvm/scripts/selector', file does not exist. RVM will likely not work as expected. | |
WARNING: Could not source script '/usr/local/rvm/scripts/cd', file does not exist. RVM will likely not work as expected. | |
WARNING: Could not source script '/usr/local/rvm/scripts/cli', file does not exist. RVM will likely not work as expected. | |
WARNING: Could not source script '/usr/local/rvm/scripts/override_gem', file does not exist. RVM will likely not work as expected. | |
cat: /usr/local/rvm/VERSION: No such file or directory | |
scripts/rvm: line 128: __rvm_conditionally_add_bin_path: command not found | |
RVM: Shell scripts enabling management of multiple ruby environments. | |
RTFM: https://rvm.beginrescueend.com/ | |
HELP: http://webchat.freenode.net/?channels=rvm (#rvm on irc.freenode.net) | |
Installing RVM to /usr/local/rvm/ | |
Correct permissions for base binaries in /usr/local/rvm/bin... | |
Copying manpages into place. | |
Creating RVM system user group 'rvm' | |
Ensuring 'ccisystems' is in group 'rvm' | |
Adding user 'ccisystems' to the RVM group 'rvm' | |
Notes for Linux ( DISTRIB_ID=Ubuntu | |
DISTRIB_RELEASE=10.04 | |
DISTRIB_CODENAME=lucid | |
DISTRIB_DESCRIPTION="Ubuntu 10.04 LTS" ) | |
NOTE: 'ruby' represents Matz's Ruby Interpreter (MRI) (1.8.X, 1.9.X) | |
This is the *original* / standard Ruby Language Interpreter | |
'ree' represents Ruby Enterprise Edition | |
'rbx' represents Rubinius | |
bash >= 3.2 is required | |
curl is required | |
git is required (>= 1.7 recommended) | |
patch is required (for ree and some ruby-head's). | |
If you wish to install rbx and/or Ruby 1.9 head (MRI) (eg. 1.9.2-head), | |
then you must install and use rvm 1.8.7 first. | |
If you wish to have the 'pretty colors' again, | |
set 'export rvm_pretty_print_flag=1' in ~/.rvmrc. | |
dependencies: | |
# For RVM | |
rvm: bash curl git | |
# For Ruby (MRI & ree) you should install the following OS dependencies: | |
ruby: /usr/bin/apt-get install build-essential bison openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev | |
# For JRuby (if you wish to use it) you will need: | |
jruby: /usr/bin/apt-get install curl g++ openjdk-6-jre-headless | |
jruby-head: /usr/bin/apt-get install ant openjdk-6-jdk | |
# In addition to ruby: dependencies, | |
ruby-head: subversion | |
# For IronRuby (if you wish to use it) you will need: | |
ironruby: /usr/bin/apt-get install curl mono-2.0-devel | |
WARNING: you have a 'return' statement in your ~/.bashrc | |
This could cause some features of RVM to not work. | |
This means that if you see something like: | |
'[ -z "$PS1" ] && return' | |
then you change this line to: | |
if [[ -n "$PS1" ]] ; then | |
# ... original content that was below the '&& return' line ... | |
fi # <= be sure to close the if at the end of the .bashrc. | |
# This is a good place to source rvm v v v | |
[[ -s "/usr/local/rvm/scripts/rvm" ]] && source "/usr/local/rvm/scripts/rvm" # This loads RVM into a shell session. | |
EOF - This marks the end of the .bashrc file | |
Even if you are using zsh you should still adjust the ~/.bashrc | |
If you have any questions about this please visit | |
#rvm on irc.freenode.net. | |
Installation of RVM to /usr/local/rvm/ is complete. | |
root, | |
Thank you very much for using RVM! I sincerely hope that RVM helps to | |
make your work both easier and more enjoyable. | |
If you have any questions, issues and/or ideas for improvement please | |
join#rvm on irc.freenode.net and let me know, note you must register | |
(http://bit.ly/5mGjlm) and identify (/msg nickserv <nick> <pass>) to | |
talk, this prevents spambots from ruining our day. | |
My irc nickname is 'wayneeseguin' and I hang out in #rvm typically | |
~09:00-17:00EDT and again from ~21:00EDT-~23:00EDT | |
If I do not respond right away, please hang around after asking your | |
question, I will respond as soon as I am back. It is best to talk in | |
#rvm itself as then other users can help out should I be offline. | |
Be sure to get head often as rvm development happens fast, | |
you can do this by running 'rvm get head' followed by 'rvm reload' | |
or opening a new shell | |
w⦿‿⦿t | |
~ Wayne |
This file contains 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
~$ sudo bash -x < <(curl -s https://rvm.beginrescueend.com/install/rvm) | |
+ shopt -s extglob | |
+ set -o errtrace | |
+ set -o errexit | |
+ export HOME=/home/ccisystems | |
+ HOME=/home/ccisystems | |
+ (( 0 == 0 )) | |
+ for rvmrc in /etc/rvmrc '"$HOME/.rvmrc"' | |
+ [[ -f /etc/rvmrc ]] | |
+ for rvmrc in /etc/rvmrc '"$HOME/.rvmrc"' | |
+ [[ -f /home/ccisystems/.rvmrc ]] | |
+ [[ -z '' ]] | |
+ [[ -z '' ]] | |
+ (( UID == 0 )) | |
+ rvm_user_install_flag=0 | |
+ [[ -z '' ]] | |
+ (( 0 == 0 )) | |
+ rvm_prefix=/usr/local | |
+ true /usr/local | |
+ [[ -z '' ]] | |
+ [[ /usr/local = \/\h\o\m\e\/\c\c\i\s\y\s\t\e\m\s ]] | |
+ rvm_path=/usr/local/rvm | |
+ export rvm_path=/usr/local/rvm | |
+ rvm_path=/usr/local/rvm | |
+ [[ 0 -gt 0 ]] | |
+ true head | |
+ export 'PS4=+ ${BASH_SOURCE##${rvm_path:-}} : ${FUNCNAME[0]:+${FUNCNAME[0]}()} ${LINENO} > ' | |
+ PS4='+ ${BASH_SOURCE##${rvm_path:-}} : ${FUNCNAME[0]:+${FUNCNAME[0]}()} ${LINENO} > ' | |
+ : 262 > rvm_src_path=/usr/local/rvm/src | |
+ : 263 > rvm_archives_path=/usr/local/rvm/archives | |
+ : 264 > rvm_releases_url=https://rvm.beginrescueend.com/releases | |
++ : 265 > dirname /usr/local/rvm | |
+ : 265 > rvm_prefix=/usr/local/ | |
+ : 267 > for dir in '"$rvm_src_path"' '"$rvm_archives_path"' | |
+ : 268 > [[ ! -d /usr/local/rvm/src ]] | |
+ : 268 > mkdir -p /usr/local/rvm/src/ | |
+ : 267 > for dir in '"$rvm_src_path"' '"$rvm_archives_path"' | |
+ : 268 > [[ ! -d /usr/local/rvm/archives ]] | |
+ : 268 > mkdir -p /usr/local/rvm/archives/ | |
+ : 273 > case "${version}" in | |
+ : 275 > install_head | |
+ : install_head() 95 > local remote=origin | |
+ : install_head() 97 > [[ -d /usr/local/rvm/src/rvm/.git ]] | |
+ : install_head() 112 > builtin cd /usr/local/rvm/src | |
+ : install_head() 114 > git clone --depth 1 git://github.com/wayneeseguin/rvm.git | |
Initialized empty Git repository in /usr/local/rvm/src/rvm/.git/ | |
remote: Counting objects: 4716, done. | |
remote: Compressing objects: 100% (2390/2390), done. | |
remote: Total 4716 (delta 3053), reused 3184 (delta 1672) | |
Receiving objects: 100% (4716/4716), 1.56 MiB | 2.20 MiB/s, done. | |
Resolving deltas: 100% (3053/3053), done. | |
+ : install_head() 121 > builtin cd /usr/local/rvm/src/rvm/ | |
+ : install_head() 123 > return 0 | |
+ : 293 > chmod +x ./scripts/install | |
+ : 295 > flags=() | |
+ : 296 > (( 0 == 1 )) | |
+ : 300 > (( 0 == 1 )) | |
+ : 306 > exec ./scripts/install --prefix /usr/local/ --path /usr/local/rvm | |
WARNING: Could not source script '/usr/local/rvm/scripts/base', file does not exist. RVM will likely not work as expected. | |
WARNING: Could not source script '/usr/local/rvm/scripts/version', file does not exist. RVM will likely not work as expected. | |
WARNING: Could not source script '/usr/local/rvm/scripts/selector', file does not exist. RVM will likely not work as expected. | |
WARNING: Could not source script '/usr/local/rvm/scripts/cd', file does not exist. RVM will likely not work as expected. | |
WARNING: Could not source script '/usr/local/rvm/scripts/cli', file does not exist. RVM will likely not work as expected. | |
WARNING: Could not source script '/usr/local/rvm/scripts/override_gem', file does not exist. RVM will likely not work as expected. | |
cat: /usr/local/rvm/VERSION: No such file or directory | |
scripts/rvm: line 128: __rvm_conditionally_add_bin_path: command not found | |
RVM: Shell scripts enabling management of multiple ruby environments. | |
RTFM: https://rvm.beginrescueend.com/ | |
HELP: http://webchat.freenode.net/?channels=rvm (#rvm on irc.freenode.net) | |
Installing RVM to /usr/local/rvm/ | |
Correct permissions for base binaries in /usr/local/rvm/bin... | |
Copying manpages into place. | |
Creating RVM system user group 'rvm' | |
Ensuring 'ccisystems' is in group 'rvm' | |
Adding user 'ccisystems' to the RVM group 'rvm' | |
Notes for Linux ( DISTRIB_ID=Ubuntu | |
DISTRIB_RELEASE=10.04 | |
DISTRIB_CODENAME=lucid | |
DISTRIB_DESCRIPTION="Ubuntu 10.04 LTS" ) | |
NOTE: 'ruby' represents Matz's Ruby Interpreter (MRI) (1.8.X, 1.9.X) | |
This is the *original* / standard Ruby Language Interpreter | |
'ree' represents Ruby Enterprise Edition | |
'rbx' represents Rubinius | |
bash >= 3.2 is required | |
curl is required | |
git is required (>= 1.7 recommended) | |
patch is required (for ree and some ruby-head's). | |
If you wish to install rbx and/or Ruby 1.9 head (MRI) (eg. 1.9.2-head), | |
then you must install and use rvm 1.8.7 first. | |
If you wish to have the 'pretty colors' again, | |
set 'export rvm_pretty_print_flag=1' in ~/.rvmrc. | |
dependencies: | |
# For RVM | |
rvm: bash curl git | |
# For Ruby (MRI & ree) you should install the following OS dependencies: | |
ruby: /usr/bin/apt-get install build-essential bison openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev | |
# For JRuby (if you wish to use it) you will need: | |
jruby: /usr/bin/apt-get install curl g++ openjdk-6-jre-headless | |
jruby-head: /usr/bin/apt-get install ant openjdk-6-jdk | |
# In addition to ruby: dependencies, | |
ruby-head: subversion | |
# For IronRuby (if you wish to use it) you will need: | |
ironruby: /usr/bin/apt-get install curl mono-2.0-devel | |
WARNING: you have a 'return' statement in your ~/.bashrc | |
This could cause some features of RVM to not work. | |
This means that if you see something like: | |
'[ -z "$PS1" ] && return' | |
then you change this line to: | |
if [[ -n "$PS1" ]] ; then | |
# ... original content that was below the '&& return' line ... | |
fi # <= be sure to close the if at the end of the .bashrc. | |
# This is a good place to source rvm v v v | |
[[ -s "/usr/local/rvm/scripts/rvm" ]] && source "/usr/local/rvm/scripts/rvm" # This loads RVM into a shell session. | |
EOF - This marks the end of the .bashrc file | |
Even if you are using zsh you should still adjust the ~/.bashrc | |
If you have any questions about this please visit | |
#rvm on irc.freenode.net. | |
Installation of RVM to /usr/local/rvm/ is complete. | |
root, | |
Thank you very much for using RVM! I sincerely hope that RVM helps to | |
make your work both easier and more enjoyable. | |
If you have any questions, issues and/or ideas for improvement please | |
join#rvm on irc.freenode.net and let me know, note you must register | |
(http://bit.ly/5mGjlm) and identify (/msg nickserv <nick> <pass>) to | |
talk, this prevents spambots from ruining our day. | |
My irc nickname is 'wayneeseguin' and I hang out in #rvm typically | |
~09:00-17:00EDT and again from ~21:00EDT-~23:00EDT | |
If I do not respond right away, please hang around after asking your | |
question, I will respond as soon as I am back. It is best to talk in | |
#rvm itself as then other users can help out should I be offline. | |
Be sure to get head often as rvm development happens fast, | |
you can do this by running 'rvm get head' followed by 'rvm reload' | |
or opening a new shell | |
w⦿‿⦿t | |
~ Wayne |
This file contains 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.9.2-p180 | |
mkdir: cannot create directory `/usr/local/rvm/log/ruby-1.9.2-p180': Permission denied | |
Installing Ruby from source to: /usr/local/rvm/rubies/ruby-1.9.2-p180, this may take a while depending on your cpu(s)... | |
ruby-1.9.2-p180 - #fetching | |
ruby-1.9.2-p180 - #downloading ruby-1.9.2-p180, this may take a while depending on your connection... | |
Warning: Failed to create the file ruby-1.9.2-p180.tar.bz2 | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
0 8609k 0 2736 0 0 220 0 11:07:51 0:00:12 11:07:39 220 | |
curl: (23) Failed writing body (0 != 2736) | |
ERROR: There was an error, please check /usr/local/rvm/log/ruby-1.9.2-p180/*.log. Next we'll try to fetch via http. | |
Trying http:// URL instead. | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
0 0 0 0 0 0 0 0 --:--:-- 0:00:03 --:--:-- 0Warning: Failed to create the file ruby-1.9.2-p180.tar.bz2 | |
0 8609k 0 1067 0 0 311 0 7:52:26 0:00:03 7:52:23 5179 | |
curl: (23) Failed writing body (0 != 1067) | |
ERROR: There was an error, please check /usr/local/rvm/log/ruby-1.9.2-p180/*.log | |
ERROR: There has been an error while trying to fetch the source. | |
Halting the installation. | |
ERROR: There has been an error fetching the ruby interpreter. Halting the installation. |
No, I kind of gave up on it.
ya i just opted for a non system wide install got get around this.
I got the same issue, resolved by prefixing command with "rvmsudo":
rvmsudo rvm install 1.9.2
Thx Modmad... it works perfect!
I got the problem too,
when use rvm install ruby-1.9.2-p180 or ruby-1.9.2-p302
the problem still exists
I had the same problem and had to update rvm itself. More details here:
http://stackoverflow.com/questions/10050972/rvm-refusing-to-install-curl-ssl-certificate-verification-failed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
did you resolve this? Im having the same issue.