Revert the previous commit and backport the ruby_rake_task method

It is better that requirejs:precompile:all runs in a fresh Rake process, so as not to clobber the parent Rake process' environment.