• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh

gem installation problems in windows

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic