Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating to master breaks 'rake' on Codeship #77

Open
samstickland opened this issue Aug 18, 2015 · 1 comment
Open

Updating to master breaks 'rake' on Codeship #77

samstickland opened this issue Aug 18, 2015 · 1 comment

Comments

@samstickland
Copy link

Hi,

When I update to 'master' the rake command breaks on codeship.

rof@railsonfire_95981500-275e-0133-512f-0efcb37b71e5_fa85a9fee872:~/clone$ bundle exec rake db:schema:load 
rake aborted!
missing run or map statement
/home/rof/cache/bundler/ruby/2.2.0/gems/rack-1.6.4/lib/rack/builder.rb:146:in `to_app'
/home/rof/cache/bundler/ruby/2.2.0/gems/rack-1.6.4/lib/rack/builder.rb:160:in `block in generate_map'
/home/rof/cache/bundler/ruby/2.2.0/gems/rack-1.6.4/lib/rack/builder.rb:160:in `each'
/home/rof/cache/bundler/ruby/2.2.0/gems/rack-1.6.4/lib/rack/builder.rb:160:in `generate_map'
/home/rof/cache/bundler/ruby/2.2.0/gems/rack-1.6.4/lib/rack/builder.rb:145:in `to_app'
/home/rof/cache/bundler/ruby/2.2.0/gems/capybara-2.4.4/lib/capybara/rails.rb:13:in `<top (required)>'
/home/rof/cache/bundler/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/dependencies.rb:274:in `require'
/home/rof/cache/bundler/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/dependencies.rb:274:in `block in require'
/home/rof/cache/bundler/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/dependencies.rb:240:in `load_dependency'
/home/rof/cache/bundler/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/dependencies.rb:274:in `require'
/home/rof/cache/bundler/ruby/2.2.0/gems/rspec-rails-3.2.3/lib/rspec/rails/vendor/capybara.rb:7:in `<top (required)>'
/home/rof/cache/bundler/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/dependencies.rb:274:in `require'
/home/rof/cache/bundler/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/dependencies.rb:274:in `block in require'
/home/rof/cache/bundler/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/dependencies.rb:240:in `load_dependency'
/home/rof/cache/bundler/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/dependencies.rb:274:in `require'
/home/rof/cache/bundler/ruby/2.2.0/gems/rspec-rails-3.2.3/lib/rspec/rails.rb:13:in `<top (required)>'
/home/rof/cache/bundler/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/dependencies.rb:274:in `require'
/home/rof/cache/bundler/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/dependencies.rb:274:in `block in require'
/home/rof/cache/bundler/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/dependencies.rb:240:in `load_dependency'
/home/rof/cache/bundler/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/dependencies.rb:274:in `require'
/home/rof/cache/bundler/ruby/2.2.0/bundler/gems/rspec-cells-6049946b3079/lib/rspec/cells.rb:5:in `<top (required)>'
/home/rof/cache/bundler/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/dependencies.rb:274:in `require'
/home/rof/cache/bundler/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/dependencies.rb:274:in `block in require'
/home/rof/cache/bundler/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/dependencies.rb:240:in `load_dependency'
/home/rof/cache/bundler/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/dependencies.rb:274:in `require'
/home/rof/cache/bundler/ruby/2.2.0/bundler/gems/rspec-cells-6049946b3079/lib/rspec-cells.rb:17:in `<top (required)>'
/home/rof/.rvm/gems/ruby-2.2.1/gems/bundler-1.9.5/lib/bundler/runtime.rb:76:in `require'
/home/rof/.rvm/gems/ruby-2.2.1/gems/bundler-1.9.5/lib/bundler/runtime.rb:76:in `block (2 levels) in require'
/home/rof/.rvm/gems/ruby-2.2.1/gems/bundler-1.9.5/lib/bundler/runtime.rb:72:in `each'
/home/rof/.rvm/gems/ruby-2.2.1/gems/bundler-1.9.5/lib/bundler/runtime.rb:72:in `block in require'
/home/rof/.rvm/gems/ruby-2.2.1/gems/bundler-1.9.5/lib/bundler/runtime.rb:61:in `each'
/home/rof/.rvm/gems/ruby-2.2.1/gems/bundler-1.9.5/lib/bundler/runtime.rb:61:in `require'
/home/rof/.rvm/gems/ruby-2.2.1/gems/bundler-1.9.5/lib/bundler.rb:134:in `require'
/home/rof/src/bitbucket.org/hubbado/hubbadoproto/config/application.rb:7:in `<top (required)>'
/home/rof/src/bitbucket.org/hubbado/hubbadoproto/Rakefile:4:in `require'
/home/rof/src/bitbucket.org/hubbado/hubbadoproto/Rakefile:4:in `<top (required)>'

It runs just fine on my development box, it's only Codeship that's affected.

I've carefully gone through the build on a Codeship SSH session and I've isolated it to the "bundle update rspec-cells" command.

This is rake working before the update:

rof@railsonfire_95981500-275e-0133-512f-0efcb37b71e5_fa85a9fee872:~/clone$ bundle exec rake db:schema:load 
-- enable_extension("plpgsql")
   -> 0.0155s
-- create_table("achievements", {:force=>:cascade})
   -> 0.0054s
-- create_table("acquired_certifications", {:force=>:cascade})
   -> 0.0040s

etc.

Then, after executing:

bundle update rspec-cells

rake fails with the 'missing run or map statement' error shown above.

The following diff is shown in Gemfile.lock:

$ git diff Gemfile.lock
diff --git a/Gemfile.lock b/Gemfile.lock
index 638bcd7..e462a36 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -44,7 +44,7 @@ GIT

 GIT
   remote: https://github.com/apotonick/rspec-cells
-  revision: 41aa4f865da36074604faf3587924e16312ec50f
+  revision: 6049946b3079fec135bce17b8bee4ccd3d5fe3ea
   specs:
     rspec-cells (0.3.3)
       cells (~> 4.0.0.beta5)
@apotonick
Copy link
Member

Your cells version is too old.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants