-
-
Save HashNuke/1022260 to your computer and use it in GitHub Desktop.
akashmanohar:cas-auth-app akashmanohar$ rails c | |
Loading development environment (Rails 3.1.0.rc1) | |
script/rails: No such file or directory - rvm tools identifier | |
load error: /Users/akashmanohar/.rvm/rubies/ruby-1.9.2-p180/.irbrc | |
NoMethodError: undefined method `strip' for nil:NilClass | |
/Users/akashmanohar/.rvm/gems/ruby-1.9.2-p180@rails31/gems/activesupport-3.1.0.rc1/lib/active_support/whiny_nil.rb:48:in `method_missing' | |
/Users/akashmanohar/.rvm/scripts/irbrc.rb:40:in `<top (required)>' | |
/Users/akashmanohar/.rvm/gems/ruby-1.9.2-p180@rails31/gems/activesupport-3.1.0.rc1/lib/active_support/dependencies.rb:237:in `require' | |
/Users/akashmanohar/.rvm/gems/ruby-1.9.2-p180@rails31/gems/activesupport-3.1.0.rc1/lib/active_support/dependencies.rb:237:in `block in require' | |
/Users/akashmanohar/.rvm/gems/ruby-1.9.2-p180@rails31/gems/activesupport-3.1.0.rc1/lib/active_support/dependencies.rb:223:in `block in load_dependency' | |
/Users/akashmanohar/.rvm/gems/ruby-1.9.2-p180@rails31/gems/activesupport-3.1.0.rc1/lib/active_support/dependencies.rb:639:in `new_constants_in' | |
/Users/akashmanohar/.rvm/gems/ruby-1.9.2-p180@rails31/gems/activesupport-3.1.0.rc1/lib/active_support/dependencies.rb:223:in `load_dependency' | |
/Users/akashmanohar/.rvm/gems/ruby-1.9.2-p180@rails31/gems/activesupport-3.1.0.rc1/lib/active_support/dependencies.rb:237:in `require' | |
/Users/akashmanohar/.rvm/rubies/ruby-1.9.2-p180/.irbrc:11:in `<top (required)>' | |
/Users/akashmanohar/.rvm/gems/ruby-1.9.2-p180@rails31/gems/activesupport-3.1.0.rc1/lib/active_support/dependencies.rb:233:in `load' | |
/Users/akashmanohar/.rvm/gems/ruby-1.9.2-p180@rails31/gems/activesupport-3.1.0.rc1/lib/active_support/dependencies.rb:233:in `block in load' | |
/Users/akashmanohar/.rvm/gems/ruby-1.9.2-p180@rails31/gems/activesupport-3.1.0.rc1/lib/active_support/dependencies.rb:223:in `block in load_dependency' | |
/Users/akashmanohar/.rvm/gems/ruby-1.9.2-p180@rails31/gems/activesupport-3.1.0.rc1/lib/active_support/dependencies.rb:639:in `new_constants_in' | |
/Users/akashmanohar/.rvm/gems/ruby-1.9.2-p180@rails31/gems/activesupport-3.1.0.rc1/lib/active_support/dependencies.rb:223:in `load_dependency' | |
/Users/akashmanohar/.rvm/gems/ruby-1.9.2-p180@rails31/gems/activesupport-3.1.0.rc1/lib/active_support/dependencies.rb:233:in `load' | |
/Users/akashmanohar/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/irb/init.rb:236:in `run_config' | |
/Users/akashmanohar/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/irb/init.rb:19:in `setup' | |
/Users/akashmanohar/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/irb.rb:53:in `start' | |
/Users/akashmanohar/.rvm/gems/ruby-1.9.2-p180@rails31/gems/railties-3.1.0.rc1/lib/rails/commands/console.rb:44:in `start' | |
/Users/akashmanohar/.rvm/gems/ruby-1.9.2-p180@rails31/gems/railties-3.1.0.rc1/lib/rails/commands/console.rb:8:in `start' | |
/Users/akashmanohar/.rvm/gems/ruby-1.9.2-p180@rails31/gems/railties-3.1.0.rc1/lib/rails/commands.rb:40:in `<top (required)>' | |
irb(main):001:0> |
Thanks! The magic of an active internet community :D
That didn't work for me though (this is on a fresh OSX install). Luckily, I don't actually need that functionality now, so I'm ok.
thanks SingAlong, i have this problem and it solved by your method
No problem @gnepud. Happy to know I could help :)
yes this helps I just did:
rvm get head
and than
sudo apt-get install build-essential 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 automake libtool bison subversion
and reload the console
Thanks, i hadn't updated rvm in a while either. Forgot really. so, yesterday i just did a rvm -v
to check the version. Then all of a sudden (the next morning) I was getting that message you gisted. It was almost as if i awoke the sleeping giant.
Anyways, thanks again, i just updated and it is now gonzo.
thanks!
Hey @pjammer, a big two-handed "Hi" from Bangalore. Been a long time.
(we know each other on IRC I used to be SingAlong on #railsbridge. I'm HashNuke these days).
Small world :)
ah, cool. I'm slowly trolling again on IRC, so I may see you around. cheers.
what happens to someone who is doomed to use windows? would updating pik help?
Maybe (if pik is a fork of rvm). Did you try updating it?
wtf? I didn't write this comment. probably my github account was hacked.
Thanks, HashNuke.
This solution also helps me for solving this problem.
Hey I have this problem too... any solution?