Skip to content

Instantly share code, notes, and snippets.

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 petervandenabeele/777587 to your computer and use it in GitHub Desktop.
Save petervandenabeele/777587 to your computer and use it in GitHub Desktop.
rvm get head complains when upgrading from 1.1.7 to 1.2.2
# Note: I was on 1.1.7 (can be seen below)
# Note: Ubuntu 10.04 with up-to-date packages
$ type rvm | head -1
rvm is a function
pev@pev-desktop:~$ rvm get head
Original installed RVM version:
rvm 1.1.7 by Wayne E. Seguin (wayneeseguin@gmail.com) [http://rvm.beginrescueend.com/]
remote: Counting objects: 388, done.
remote: Compressing objects: 100% (325/325), done.
remote: Total 343 (delta 227), reused 0 (delta 0)
Receiving objects: 100% (343/343), 38.70 KiB, done.
Resolving deltas: 100% (227/227), completed with 35 local objects.
From https://github.com/wayneeseguin/rvm
* branch master -> FETCH_HEAD
Updating 1e43009..c1043a5
Fast-forward
.gitignore | 1 +
README | 3 +
Rakefile | 8 +-
bin/rvm-install | 5 -
binscripts/rvm-install | 18 +++
binscripts/rvm-update-head | 19 +--
binscripts/rvm-update-latest | 46 ++++++--
config/db | 15 +-
config/md5 | 1 +
contrib/install-system-wide | 2 +-
docs/rvm.txt | 6 +
examples/rvmrc | 5 +
lib/VERSION.yml | 4 +-
patches/ree/1.8.7/zlib-gc-fix.diff | 1 +
patches/ruby/1.8.7/zlib-gc-fix.diff | 12 ++
pkg/gentoo/rvm-1.1.10.ebuild | 59 +++++++++
pkg/gentoo/rvm-1.1.11.ebuild | 59 +++++++++
pkg/gentoo/rvm-1.1.12.ebuild | 59 +++++++++
pkg/gentoo/rvm-1.1.13.ebuild | 59 +++++++++
pkg/gentoo/rvm-1.1.8.ebuild | 59 +++++++++
pkg/gentoo/rvm-1.1.9.ebuild | 59 +++++++++
pkg/gentoo/rvm-1.2.0.ebuild | 59 +++++++++
scripts/base | 1 -
scripts/cli | 34 ++++-
scripts/db | 20 ++-
scripts/fetch | 2 +-
scripts/gemsets | 2 +-
scripts/get | 54 ++++++--
scripts/info | 6 +-
scripts/install | 36 +++++-
scripts/manage | 129 ++++++++++++-------
scripts/notes | 8 +-
scripts/override_gem | 2 +-
scripts/package | 4 +-
scripts/rubygems | 14 ++-
scripts/rvm | 73 ++++++-----
scripts/selector | 2 +-
scripts/utility | 245 ++++++++++++++++++++++++++++-------
scripts/wrapper | 2 +-
test/unit/export_test | 42 ++++++
40 files changed, 1029 insertions(+), 206 deletions(-)
delete mode 100755 bin/rvm-install
create mode 100755 binscripts/rvm-install
create mode 120000 patches/ree/1.8.7/zlib-gc-fix.diff
create mode 100644 patches/ruby/1.8.7/zlib-gc-fix.diff
create mode 100644 pkg/gentoo/rvm-1.1.10.ebuild
create mode 100644 pkg/gentoo/rvm-1.1.11.ebuild
create mode 100644 pkg/gentoo/rvm-1.1.12.ebuild
create mode 100644 pkg/gentoo/rvm-1.1.13.ebuild
create mode 100644 pkg/gentoo/rvm-1.1.8.ebuild
create mode 100644 pkg/gentoo/rvm-1.1.9.ebuild
create mode 100644 pkg/gentoo/rvm-1.2.0.ebuild
mode change 100644 => 100755 scripts/rvm
create mode 100755 test/unit/export_test
RVM: Shell scripts enabling management of multiple ruby environments.
RTFM: http://rvm.beginrescueend.com/
HELP: http://webchat.freenode.net/?channels=rvm (#rvm on irc.freenode.net)
Upgrading the RVM installation in /home/pev/.rvm/
Correct permissions for base binaries in /home/pev/.rvm/bin...
Copying manpages into place.
Upgrade Notes
* rvm_trust_rvmrcs has been changed to rvm_trust_rvmrcs_flag for consistency
* Ruby package dependency list for your OS is given by:
rvm notes
* If you encounter any issues with a ruby 'X' your best bet is to:
rvm remove X ; rvm install X
* If you wish to have the 'pretty colors' again, set in ~/.rvmrc:
export rvm_pretty_print_flag=1
* If you see the following error message: Unknown alias name: 'default'
re-set your default ruby, this is due to a change in how default works.
Upgrade of RVM in /home/pev/.rvm/ is complete.
pev,
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
Installed RVM HEAD version:
rvm 1.2.2 by Wayne E. Seguin (wayneeseguin@gmail.com) [http://rvm.beginrescueend.com/]
/home/pev/.rvm/scripts/get: line 125: l: command not found
/home/pev/.rvm/scripts/get: line 128: syntax error near unexpected token `else'
/home/pev/.rvm/scripts/get: line 128: ` else'
pev@pev-desktop:~$ gem sources
*** CURRENT SOURCES ***
http://rubygems.org
pev@pev-desktop:~$ rvm use
A RVM version 1.2.2 is installed yet 1.1.7 is loaded.
Please do one of the following:
* 'rvm reload'
* open a new shell
* source your shell init scriptspev@pev-desktop:~$ rvm list
A RVM version 1.2.2 is installed yet 1.1.7 is loaded.
Please do one of the following:
* 'rvm reload'
* open a new shell
* source your shell init scriptspev@pev-desktop:~$ rvm reload
pev@pev-desktop:~$ rvm list
rvm rubies
ruby-1.8.7-p302 [ i386 ]
ruby-1.8.7-p72 [ i386 ]
ruby-1.8.7-p330 [ i386 ]
ruby-1.9.2-p136 [ i386 ]
ruby-1.9.2-p0 [ i386 ]
ruby-1.9.2-head [ i386 ]
ree-1.8.7-2010.02 [ i386 ]
pev@pev-desktop:~$ rvm get head
Original installed RVM version:
rvm 1.2.2 by Wayne E. Seguin (wayneeseguin@gmail.com) [http://rvm.beginrescueend.com/]
From https://github.com/wayneeseguin/rvm
* branch master -> FETCH_HEAD
Already up-to-date.
RVM: Shell scripts enabling management of multiple ruby environments.
RTFM: http://rvm.beginrescueend.com/
HELP: http://webchat.freenode.net/?channels=rvm (#rvm on irc.freenode.net)
Upgrading the RVM installation in /home/pev/.rvm/
Correct permissions for base binaries in /home/pev/.rvm/bin...
Copying manpages into place.
Upgrade Notes
* rvm_trust_rvmrcs has been changed to rvm_trust_rvmrcs_flag for consistency
* Ruby package dependency list for your OS is given by:
rvm notes
* If you encounter any issues with a ruby 'X' your best bet is to:
rvm remove X ; rvm install X
* If you wish to have the 'pretty colors' again, set in ~/.rvmrc:
export rvm_pretty_print_flag=1
* If you see the following error message: Unknown alias name: 'default'
re-set your default ruby, this is due to a change in how default works.
Upgrade of RVM in /home/pev/.rvm/ is complete.
pev,
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
Installed RVM HEAD version:
rvm 1.2.2 by Wayne E. Seguin (wayneeseguin@gmail.com) [http://rvm.beginrescueend.com/]
pev@pev-desktop:~$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment