steel / sprockets-derailleur

Speed up Manifest::Compile by forking processes
MIT License
79 stars 33 forks source link

Rails 4.1/4.2 readiness? #17

Closed mahemoff closed 9 years ago

mahemoff commented 9 years ago

Hi, the README only mentions 4.0, is this ready for Rails 4.1 and 4.2?

steel commented 9 years ago

I'm not sure. I haven't used this gem lately.

webandtech commented 9 years ago

@mahemoff Works for me with 4.1 and cuts our CI assets precompile step to 1/3 the time. Make sure you follow the advice at the bottom of the readme. You can also set ENV["SPROCKETS_DERAILLEUR_WORKER_COUNT"]=8 (for instance) if you want to specify the number of processes to spawn.

I should also mention that I only use this in our test / CI environment, (we precompile assets before running capybara tests). We include the gem in our test group and the env.cache override is placed in test.rb instead of application.rb. So... I cannot vouch for production use (but can't think of any likely issues).

steel commented 9 years ago

Thanks for verifying! I'll close this ticket for now.