Tutorial by Examples

A gem is the equivalent to a plugin or an extension for the programming language ruby. To be exact even rails is nothing more than a gem. A lot of gems are built on rails or other gems (they are dependent of said gem) or are standalone. In your Rails project Gemfile For your Rails project you ha...
The easiest way to handle and manage gems is by using bundler. Bundler is a package manager comparable to bower. To use bundler you first need to install it. gem install bundler After you have bundler up and running all you need to do is add gems to your Gemfile and run bundle in your termi...
To start, gemfiles require at least one source, in the form of the URL for a RubyGems server. Generate a Gemfile with the default rubygems.org source by running bundle init. Use https so your connection to the server will be verified with SSL. source 'https://rubygems.org' Next, declare the gem...
If you are using RVM(Ruby Version Manager) then using a gemset for each project is a good idea. A gemset is just a container you can use to keep gems separate from each other. Creating a gemset per project allows you to change gems (and gem versions) for one project without breaking all your other p...

Page 1 of 1