cbeer / engine_cart

Rake tasks to generate test applications for Rails Engines
MIT License
18 stars 16 forks source link

Engine cart doesn't work with Rails 5.0.2.rc1 #72

Closed jcoyne closed 11 months ago

jcoyne commented 7 years ago
enginecart-bundler-cleanenv

Expected string default value for '--test-framework'; got false (boolean)

Expected string default value for '--test-framework'; got false (boolean)

Expected string default value for '--test-framework'; got false (boolean)

Expected string default value for '--test-framework'; got false (boolean)

Expected string default value for '--test-framework'; got false (boolean)

Expected string default value for '--test-framework'; got false (boolean)

Expected string default value for '--test-framework'; got false (boolean)

rake aborted!

EngineCart failed on with: pid 7418 exit 1

/home/travis/build/projecthydra-labs/hyrax/vendor/bundle/ruby/2.4.0/gems/engine_cart-1.1.0/lib/engine_cart/tasks/engine_cart.rake:103:in `block (3 levels) in <top (required)>'

/home/travis/build/projecthydra-labs/hyrax/vendor/bundle/ruby/2.4.0/gems/engine_cart-1.1.0/lib/engine_cart/tasks/engine_cart.rake:134:in `block (2 levels) in within_test_app'

/home/travis/.rvm/gems/ruby-2.4.0/gems/bundler-1.14.5/lib/bundler.rb:286:in `block in with_clean_env'

/home/travis/.rvm/gems/ruby-2.4.0/gems/bundler-1.14.5/lib/bundler.rb:521:in `with_env'

/home/travis/.rvm/gems/ruby-2.4.0/gems/bundler-1.14.5/lib/bundler.rb:286:in `with_clean_env'

/home/travis/build/projecthydra-labs/hyrax/vendor/bundle/ruby/2.4.0/gems/engine_cart-1.1.0/lib/engine_cart/tasks/engine_cart.rake:133:in `block in within_test_app'

/home/travis/build/projecthydra-labs/hyrax/vendor/bundle/ruby/2.4.0/gems/engine_cart-1.1.0/lib/engine_cart/tasks/engine_cart.rake:132:in `chdir'

/home/travis/build/projecthydra-labs/hyrax/vendor/bundle/ruby/2.4.0/gems/engine_cart-1.1.0/lib/engine_cart/tasks/engine_cart.rake:132:in `within_test_app'

/home/travis/build/projecthydra-labs/hyrax/vendor/bundle/ruby/2.4.0/gems/engine_cart-1.1.0/lib/engine_cart/tasks/engine_cart.rake:99:in `block (2 levels) in <top (required)>'

/home/travis/build/projecthydra-labs/hyrax/vendor/bundle/ruby/2.4.0/gems/rake-12.0.0/exe/rake:27:in `<top (required)>'

/home/travis/.rvm/gems/ruby-2.4.0/gems/bundler-1.14.5/lib/bundler/cli/exec.rb:74:in `load'

/home/travis/.rvm/gems/ruby-2.4.0/gems/bundler-1.14.5/lib/bundler/cli/exec.rb:74:in `kernel_load'

/home/travis/.rvm/gems/ruby-2.4.0/gems/bundler-1.14.5/lib/bundler/cli/exec.rb:27:in `run'

/home/travis/.rvm/gems/ruby-2.4.0/gems/bundler-1.14.5/lib/bundler/cli.rb:335:in `exec'

/home/travis/.rvm/gems/ruby-2.4.0/gems/bundler-1.14.5/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'

/home/travis/.rvm/gems/ruby-2.4.0/gems/bundler-1.14.5/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'

/home/travis/.rvm/gems/ruby-2.4.0/gems/bundler-1.14.5/lib/bundler/vendor/thor/lib/thor.rb:359:in `dispatch'

/home/travis/.rvm/gems/ruby-2.4.0/gems/bundler-1.14.5/lib/bundler/cli.rb:20:in `dispatch'

/home/travis/.rvm/gems/ruby-2.4.0/gems/bundler-1.14.5/lib/bundler/vendor/thor/lib/thor/base.rb:440:in `start'

/home/travis/.rvm/gems/ruby-2.4.0/gems/bundler-1.14.5/lib/bundler/cli.rb:11:in `start'

/home/travis/.rvm/gems/ruby-2.4.0/gems/bundler-1.14.5/exe/bundle:32:in `block in <top (required)>'

/home/travis/.rvm/gems/ruby-2.4.0/gems/bundler-1.14.5/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'

/home/travis/.rvm/gems/ruby-2.4.0/gems/bundler-1.14.5/exe/bundle:24:in `<top (required)>'

/home/travis/.rvm/gems/ruby-2.4.0/bin/bundle:22:in `load'

/home/travis/.rvm/gems/ruby-2.4.0/bin/bundle:22:in `<main>'

/home/travis/.rvm/gems/ruby-2.4.0/bin/ruby_executable_hooks:15:in `eval'

/home/travis/.rvm/gems/ruby-2.4.0/bin/ruby_executable_hooks:15:in `<main>'

Tasks: TOP => default => ci => engine_cart:generate

(See full trace by running task with --trace)

Looks like a problem in here: https://github.com/cbeer/engine_cart/blob/master/lib/engine_cart/tasks/engine_cart.rake#L100-L102