Created
June 18, 2012 17:41
-
-
Save kevinrutherford/2949630 to your computer and use it in GitHub Desktop.
Bash shell history showing RVM issue on Ubuntu 12.04
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
$ cd ~ | |
$ rm -rf .rvm | |
$ curl -L https://get.rvm.io | bash -s stable | |
# ... | |
$ type rvm | head -n 1 | |
rvm is a function | |
$ rvm install 1.8.7 | |
# ... | |
$ rvm use 1.8.7 | |
# ... | |
$ rvm install 1.9.3 | |
# ... | |
$ rvm use 1.9.3 | |
# ... | |
$ cd project/ | |
Using /home/kevin/.rvm/gems/ruby-1.9.3-p194 with gemset project | |
$ bundle | |
/usr/bin/env: ruby_bundler_wrapper: No such file or directory | |
$ rake -T | |
/usr/bin/env: ruby_bundler_wrapper: No such file or directory | |
$ bundle exec rake -T | |
/usr/bin/env: ruby_bundler_wrapper: No such file or directory | |
$ rvm info | |
ruby-1.9.3-p194@project: | |
system: | |
uname: "Linux kr-laptop 3.2.0-25-generic #40-Ubuntu SMP Wed May 23 20:30:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux" | |
bash: "/bin/bash => GNU bash, version 4.2.24(1)-release (x86_64-pc-linux-gnu)" | |
zsh: " => not installed" | |
rvm: | |
version: "rvm 1.14.2 (stable) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]" | |
updated: "2 hours 48 minutes 29 seconds ago" | |
ruby: | |
interpreter: "ruby" | |
version: "1.9.3p194" | |
date: "2012-04-20" | |
platform: "x86_64-linux" | |
patchlevel: "2012-04-20 revision 35410" | |
full_version: "ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux]" | |
homes: | |
gem: "/home/kevin/.rvm/gems/ruby-1.9.3-p194@project" | |
ruby: "/home/kevin/.rvm/rubies/ruby-1.9.3-p194" | |
binaries: | |
ruby: "/home/kevin/.rvm/rubies/ruby-1.9.3-p194/bin/ruby" | |
irb: "/home/kevin/.rvm/rubies/ruby-1.9.3-p194/bin/irb" | |
gem: "/home/kevin/.rvm/rubies/ruby-1.9.3-p194/bin/gem" | |
rake: "/home/kevin/.rvm/gems/ruby-1.9.3-p194@global/bin/rake" | |
environment: | |
PATH: "/home/kevin/.rvm/gems/ruby-1.9.3-p194@project/bin:/home/kevin/.rvm/gems/ruby-1.9.3-p194@global/bin:/home/kevin/.rvm/rubies/ruby-1.9.3-p194/bin:/home/kevin/.rvm/bin:/home/kevin/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" | |
GEM_HOME: "/home/kevin/.rvm/gems/ruby-1.9.3-p194@project" | |
GEM_PATH: "/home/kevin/.rvm/gems/ruby-1.9.3-p194@project:/home/kevin/.rvm/gems/ruby-1.9.3-p194@global" | |
MY_RUBY_HOME: "/home/kevin/.rvm/rubies/ruby-1.9.3-p194" | |
IRBRC: "/home/kevin/.rvm/rubies/ruby-1.9.3-p194/.irbrc" | |
RUBYOPT: "" | |
gemset: "project" | |
$ | |
$ ruby -v | |
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux] | |
$ ruby -e 'p "hello"' | |
"hello" | |
$ which ruby | |
/home/kevin/.rvm/rubies/ruby-1.9.3-p194/bin/ruby | |
$ | |
$ env | grep rvm | |
rvm_bin_path=/home/kevin/.rvm/bin | |
GEM_HOME=/home/kevin/.rvm/gems/ruby-1.9.3-p194@project | |
IRBRC=/home/kevin/.rvm/rubies/ruby-1.9.3-p194/.irbrc | |
MY_RUBY_HOME=/home/kevin/.rvm/rubies/ruby-1.9.3-p194 | |
rvm_path=/home/kevin/.rvm | |
rvm_prefix=/home/kevin | |
PATH=/home/kevin/.rvm/gems/ruby-1.9.3-p194@project/bin:/home/kevin/.rvm/gems/ruby-1.9.3-p194@global/bin:/home/kevin/.rvm/rubies/ruby-1.9.3-p194/bin:/home/kevin/.rvm/bin:/home/kevin/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games | |
rvm_version=1.14.2 (stable) | |
GEM_PATH=/home/kevin/.rvm/gems/ruby-1.9.3-p194@project:/home/kevin/.rvm/gems/ruby-1.9.3-p194@global | |
$ | |
$ irb | |
1.9.3-p194 :001 > p 'hello' | |
"hello" | |
=> "hello" | |
1.9.3-p194 :002 > | |
$ | |
$ rvm use 1.9.3@global | |
Using /home/kevin/.rvm/gems/ruby-1.9.3-p194 with gemset global | |
$ gem list | |
*** LOCAL GEMS *** | |
bundler (1.1.4) | |
rake (0.9.2.2) | |
rubygems-bundler (1.0.2) | |
rvm (1.11.3.3) | |
$ | |
$ cat ~/.bashrc | |
#... | |
source ~/.rvm/scripts/rvm | |
$ | |
Author
kevinrutherford
commented
Jun 18, 2012
via email
On Mon, Jun 18, 2012 at 7:19 PM, Corey Ehmke ***@***.*** wrote:
Here's mine. OS X, but there are some differences, notably you have lots of @project entries, e.g. for your gem path. May be of consequence.
rvm:
version: "rvm 1.13.8 (stable) by Wayne E. Seguin ***@***.***, Michal Papis ***@***.*** [https://rvm.io/]"
I suspect this is the difference. I have 1.14.2.
And I only got these issues after I updated rvm from an old version...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment