Fix run_assets_precompile_rake_task for all ruby versions