Does anyone know how to install gems in ruby? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Does anyone know how to install gems in ruby?

I have questions about installing rubygems: Should I download any aplication? Should I install rubygems? How do I install rubygems? When I go to the Rubygems website it show 4 types of extension, what would I select? How to install gems? -- If I downloaded rubygems, how do install the gems? For example: I want to download the gem "ruby2d", what should I do?

9th Jul 2018, 1:04 PM
Redacted
Redacted - avatar
1 Answer
+ 2
If you're on windows, click the start button and tyoe CMD and hit enter. Then do gem install 'name of your gem' This is just installing the gem, if you want to use it search google for gem using in ruby.
17th Jul 2018, 10:06 PM
inxanedev!
inxanedev! - avatar