Solved

How do I add a ruby gem to my rubymine  ?

Posted on 2011-03-14
2
615 Views
Last Modified: 2012-06-21
I need ruby gem:

require 'win32/clipboard'

I am using ruby mine


0
Comment
Question by:TIMFOX123
  • 2
2 Comments
 
LVL 12

Accepted Solution

by:
JESii earned 500 total points
ID: 35132557
You can do it as you normally would: through the gem command. If you add the gem, then startup RubyMine, it will recognize what you've got installed.

Alternatively, you can do it in RubyMine go to "Preferences" (possibly "Tools | Options" in Windows?) and you'll see the "Ruby SDK and Gems" option.  There you can Attach, Install, or Update Gems.

Just make sure you have the correct Ruby interpreter selected.
0
 
LVL 12

Expert Comment

by:JESii
ID: 35148362
Glad that helped... thanks for the points!
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: narshlob
If you've ever programmed in Ruby and have come across either a proc or a lambda, you might have been wondering what the difference is between the two and when you would use one over the other. This article will try to explain the difference between…
Recently I spent hours debugging an issue in a Rails project where ActiveRecord was causing MySQL errors trying to create a User object of a class at the top level of a Single Table Inheritance model structure.  It turns out `.create` behaves differ…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question