Tags

, , , , ,

hey guys,
In this post of mine, I will show you how to install ‘contacts’ gem in your windows machine.

God, I searched google a lot for this and at last I found something interesting which I want to tell you.

I was working on linux, I switched to windows recently. During my project I thought to install contacts which will import my contacts from Gmail, Yahoo and Hotmail. When I write in command prompt:
C:\> gem install contacts

it gives me the following error

nmake
‘nmake’ is not recognized as an internal or external command,
operable program or batch file.

Gem files will remain installed in c:/ruby/lib/ruby/gems/1.8/gems/ferret-0.11.6
for inspection.
Results logged to c:/ruby/lib/ruby/gems/1.8/gems/ferret-0.11.6/ext/gem_make.out

I think lots of you have seen this kind of error, Now I am telling you the steps how to solve this
Concentrate on line this :

Gem files will remain installed in c:/ruby/lib/ruby/gems/1.8/gems/ferret-0.11.6

Now go to this Url
http://rubyforge.org/frs/?group_id=1028
and install the latest ferret gem having mswin32 version. Install it and run it, I think all of you know how to install gem manually 🙂

Then try to install contacts gem, It will run.
Just in case if it gives error again like this:

nmake
‘nmake’ is not recognized as an internal or external command,
operable program or batch file.

Gem files will remain installed in c:/ruby/lib/ruby/gems/1.8/gems/json-1.1.3 for
inspection.
Results logged to c:/ruby/lib/ruby/gems/1.8/gems/json-1.1.3/ext/json/ext/parser/
gem_make.out

Then go to this url:
http://rubyforge.org/frs/?group_id=953
and download the latest mswin32 gem of json and install it. After installing it try to run

gem install contacts

Your gem should install.

Advertisements