I'm starting in Ruby and On Rails. I was a bit confused about "gem", is it part of Ruby or Rails?
Example command below.
gem install nome gema
I'm starting in Ruby and On Rails. I was a bit confused about "gem", is it part of Ruby or Rails?
Example command below.
gem install nome gema
Gem are packaged Ruby codes to be distributed and reused by other projects, apps, and so on ... Just as are JAR
packages in Java or as Pecl
PHP .
RubyGems is the manager of these packages where you can search for the gem you need to be able to download directly into your project with the bundle and gemfile.
So, gems are from Ruby (the programming language), while Rails is the Web Framework created with Ruby (and by the way, it's also a gem, or Ruby metagram).