Skip to content

Instantly share code, notes, and snippets.

@HashNuke
Created June 13, 2011 02:52
Show Gist options
  • 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>
@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