Skip to content

Instantly share code, notes, and snippets.

@penso
Created August 25, 2015 11:00
Show Gist options
  • Save penso/a1580306ad4f32295932 to your computer and use it in GitHub Desktop.
Save penso/a1580306ad4f32295932 to your computer and use it in GitHub Desktop.
WORKING:
vagrant@debian-jessie:/vagrant$ bundle exec irb
2.2.1 :001 > require 'tracker_api'
=> true
NOT WORKING:
vagrant@debian-jessie:/vagrant$ bundle exec irb
2.2.1 :001 > $:.unshift 'spec'; require 'spec_helper'
=> true
2.2.1 :002 > require 'tracker_api'
NameError: uninitialized constant Coercible::Coercer::Object::Options
from /home/vagrant/.rvm/gems/ruby-2.2.1/gems/coercible-1.0.0/lib/coercible/coercer/object.rb:6:in `<class:Object>'
from /home/vagrant/.rvm/gems/ruby-2.2.1/gems/coercible-1.0.0/lib/coercible/coercer/object.rb:5:in `<class:Coercer>'
from /home/vagrant/.rvm/gems/ruby-2.2.1/gems/coercible-1.0.0/lib/coercible/coercer/object.rb:2:in `<module:Coercible>'
from /home/vagrant/.rvm/gems/ruby-2.2.1/gems/coercible-1.0.0/lib/coercible/coercer/object.rb:1:in `<top (required)>'
from /home/vagrant/.rvm/gems/ruby-2.2.1/gems/coercible-1.0.0/lib/coercible.rb:35:in `<top (required)>'
from /home/vagrant/.rvm/gems/ruby-2.2.1/gems/virtus-1.0.5/lib/virtus.rb:246:in `<top (required)>'
from /home/vagrant/.rvm/gems/ruby-2.2.1/bundler/gems/tracker_api-df1906cea39c/lib/tracker_api.rb:4:in `<top (required)>'
from (irb):2
from /home/vagrant/.rvm/rubies/ruby-2.2.1/bin/irb:11:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment