Closed kbruccoleri closed 5 years ago
+1 on this, faced it while tried to install crystalball to existing application (Ruby 2.6.3, Bundler 2.0.1).
Forwardable
is in Ruby's stdlib, not core, so you have to require 'forwardable'
to get it.
CI build is green https://travis-ci.org/toptal/crystalball/builds/500008661 Thanks, merged.
Resolves the following issue when running
bundle exec crystalball
(with bunder 2.0.1, ruby 2.4.5)bundler: failed to load command: crystalball (/Users/kevin.bruccoleri/.rbenv/versions/2.4.5/lib/ruby/gems/2.4.0/bin/crystalball) NameError: uninitialized constant Crystalball::SourceDiff::Forwardable /Users/kevin.bruccoleri/code/crystalball/lib/crystalball/source_diff.rb:10:in'
/Users/kevin.bruccoleri/code/crystalball/lib/crystalball/source_diff.rb:6:in
<class:SourceDiff>' /Users/kevin.bruccoleri/code/crystalball/lib/crystalball/source_diff.rb:8:in
<top (required)>' /Users/kevin.bruccoleri/code/crystalball/lib/crystalball/git_repo.rb:4:in
require' /Users/kevin.bruccoleri/code/crystalball/lib/crystalball/git_repo.rb:4:in<top (required)>' /Users/kevin.bruccoleri/code/crystalball/lib/crystalball.rb:4:in
require' /Users/kevin.bruccoleri/code/crystalball/lib/crystalball.rb:4:in<top (required)>' /Users/kevin.bruccoleri/code/crystalball/bin/crystalball:4:in
require' /Users/kevin.bruccoleri/code/crystalball/bin/crystalball:4:in<top (required)>' /Users/kevin.bruccoleri/.rbenv/versions/2.4.5/lib/ruby/gems/2.4.0/bin/crystalball:23:in
load' /Users/kevin.bruccoleri/.rbenv/versions/2.4.5/lib/ruby/gems/2.4.0/bin/crystalball:23:in `<top (required)>'