Created
July 1, 2011 21:54
-
-
Save whartonn/1059485 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ruby-1.9.2-p136 :015 > rvm_path = File.dirname(File.dirname(ENV['MY_RUBY_HOME'])) | |
=> "/usr/local//rvm" | |
ruby-1.9.2-p136 :016 > rvm_lib_path = File.join(rvm_path, 'lib') | |
=> "/usr/local//rvm/lib" | |
ruby-1.9.2-p136 :017 > $LOAD_PATH.unshift rvm_lib_path | |
=> ["/usr/local//rvm/lib", "/usr/local//rvm/lib", "/var/www/fat/releases/20110701061923/lib", "/var/www/fat/releases/20110701061923/vendor", "/var/www/fat/releases/20110701061923/lib/", "/var/www/fat/releases/20110701061923/lib/tasks/", "/var/www/fat/releases/20110701061923/lib/nike_plus/", "/var/www/fat/releases/20110701061923/lib/jobs/", "/var/www/fat/releases/20110701061923/app/models/observations", "/var/www/fat/releases/20110701061923/app/models/observations/", "/var/www/fat/releases/20110701061923/app/models/authentications", "/var/www/fat/releases/20110701061923/app/models/authentications/", "/var/www/fat/releases/20110701061923/app/helpers", "/var/www/fat/releases/20110701061923/app/controllers", "/var/www/fat/releases/20110701061923/app/models", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/devise_invitable-0.5.1/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/devise_invitable-0.5.1/app/controllers", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/devise-1.3.4/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/devise-1.3.4/app/mailers", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/devise-1.3.4/app/helpers", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/devise-1.3.4/app/controllers", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/grackle-0.1.10/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/uuidtools-2.1.2/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/wirble-0.1.3/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/will_paginate-3.0.pre2/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/webrat-0.7.3/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/sqlite3-ruby-1.3.3/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/sqlite3-1.3.3/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/rvm-1.6.20/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/resque-1.17.1/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/vegas-0.1.8/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/sinatra-1.2.6/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/tilt-1.3.2/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/redis-namespace-1.0.3/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/redis-2.2.1/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/pg-0.11.0/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/pg-0.11.0/ext", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/paperclip-2.3.12/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/omniauth-0.2.3/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/oa-openid-0.2.3/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/ruby-openid-apps-discovery-1.2.0/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/rack-openid-1.2.0/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/ruby-openid-2.1.8/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/oa-oauth-0.2.3/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/oauth2-0.3.0/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/oa-more-0.2.3/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/oa-enterprise-0.2.3/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/rubyntlm-0.1.1/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/pyu-ruby-sasl-0.0.3.3/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/oa-basic-0.2.3/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/rest-client-1.6.3/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/oa-core-0.2.3/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/nokogiri-1.4.6/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/net-ldap-0.1.1/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/mush-0.2.1/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/multi_json-0.0.5/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/jquery-rails-1.0.12/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/httparty-0.6.1/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/fitbit-0.2.0/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/oauth-0.4.5/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/fb_graph-1.9.1/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/rack-oauth2-0.8.3/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/json-1.5.3/ext/json/ext", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/json-1.5.3/ext", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/json-1.5.3/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/httpclient-2.2.1/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/faraday-0.6.1/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/multipart-post-1.1.2/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/factory_girl-1.3.3/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/rails-3.0.9/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/railties-3.0.9/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/thor-0.14.6/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/rdoc-3.8/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/warden-1.0.4/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/orm_adapter-0.0.5/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/delayed_job-2.1.4/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/daemons-1.1.4/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/crack-0.1.8/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/cocaine-0.1.0/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/capistrano-2.6.0/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/net-ssh-gateway-1.1.0/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/net-sftp-2.0.5/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/net-scp-1.0.4/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/net-ssh-2.1.4/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/highline-1.6.2/lib", "/usr/local/rvm/gems/ruby-1.9.2-p136@global/gems/bundler-1.0.15/gems/bundler-1.0.15/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/bcrypt-ruby-2.1.4/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/awesome_print-0.4.0/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/attr_required-0.0.3/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/attr_encrypted-1.2.0/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/encryptor-1.1.3/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/addressable-2.2.6/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/activeresource-3.0.9/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/activerecord-3.0.9/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/arel-2.0.10/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/actionmailer-3.0.9/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/mail-2.2.19/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/treetop-1.4.9/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/polyglot-0.3.1/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/mime-types-1.16/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/actionpack-3.0.9/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/tzinfo-0.3.29/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/rack-test-0.5.7/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/rack-mount-0.6.14/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/rack-1.2.3/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/erubis-2.6.6/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/activemodel-3.0.9/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/i18n-0.5.0/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/builder-2.1.2/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/activesupport-3.0.9/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/abstract-1.0.0/lib", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/rake-0.8.7/lib", "/usr/local/rvm/gems/ruby-1.9.2-p136@global/gems/bundler-1.0.15/lib", "/usr/local/rvm/rubies/ruby-1.9.2-p136/lib/ruby/site_ruby/1.9.1", "/usr/local/rvm/rubies/ruby-1.9.2-p136/lib/ruby/site_ruby/1.9.1/i686-linux", "/usr/local/rvm/rubies/ruby-1.9.2-p136/lib/ruby/site_ruby", "/usr/local/rvm/rubies/ruby-1.9.2-p136/lib/ruby/vendor_ruby/1.9.1", "/usr/local/rvm/rubies/ruby-1.9.2-p136/lib/ruby/vendor_ruby/1.9.1/i686-linux", "/usr/local/rvm/rubies/ruby-1.9.2-p136/lib/ruby/vendor_ruby", "/usr/local/rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1", "/usr/local/rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/i686-linux", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/actionpack-3.0.9/lib/action_controller/vendor/html-scanner", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/rack-mount-0.6.14/lib/rack/mount/vendor/multimap", "/var/www/fat/shared/bundle/ruby/1.9.1/gems/rack-mount-0.6.14/lib/rack/mount/vendor/regin"] | |
ruby-1.9.2-p136 :018 > RVM.current | |
ArgumentError: RVM is not missing constant Environment! | |
from /var/www/fat/shared/bundle/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:479:in `load_missing_constant' | |
from /var/www/fat/shared/bundle/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:183:in `block in const_missing' | |
from /var/www/fat/shared/bundle/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:181:in `each' | |
from /var/www/fat/shared/bundle/ruby/1.9.1/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:181:in `const_missing' | |
from /usr/local/rvm/lib/rvm/environment.rb:6:in `<module:RVM>' | |
from /usr/local/rvm/lib/rvm/environment.rb:3:in `<top (required)>' | |
from /var/www/fat/shared/bundle/ruby/1.9.1/gems/rvm-1.6.20/lib/rvm.rb:69:in `current' | |
from (irb):18 | |
from /var/www/fat/shared/bundle/ruby/1.9.1/gems/railties-3.0.9/lib/rails/commands/console.rb:44:in `start' | |
from /var/www/fat/shared/bundle/ruby/1.9.1/gems/railties-3.0.9/lib/rails/commands/console.rb:8:in `start' | |
from /var/www/fat/shared/bundle/ruby/1.9.1/gems/railties-3.0.9/lib/rails/commands.rb:23:in `<top (required)>' | |
from script/rails:6:in `require' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment