From: Ashik Ali Date: 2010-02-05T16:06:39+09:00 Subject: Re: ruby-serialport with Ruby 1.9 error Roger Pack wrote: > >> D:\Ruby19\lib\ruby\gems\1.9.1\gems\ruby-serialport\test>ruby miniterm.rb >> miniterm.rb:1:in `require': no such file to load -- ../serialport.so >> (LoadError) >> from miniterm.rb:1:in `
' > > I think this might mean there is "some other" dependency that it is > missing. > > > from > > http://wiki.github.com/oneclick/rubyinstaller/gem-list > > it appears that the "serialport" gem should build and work with 1.9.1 > mingw + devkit > > E:\dev\ruby\ruby-prof\test>gem install serialport > Building native extensions. This could take a while... > Successfully installed serialport-1.0.1 > 1 gem installed > > E:\dev\ruby\ruby-prof\test>irb >>> require 'serialport' > => true > > >> 'The application has failed to start because msvcrt-ruby18.dll was not >> found. Re-installing the application may fix the problem.' > > That ruby18.dll is a hint--you're using ruby19 and it's searching for > ruby18.dll, so there's probably a problem there. > > You could also try using an older version of Ruby for windows, which > probably would work with that .so file ("legacy one click installer" on > http://rubyinstaller.org/download.html) > > > Also Python isn't that hard to learn--we don't hate it here :) > > GL! > -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 -- Posted via http://www.ruby-forum.com/.