hparra / ruby-serialport

ruby-serialport is a Ruby library that provides a class for using RS-232 serial ports

Home Page:http://rubygems.org/gems/serialport

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

can't install at ruby2.0

sevk opened this issue · comments

commented
G:\dev-tools\200_rb_dev-kit>ruby -v
ruby 2.0.0p481 (2014-05-08) [i386-mingw32]


G:\dev-tools\200_rb_dev-kit>gem install serialport
Temporarily enhancing PATH to include DevKit...
Building native extensions.  This could take a while...
ERROR:  Error installing serialport:
        ERROR: Failed to build gem native extension.

    w:/Ruby200/bin/ruby.exe extconf.rb
checking for OS... mingw
creating Makefile

make "DESTDIR="


Gem files will remain installed in w:/Ruby200/lib/ruby/gems/2.0.0/gems/serialpor
t-1.3.0 for inspection.
Results logged to w:/Ruby200/lib/ruby/gems/2.0.0/gems/serialport-1.3.0/ext/nativ
e/gem_make.out

How did you solve this problem?

commented

I don't know , but it is OK now .

G:\FTP\sevk\dev-tools\ruby-devkit>devkitvars.bat
Adding the DevKit to PATH...

G:\FTP\sevk\dev-tools\ruby-devkit>gem install serialport
Building native extensions.  This could take a while...
Successfully installed serialport-1.3.1
1 gem installed

G:\FTP\sevk\dev-tools\ruby-devkit>ruby -v
ruby 2.0.0p594 (2014-10-27) [i386-mingw32]

G:\FTP\sevk\dev-tools\ruby-devkit>