I’m farely new to Ruby and ma having trouble installing gems. I’m usng
Aptana 3 as IDE and have the RubyInstaller installed (which includes
Gem installation). Aptana is saying I need certain gems which I can
find on net, but cna’t seem to install. I discovered they can be
installed locally and from server - niether work. What am I doing
wrong and meant to do? Thanks in advance.
Is this for a rails project? If it is, that makes things easier - you
can just go to the directory of your rails project and run the command
“bundle install”, and it will install any missing dependencies from your
project, thanks to a tool called bundler http://gembundler.com/ which
You can verify rubygems is installed by running the command “gem
–version” (should be 1.8.24). The gem command will automatically
install gems from http://rubygems.org - you can use the command “gem
install x” (replace x with gem name) to install a gem. You might want to
run “gem update --system” to ensure you’re using the latest version of
I would recommend you check out the FAQ on rubygems to learn more:
What specific issues are you having?
Actually, don’t bother with that FAQ, try this instead:
It’s not a rails project. Just Ruby code. I’ve seen that book but
How large are gems? I’m over my internet quota so it’s pretty slow and
install doesn’t seem to be changing - is it because of this? I’m trying
install this gem that Aptana requires for debugging ( ruby-debug-ide ).
cmd said: native gems require build tools. Requires me to update PATH ad
get DevKit. I even got DevKit before, unpacked it, but don’t know what
with it next?
On Mon, Aug 6, 2012 at 8:24 PM, Nathan A. [email protected]
cmd said: native gems require build tools. Requires me to update PATH ad get
DevKit. I even got DevKit before, unpacked it, but don’t know what do with
Open up a command prompt; cd to the DevKit directory; and type
ruby dk.rb install