What is the difference between sprockets-rails and sprockets gem?

github, ruby-on-rails, rubygems, sprockets

Solution

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.

Problem

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

Original source