I am confused about which one of these two is the actual sprocket gem for rails? Which one should I be using? Whats the difference between the two?
sprockets-rails: https://github.com/rails/sprockets-rails
sprockets: https://github.com/sstephenson/sprockets
The
sprockets-rails
includes rails based functionality and rake tasks.In all current versions of Rails (beginning with 3.1), your Sprockets environment is automatically mounted at /assets.
Sprockets
can be used in conjunction with a Rack app. See: https://github.com/rack/rack for more information regarding Rack apps.