Created
March 14, 2019 06:16
-
-
Save okonomi/0c893c8ecfdb11fdbb86bb3296c566ad to your computer and use it in GitHub Desktop.
Raise "undefined method `logger'" error with wrapbox v0.9.0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# frozen_string_literal: true | |
source "https://rubygems.org" | |
git_source(:github) {|repo_name| "https://github.com/#{repo_name}" } | |
gem 'wrapbox', '0.9.0' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ bundle exec ruby wrapbox-sample.rb | |
Traceback (most recent call last): | |
2: from wrapbox-sample.rb:3:in `<main>' | |
1: from wrapbox-sample.rb:3:in `new' | |
/Users/okonomi/src/local/wrapbox-sandbox/vendor/bundle/ruby/2.6.0/gems/wrapbox-0.9.0/lib/wrapbox/runner/ecs.rb:96:in `initialize': undefined method `logger' for Wrapbox:Module (NoMethodError) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'wrapbox/runner/ecs' | |
Wrapbox::Runner::Ecs.new({}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment