Skip to content

Instantly share code, notes, and snippets.

@arax
Created September 3, 2012 21:34
Show Gist options
  • Save arax/3613751 to your computer and use it in GitHub Desktop.
Save arax/3613751 to your computer and use it in GitHub Desktop.
rOCCI DSL crash
~/.rvm/gems/ruby-1.9.2-p290/gems/occi-2.5.3/lib/occi/api/dsl.rb:101:in `check': You have to issue 'connect' first! (RuntimeError)
from ~/.rvm/gems/ruby-1.9.2-p290/gems/occi-2.5.3/lib/occi/api/dsl.rb:79:in `mixins'
from ~/.rvm/gems/ruby-1.9.2-p290/gems/occi-2.5.3/lib/occi/collection.rb:23:in `initialize'
from ~/.rvm/gems/ruby-1.9.2-p290/gems/occi-2.5.3/lib/occi/parser.rb:31:in `new'
from ~/.rvm/gems/ruby-1.9.2-p290/gems/occi-2.5.3/lib/occi/parser.rb:31:in `parse'
from ~/.rvm/gems/ruby-1.9.2-p290/gems/occi-2.5.3/lib/occi/api/client.rb:420:in `get'
from ~/.rvm/gems/ruby-1.9.2-p290/gems/occi-2.5.3/lib/occi/api/client.rb:516:in `set_model'
from ~/.rvm/gems/ruby-1.9.2-p290/gems/occi-2.5.3/lib/occi/api/client.rb:83:in `initialize'
from ~/.rvm/gems/ruby-1.9.2-p290/gems/occi-2.5.3/lib/occi/api/dsl.rb:5:in `new'
from ~/.rvm/gems/ruby-1.9.2-p290/gems/occi-2.5.3/lib/occi/api/dsl.rb:5:in `connect'
from examples/dsl_example.rb:20:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment