Ruby Developer Question:

Download Job Interview Questions and Answers PDF

What is the difference between a gem and a plugin in Ruby?

Ruby Developer Interview Question
Ruby Developer Interview Question

Answer:

☛ Gem: A gem is a just ruby code. It is installed on a machine, and it’s available for all ruby applications running on that machine.
☛ Plugin: Plugin is also ruby code, but it is installed in the application folder and only available for that specific application.

Download Ruby Developer Interview Questions And Answers PDF

Previous QuestionNext Question
Tell us what is the difference between redirect and render in Ruby on Rails?Tell me what is the difference between calling super and calling super()?