Skip to content

Instantly share code, notes, and snippets.

@coderforhire
Created October 1, 2012 15:38
Show Gist options
  • Save coderforhire/3812563 to your computer and use it in GitHub Desktop.
Save coderforhire/3812563 to your computer and use it in GitHub Desktop.
cs = OpenStack::Compute::Connection.new(:username => USERNAME, :api_key => API_KEY, :authtenant => TENANT, :auth_url => API_URL)
NameError: uninitialized constant OpenStack
from (irb):1
from /home/aa/.rvm/gems/ruby-1.9.3-p0/gems/railties-3.2.3/lib/rails/commands/console.rb:47:in `start'
from /home/aa/.rvm/gems/ruby-1.9.3-p0/gems/railties-3.2.3/lib/rails/commands/console.rb:8:in `start'
from /home/aa/.rvm/gems/ruby-1.9.3-p0/gems/railties-3.2.3/lib/rails/commands.rb:41:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'
require 'openstack-compute'
LoadError: cannot load such file -- openstack-compute
from /home/aa/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:251:in `require'
from /home/aa/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:251:in `block in require'
from /home/aa/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:236:in `load_dependency'
from /home/aa/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:251:in `require'
from (irb):3
from /home/aa/.rvm/gems/ruby-1.9.3-p0/gems/railties-3.2.3/lib/rails/commands/console.rb:47:in `start'
from /home/aa/.rvm/gems/ruby-1.9.3-p0/gems/railties-3.2.3/lib/rails/commands/console.rb:8:in `start'
from /home/aa/.rvm/gems/ruby-1.9.3-p0/gems/railties-3.2.3/lib/rails/commands.rb:41:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'
ls .rvm/gems/ruby-1.9.3-p0/gems | grep openstack
openstack-1.0.6
openstack-compute-1.1.10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment