Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

gem installation problems in windows

 
Vamsi S Krishna
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Most of the gems are OS independent but few gems will throw errors like "nmake is not a recognizable command in Windows", since some gems are developed in unix or mac OS they throw this error, to solve this I can install nmake in my system. But can I make some changes in the gem itself that it can be made os independent? So if any one can give me some tips on this that will be great.

 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe that error refers to gem not finding the nmake.exe that comes with some versions of Visual Studio. Maybe you can find and install Nmake from Microsoft's website?
 
Vamsi S Krishna
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the reply Lasse.
I understand i can resolve it by installing nmake, cl.exe with the help of Visual C++ express edition.
What i am interested in knowing is, ability to modify the gem so that it can be used by other users without the need to install vc++.
There are so many gems that are os independent I want to learn how to do it.If you can give some related links and your experience, that will help me.
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It all depends on what your gem contains. If it is pure Ruby code, it will work on all platforms. If the gem requires some native code, then it will have to be compiled on each platform.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic