trailblazer / cells

View components for Ruby and Rails.
https://trailblazer.to/2.1/docs/cells.html
3.07k stars 236 forks source link

Update rails rake task to run rails4.2 test suite #284

Closed summera closed 6 years ago

summera commented 9 years ago

@apotonick This will run the rails4.2 test suite with rake rails. However, when run with bundle exec rake rails it breaks because the Gemfile at the root of the gem is loaded instead of the Gemfile in the test/rails4.2 directory. It will work when running BUNDLE_GEMFILE=test/rails4.2/Gemfile bundle exec rake rails.

Trying to find a workaround so that this is not necessary. Any ideas?

apotonick commented 9 years ago

Thanks man!! But... where do you add the new task to the existing default one?

summera commented 9 years ago

Didn't add it in yet. Wanted to get your thoughts on the bundle exec issue before doing so.

apotonick commented 9 years ago

I think we have to make the second rake task "chdir" into test/rails4.2 and run rake there. That's basically what I do now.

summera commented 9 years ago

@apotonick working locally. Breaking on travis because we aren't bundle installing in the rails 4.2 directory https://travis-ci.org/apotonick/cells/jobs/65027019

seuros commented 6 years ago

Closing Stale PR