Gem install issues

Hi,

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.

Best Regards,

Nathan

Hi Nathan,

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
rails uses.

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
ruby gems.

I would recommend you check out the FAQ on rubygems to learn more:
http://docs.rubygems.org/read/book/3

What specific issues are you having?

Regards,
Alex

Actually, don’t bother with that FAQ, try this instead:
http://docs.rubygems.org/read/book/1.

Hi Alex,

It’s not a rails project. Just Ruby code. I’ve seen that book but
couldn’t
find anything.

How large are gems? I’m over my internet quota so it’s pretty slow and
gem
install doesn’t seem to be changing - is it because of this? I’m trying
to
install this gem that Aptana requires for debugging ( ruby-debug-ide ).

Best Regards,

Nathan

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 it next?

On Mon, Aug 6, 2012 at 8:24 PM, Nathan A. [email protected]
wrote:

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
it next?

Open up a command prompt; cd to the DevKit directory; and type

ruby dk.rb install

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs