cbeer / engine_cart

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

Accommodate environments where gems are vendorized. #25 #26

Closed grosscol closed 9 years ago

grosscol commented 9 years ago

Addresses #25 by shifting around where clean environment is used and calling non-bundle commands using bundle exec.

Only depend on bundler at system level. Remove clean_env from generate task. Remove dependency on rails as system level gem. Remove dependency on rake as system level gem. Replace system calls with Bundle.clean_system. Use bundle exec for rake and rails system calls in internal.

cbeer commented 9 years ago

Merged most of this in 6c0b955060d866daa10a0d3e413a9100587485a8, but tried something different with the rails call in 204ca38402609d98f635390a1262349230db5d11.

Can you check if that works for you?