0
I’m starting in Ruby and On Rails. I got a little confused about "Gem", it’s part of Ruby or On Rails?
Example of command below.
gem install nome gema
0
I’m starting in Ruby and On Rails. I got a little confused about "Gem", it’s part of Ruby or On Rails?
Example of command below.
gem install nome gema
1
Gem are Ruby codes packaged to be distributed and reused by other projects, apps and so on... Just like packages are JAR
in Java or as the Pecl
of PHP.
The Rubygems is the manager of these packages where you can search for the Gem you need by being able to download directly to your project with Bundle and gemfile.
Therefore, Gems are from Ruby (the programming language), while Rails is the Web Framework created with Ruby (which by the way, is also a Gem, or Ruby metagem).
Browser other questions tagged ruby-on-rails ruby gem
You are not signed in. Login or sign up in order to post.