Skip to content

Instantly share code, notes, and snippets.

@trinitronx
Created May 12, 2011 20:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trinitronx/969402 to your computer and use it in GitHub Desktop.
Save trinitronx/969402 to your computer and use it in GitHub Desktop.
Yet Another RVM problem :-(
sysuser@test-3504:~$ bash < <(curl -s https://rvm.beginrescueend.com/install/rvm)
+ export HOME=/opt/standingcloud
+ HOME=/opt/standingcloud
+ (( 0 == 0 ))
+ for rvmrc in /etc/rvmrc '"$HOME/.rvmrc"'
+ [[ -f /etc/rvmrc ]]
+ grep '^\s*rvm .*$' /etc/rvmrc
+ source /etc/rvmrc
++ umask g+w
+ for rvmrc in /etc/rvmrc '"$HOME/.rvmrc"'
+ [[ -f /opt/standingcloud/.rvmrc ]]
+ grep '^\s*rvm .*$' /opt/standingcloud/.rvmrc
+ source /opt/standingcloud/.rvmrc
++ export rvm_path=/opt/standingcloud/stack/rvm
++ rvm_path=/opt/standingcloud/stack/rvm
+ [[ -z /opt/standingcloud/stack/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} > '
+ : 264 > rvm_src_path=/opt/standingcloud/stack/rvm/src
+ : 265 > rvm_archives_path=/opt/standingcloud/stack/rvm/archives
+ : 266 > rvm_releases_url=https://rvm.beginrescueend.com/releases
++ : 267 > dirname /opt/standingcloud/stack/rvm
+ : 267 > rvm_prefix=/opt/standingcloud/stack/
+ : 269 > for dir in '"$rvm_src_path"' '"$rvm_archives_path"'
+ : 270 > [[ ! -d /opt/standingcloud/stack/rvm/src ]]
+ : 270 > mkdir -p /opt/standingcloud/stack/rvm/src/
+ : 269 > for dir in '"$rvm_src_path"' '"$rvm_archives_path"'
+ : 270 > [[ ! -d /opt/standingcloud/stack/rvm/archives ]]
+ : 270 > mkdir -p /opt/standingcloud/stack/rvm/archives/
+ : 275 > case "${version}" in
+ : 277 > install_head
+ : install_head() 95 > local remote=origin
+ : install_head() 97 > [[ -d /opt/standingcloud/stack/rvm/src/rvm/.git ]]
+ : install_head() 112 > builtin cd /opt/standingcloud/stack/rvm/src
+ : install_head() 114 > git clone --depth 1 git://github.com/wayneeseguin/rvm.git
Initialized empty Git repository in /opt/standingcloud/stack/rvm/src/rvm/.git/
remote: Counting objects: 375, done.
remote: Compressing objects: 100% (247/247), done.
remote: Total 375 (delta 125), reused 262 (delta 101)
Receiving objects: 100% (375/375), 707.35 KiB, done.
Resolving deltas: 100% (125/125), done.
+ : install_head() 121 > builtin cd /opt/standingcloud/stack/rvm/src/rvm/
+ : install_head() 123 > return 0
+ : 295 > chmod +x ./scripts/install
+ : 297 > flags=()
+ : 298 > (( 0 == 1 ))
+ : 302 > (( 0 == 1 ))
+ : 308 > exec ./scripts/install --prefix /opt/standingcloud/stack/ --path /opt/standingcloud/stack/rvm
WARNING: Could not source script '/opt/standingcloud/stack/rvm/scripts/base', file does not exist. RVM will likely not work as expected.
WARNING: Could not source script '/opt/standingcloud/stack/rvm/scripts/version', file does not exist. RVM will likely not work as expected.
WARNING: Could not source script '/opt/standingcloud/stack/rvm/scripts/selector', file does not exist. RVM will likely not work as expected.
WARNING: Could not source script '/opt/standingcloud/stack/rvm/scripts/cd', file does not exist. RVM will likely not work as expected.
WARNING: Could not source script '/opt/standingcloud/stack/rvm/scripts/cli', file does not exist. RVM will likely not work as expected.
WARNING: Could not source script '/opt/standingcloud/stack/rvm/scripts/override_gem', file does not exist. RVM will likely not work as expected.
cat: /opt/standingcloud/stack/rvm/VERSION: No such file or directory
/opt/standingcloud/stack/rvm/src/rvm/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 /opt/standingcloud/stack/rvm/
Correct permissions for base binaries in /opt/standingcloud/stack/rvm/bin...
Copying manpages into place.
Notes for Linux ( DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.04
DISTRIB_CODENAME=hardy
DISTRIB_DESCRIPTION="Ubuntu 8.04.4 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
Installation of RVM to /opt/standingcloud/stack/rvm/ is complete.
sysuser,
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
@javadba
Copy link

javadba commented May 14, 2011

I had precisely the same issues with rvm (from ubuntu 10.0.4)

Well I'm going to try to hack this - let's see how far get with it..

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