Skip to content

Instantly share code, notes, and snippets.

@okonomi
Created March 14, 2019 06:16
Show Gist options
  • Save okonomi/0c893c8ecfdb11fdbb86bb3296c566ad to your computer and use it in GitHub Desktop.
Save okonomi/0c893c8ecfdb11fdbb86bb3296c566ad to your computer and use it in GitHub Desktop.
Raise "undefined method `logger'" error with wrapbox v0.9.0
# frozen_string_literal: true
source "https://rubygems.org"
git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
gem 'wrapbox', '0.9.0'
$ 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)
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