Skip to content

Instantly share code, notes, and snippets.

@HashNuke
Created June 13, 2011 02:52
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 HashNuke/1022260 to your computer and use it in GitHub Desktop.
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>
@evantahler
Copy link

Hey I have this problem too... any solution?

@HashNuke
Copy link
Author

HashNuke commented Jun 20, 2011 via email

@evantahler
Copy link

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.

@gnepud
Copy link

gnepud commented Jul 15, 2011

thanks SingAlong, i have this problem and it solved by your method

@HashNuke
Copy link
Author

No problem @gnepud. Happy to know I could help :)

@pmashchak
Copy link

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

@pjammer
Copy link

pjammer commented Nov 10, 2011

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.

@HashNuke
Copy link
Author

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 :)

@pjammer
Copy link

pjammer commented Nov 11, 2011

ah, cool. I'm slowly trolling again on IRC, so I may see you around. cheers.

@dpisarewski
Copy link

what happens to someone who is doomed to use windows? would updating pik help?

@HashNuke
Copy link
Author

Maybe (if pik is a fork of rvm). Did you try updating it?

@dpisarewski
Copy link

wtf? I didn't write this comment. probably my github account was hacked.

@yhunglee
Copy link

Thanks, HashNuke.
This solution also helps me for solving this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment