ndbroadbent / turbo-sprockets-rails3

Speeds up your Rails 3 assets:precompile by only recompiling changed files, and only compiling once to generate all assets
MIT License
976 stars 78 forks source link

rake assets:precompile gives error #109

Open tejashande opened 8 years ago

tejashande commented 8 years ago

When I run rake assets:precompiles, it gives me an error indicating

/usr/share/ruby-rvm/gems/ruby-1.9.3-p0/gems/bundler-1.9.9/lib/bundler/shared_helpers.rb:78: warning: Insecure world writable dir /u01/app/oracle/product/11.2.0/dbhome_1/bin in PATH, mode 040777 rake aborted! LoadError: cannot load such file -- sprockets/processed_asset /usr/share/ruby-rvm/gems/ruby-1.9.3-p0/gems/turbo-sprockets-rails3-0.1.7/lib/turbo-sprockets/sprockets_overrides/processed_asset.rb:1:in require' /usr/share/ruby-rvm/gems/ruby-1.9.3-p0/gems/turbo-sprockets-rails3-0.1.7/lib/turbo-sprockets/sprockets_overrides/processed_asset.rb:1:in<top (required)>' /usr/share/ruby-rvm/gems/ruby-1.9.3-p0/gems/turbo-sprockets-rails3-0.1.7/lib/turbo-sprockets-rails3.rb:2:in require' /usr/share/ruby-rvm/gems/ruby-1.9.3-p0/gems/turbo-sprockets-rails3-0.1.7/lib/turbo-sprockets-rails3.rb:2:inblock in <top (required)>' /usr/share/ruby-rvm/gems/ruby-1.9.3-p0/gems/turbo-sprockets-rails3-0.1.7/lib/turbo-sprockets-rails3.rb:1:in each' /usr/share/ruby-rvm/gems/ruby-1.9.3-p0/gems/turbo-sprockets-rails3-0.1.7/lib/turbo-sprockets-rails3.rb:1:in<top (required)>' /usr/share/ruby-rvm/gems/ruby-1.9.3-p0/gems/bundler-1.9.9/lib/bundler/runtime.rb:76:in require' /usr/share/ruby-rvm/gems/ruby-1.9.3-p0/gems/bundler-1.9.9/lib/bundler/runtime.rb:76:inblock (2 levels) in require' /usr/share/ruby-rvm/gems/ruby-1.9.3-p0/gems/bundler-1.9.9/lib/bundler/runtime.rb:72:in each' /usr/share/ruby-rvm/gems/ruby-1.9.3-p0/gems/bundler-1.9.9/lib/bundler/runtime.rb:72:inblock in require' /usr/share/ruby-rvm/gems/ruby-1.9.3-p0/gems/bundler-1.9.9/lib/bundler/runtime.rb:61:in each' /usr/share/ruby-rvm/gems/ruby-1.9.3-p0/gems/bundler-1.9.9/lib/bundler/runtime.rb:61:inrequire' /usr/share/ruby-rvm/gems/ruby-1.9.3-p0/gems/bundler-1.9.9/lib/bundler.rb:134:in require' /home/developer/blog/config/application.rb:7:in<top (required)>' /home/developer/blog/Rakefile:5:in `<top (required)>'

& when i start rails server, it says

/usr/share/ruby-rvm/gems/ruby-1.9.3-p0/gems/turbo-sprockets-rails3-0.1.7/lib/turbo-sprockets/sprockets_overrides/processed_asset.rb:1:in require': cannot load such file -- sprockets/processed_asset (LoadError) from /usr/share/ruby-rvm/gems/ruby-1.9.3-p0/gems/turbo-sprockets-rails3-0.1.7/lib/turbo-sprockets/sprockets_overrides/processed_asset.rb:1:in<top (required)>' from /usr/share/ruby-rvm/gems/ruby-1.9.3-p0/gems/turbo-sprockets-rails3-0.1.7/lib/turbo-sprockets-rails3.rb:2:in require' from /usr/share/ruby-rvm/gems/ruby-1.9.3-p0/gems/turbo-sprockets-rails3-0.1.7/lib/turbo-sprockets-rails3.rb:2:inblock in <top (required)>' from /usr/share/ruby-rvm/gems/ruby-1.9.3-p0/gems/turbo-sprockets-rails3-0.1.7/lib/turbo-sprockets-rails3.rb:1:in each' from /usr/share/ruby-rvm/gems/ruby-1.9.3-p0/gems/turbo-sprockets-rails3-0.1.7/lib/turbo-sprockets-rails3.rb:1:in<top (required)>' from /usr/share/ruby-rvm/gems/ruby-1.9.3-p0/gems/bundler-1.9.9/lib/bundler/runtime.rb:76:in require' from /usr/share/ruby-rvm/gems/ruby-1.9.3-p0/gems/bundler-1.9.9/lib/bundler/runtime.rb:76:inblock (2 levels) in require' from /usr/share/ruby-rvm/gems/ruby-1.9.3-p0/gems/bundler-1.9.9/lib/bundler/runtime.rb:72:in each' from /usr/share/ruby-rvm/gems/ruby-1.9.3-p0/gems/bundler-1.9.9/lib/bundler/runtime.rb:72:inblock in require' from /usr/share/ruby-rvm/gems/ruby-1.9.3-p0/gems/bundler-1.9.9/lib/bundler/runtime.rb:61:in each' from /usr/share/ruby-rvm/gems/ruby-1.9.3-p0/gems/bundler-1.9.9/lib/bundler/runtime.rb:61:inrequire' from /usr/share/ruby-rvm/gems/ruby-1.9.3-p0/gems/bundler-1.9.9/lib/bundler.rb:134:in require' from /home/allerin/blog/config/application.rb:7:in<top (required)>' from /usr/share/ruby-rvm/gems/ruby-1.9.3-p0/gems/railties-3.1.6/lib/rails/commands.rb:52:in require' from /usr/share/ruby-rvm/gems/ruby-1.9.3-p0/gems/railties-3.1.6/lib/rails/commands.rb:52:inblock in <top (required)>' from /usr/share/ruby-rvm/gems/ruby-1.9.3-p0/gems/railties-3.1.6/lib/rails/commands.rb:49:in tap' from /usr/share/ruby-rvm/gems/ruby-1.9.3-p0/gems/railties-3.1.6/lib/rails/commands.rb:49:in<top (required)>' from script/rails:6:in require' from script/rails:6:in

'

I am using Rails 3.1.6 & in my gemfile, i have included group :assets do gem 'turbo-sprockets-rails3', '0.1.7' end

Please look into this issue & guide me if I am going incorrect.

Thanks

  • Tejas