Sunday, 15 July 2012

Problems configuring rvm and `bundler not installed` -



Problems configuring rvm and `bundler not installed` -

i novice having major problems rvm. bundle install gives me error

`error: gem bundler not installed, run `gem install bundler` first.

even though know is installed, shows if run gem list -l. suspect that's returning list of scheme gems, suggest rvm problem. trying gem install bundler 1 time again doesn't help. i've looked around @ other people have had similar problems , can't find reply helps whatever situation i'm in. rvm info gives me output:

# rvm info system: system: uname: "linux box576.bluehost.com 2.6.32-20130101.60.1.bh6.x86_64 #1 smp tue jan 1 22:59:09 est 2013 x86_64 x86_64 x86_64 gnu/linux" system: "unknown/libc-2.12/x86_64" bash: "/ramdisk/bin/bash => gnu bash, version 4.1.2(1)-release (x86_64-redhat-linux-gnu)" zsh: "/usr/bin/zsh => zsh 4.3.10 (x86_64-redhat-linux-gnu)" rvm: version: "rvm 1.18.8 (master) wayne e. seguin <wayneeseguin@gmail.com>, michal papis <mpapis@gmail.com> [https://rvm.io/]" updated: "22 hours 59 minutes ago" homes: gem: "/home7/contenw6/ruby/gems" ruby: "/home7/contenw6/.rvm/rubies/ruby-1.9.3-p194" binaries: ruby: "/home7/contenw6/.rvm/rubies/ruby-1.9.3-p194/bin/ruby" irb: "/home7/contenw6/.rvm/rubies/ruby-1.9.3-p194/bin/irb" gem: "/home7/contenw6/.rvm/rubies/ruby-1.9.3-p194/bin/gem" rake: "/home7/contenw6/.rvm/rubies/ruby-1.9.3-p194/bin/rake" environment: path: "/usr/local/jdk/bin:/home7/contenw6/.rvm/gems/ruby-1.9.3-p194@projecta/bin:/home7/contenw6/.rvm/gems/ruby-1.9.3-p194@global/bin:/home7/contenw6/.rvm/rubies/ruby-1.9.3-p194/bin:/home7/contenw6/.rvm/bin:/home7/contenw6/perl5/bin:/usr/lib64/qt-3.3/bin:/ramdisk/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/x11r6/bin:/home7/contenw6/ruby/gems/bin:/home7/contenw6/bin" gem_home: "/home7/contenw6/ruby/gems" gem_path: "/home7/contenw6/ruby/gems:/usr/lib/ruby/gems/1.8" my_ruby_home: "/home7/contenw6/.rvm/rubies/ruby-1.9.3-p194" irbrc: "/home7/contenw6/.rvm/rubies/ruby-1.9.3-p194/.irbrc" rubyopt: "" gemset: ""

if rvm utilize 1.9.3-p194@projecta --default environment section looks this:

environment: path: "/home7/contenw6/.rvm/gems/ruby-1.9.3-p194@projecta/bin:/home7/contenw6/.rvm/gems/ruby-1.9.3-p194@global/bin:/home7/contenw6/.rvm/rubies/ruby-1.9.3-p194/bin:/home7/contenw6/.rvm/bin:/usr/local/jdk/bin:/home7/contenw6/perl5/bin:/usr/lib64/qt-3.3/bin:/ramdisk/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/x11r6/bin:/home7/contenw6/ruby/gems/bin:/home7/contenw6/bin" gem_home: "/home7/contenw6/.rvm/gems/ruby-1.9.3-p194@projecta" gem_path: "/home7/contenw6/.rvm/gems/ruby-1.9.3-p194@projecta:/home7/contenw6/.rvm/gems/ruby-1.9.3-p194@global" my_ruby_home: "/home7/contenw6/.rvm/rubies/ruby-1.9.3-p194" irbrc: "/home7/contenw6/.rvm/rubies/ruby-1.9.3-p194/.irbrc" rubyopt: "" gemset: "projecta"

but when log in , seek 1 time again reverts first output above. i've screwed somewhere, , have no thought how prepare installation or problem coming from. help appreciated.

this looks previous ruby settings, check ~/.bashrc or ~/.zshenv variables set might contain mentioned paths

if not find seek checking in /etc:

grep -rn "/home7/contenw6/ruby/gems" /etc

update comments:

sed -i'' '/gem_home=/ d;' ~/.bashrc rm ~/.gemrc

rvm bundler

No comments:

Post a Comment