My ruby version is => ruby 1.9.2p290 (2011-07-09 revision 32553) [i686-linux]
and I’m using Ubuntu 10.10. I installed every stuff following this blogpost. It was working fine on bash but when I installed zsh shell and oh-my-zsh then it started raising following dependency error:
/home/manish/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:247:in `to_specs': Could not find rails (>= 0) amongst [minitest-1.6.0, rake-0.8.7, rdoc-2.5.8] (Gem::LoadError)
from /home/manish/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:256:in `to_spec'
from /home/manish/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems.rb:1210:in `gem'
from /home/manish/.rvm/gems/ruby-1.9.2-p290/bin/rails:18:in `<main>'
Please tell me if there is any way to fix this.
P.S. => I have installed bundler gem. I also tried to uninstall rvm and reinstall but didn’t worked.
Oh crap this sucks. I already had rvm script
in my ~/.zshrc
but it use to say following error in my zsh shell every time:
then i rewrote the same script again following the previous one i.e. running same script twice in ~/.zshrc, it WORKED. I still could not figure it out why it raises
string not in pwd....error on first script and runs the second one.But yay! feels good to finally use zsh on my Ubuntu also 🙂