ruby-serial port installation on windows

  • Thread starter Ashikali Ashikali
  • Start date
A

Ashikali Ashikali

Hi all,
I am a linux user . Just I am interested to install ruby-serial gem
on windows
machine . But I can't do it . Anybody can help to resolve this .

when I am doing following ,
D:\ruby>gem install ruby-serialport then windows prompt says ,

nmake is not regognized as a internal or external command .I
refered in internet to install nmake windows . Some document says I have
to install microsoft
visual C++ compiler . I have installed borland C++ compiler it has been
working
correctly .

How can I install rmake on windows also ruby-serialport ?

thanks,
ashik
 
L

Luis Lavena

Hi all,
    I am a linux user . Just I am interested to install ruby-serial gem
on windows
machine . But I can't do it . Anybody can help to resolve this .

when I am doing following ,
   D:\ruby>gem install ruby-serialport   then  windows prompt says ,

      nmake is not regognized as a internal or external command .I
refered in internet to install nmake windows . Some document says I have
to install microsoft
visual C++ compiler . I have installed borland C++ compiler it has been
working
correctly .

How can I install rmake on windows also ruby-serialport ?


You need a Ruby installation capable of compile extensions, since
SerialPort needs a C extension.

Please take a look to RubyInstaller and the Development Kit:

http://rubyinstaller.org/

http://wiki.github.com/oneclick/rubyinstaller/development-kit

I can't comment more on details about the status of the gem working on
Windows, but you can search our mailing list about it:

http://groups.google.com/group/rubyinstaller
 
A

Ashik Ali

Luis said:
You need a Ruby installation capable of compile extensions, since
SerialPort needs a C extension.

Please take a look to RubyInstaller and the Development Kit:

http://rubyinstaller.org/

http://wiki.github.com/oneclick/rubyinstaller/development-kit

I can't comment more on details about the status of the gem working on
Windows, but you can search our mailing list about it:

http://groups.google.com/group/rubyinstaller

is there any possiblity for access COM port from ruby on windows
flatform using development-kit ? . Please let me know .



Thanks,
ashik
 
A

Ashik Ali

Roger said:
Looks like you're not the only one with this question.
http://www.ruby-forum.com/topic/203540#new

-r

Hi Gordon and All ,

Thank you very much rubyinstaller.org groups . We achieved not only in
linux, windows too . As per the instructions from rubyinstaller.org , I
installed ruby1.8 and devkit .

Then Finally I download win32serial then I followed the instructions in
Readme from win32serial.zip . Then run the modem.rb sample file . Now
the modem is responding correctly .

However after rubyinstaller and devkit, I can shine in windows as same
as linux .Soon I am going to write documentations for this .

Greets a lot,
ashik
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,566
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top