Richard77
Richard77

Reputation: 21609

How to install a ruby gem on windows 7

Sorry to ask such a basic question. I'm trying to install tiny_tds as explain on this page. I've tried $ gem install tiny_tds, I'm getting error: Syntaxt error, unexpected $undefined. If I remove $, the error becomes undefined local variable or methos "tiny_tds". I don't know where to start to install a gem. I'm using the ruby command prompt.

Thanks for helping

Upvotes: 2

Views: 6491

Answers (2)

antonio-gomez
antonio-gomez

Reputation: 810

You need to download the Ruby installer depending on you systems settings (32 or 64 bit) and the ruby development kit in order to run command lines. Here is a link to the installer and a simple guide for installing the DevKit for ruby on windows (this one is to make jekyll run on windows, jekyll is other ruby gem):

Ruby Installer: http://rubyinstaller.org/downloads/

Devkit configuration: http://www.madhur.co.in/blog/2011/09/01/runningjekyllwindows.html

Upvotes: 2

Den T
Den T

Reputation: 157

I guess you should try railsinstaller for windows that includes rubygems. Then gem install tiny_tds in the command prompt.

Upvotes: 4

Related Questions