What is the difference between chain rails and cogwheels?
Am I confused as to which one of these two is a rail sprocket gem? Which one should I use? What is the difference between them?
sprockets-rails: https://github.com/rails/sprockets-rails
asterisks: https://github.com/sstephenson/sprockets
source to share
sprockets-rails
Includes rail-based features and rake tasks.
In all current versions of Rails (since 3.1) the Sprockets environment is automatically installed in / assets.
Sprockets
can be used in conjunction with the Rack application. See https://github.com/rack/rack for more information on Rack apps.
source to share
The "stars" gem is intended to be used in any ruby application.
"Sprockets-rails" is like a wrapper around the "Sprockets" gem for use specifically for rail applications. The part of the name after the "-" dash means that it is defined for certain frameworks / environments / gems.
For example. Besides the asterisks, there is also a wrapper for Sinatra called "sprocket-sinatra" which is also a web application like rails. The
same naming convention can exist for all gems, like cucumber for BDD testing.
You can find cucumber rails, cucumbers, sinatra cucumbers ... etc. -
source to share