Skip to content

Instantly share code, notes, and snippets.

@raine
Created March 12, 2012 09:30
Show Gist options
  • Save raine/b201a50c68178d144423 to your computer and use it in GitHub Desktop.
Save raine/b201a50c68178d144423 to your computer and use it in GitHub Desktop.
[~]$ ruby foo.rb
["/Users/rane/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1",
"/Users/rane/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/x86_64-darwin10.7.3",
"/Users/rane/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby",
"/Users/rane/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/vendor_ruby/1.9.1",
"/Users/rane/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/vendor_ruby/1.9.1/x86_64-darwin10.7.3",
"/Users/rane/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/vendor_ruby",
"/Users/rane/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1",
"/Users/rane/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/x86_64-darwin10.7.3"]
/Users/rane/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': no such file to load -- cloudapp_api (LoadError)
from /Users/rane/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from foo.rb:4:in `<main>'
["/Users/rane/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1",
"/Users/rane/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/x86_64-darwin10.7.3",
"/Users/rane/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby",
"/Users/rane/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/vendor_ruby/1.9.1",
"/Users/rane/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/vendor_ruby/1.9.1/x86_64-darwin10.7.3",
"/Users/rane/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/vendor_ruby",
"/Users/rane/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1",
"/Users/rane/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/x86_64-darwin10.7.3"]
=> ["/Users/rane/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1", "/Users/rane/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/x86_64-darwin10.7.3", "/Users/rane/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby", "/Users/rane/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/vendor_ruby/1.9.1", "/Users/rane/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/vendor_ruby/1.9.1/x86_64-darwin10.7.3", "/Users/rane/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/vendor_ruby", "/Users/rane/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1", "/Users/rane/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/x86_64-darwin10.7.3"]
irb(main):005:0>
irb(main):006:0* require 'cloudapp_api'
=> true
irb(main):007:0>
~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment