GithubHelp home page GithubHelp logo

How do I use the ruby script? about grbl HOT 2 CLOSED

grbl avatar grbl commented on June 10, 2024
How do I use the ruby script?

from grbl.

Comments (2)

simen avatar simen commented on June 10, 2024

try installing the gem (library) 'serialport'. I don't know how to do
it on windows, but on any other platform you'd write "gem install
serialport" on the command line. Try that! If that doesn't work (i.e.
library not availible for Windows) have a look at this:

http://ruby-serialport.rubyforge.org/

On Tue, Jun 28, 2011 at 1:33 AM, dirktheeng
[email protected]
wrote:

I'm trying to set up some more complex testing for my laser and I am trying to figure out how to use the ruby scripy.  I installed the ruby stuff and tried 'ruby stream.rb file.gcode' but I get an error:

'gem_original_require': no such file to load -- serial poart (LoadError)' with some other path information.

I am using windows 7 and I am willing to bet that this is the problem when I look at the SerialPort.open in the rb file

Is there a way to make this work with windows somehow?  file.gcode is a small file that contains simple gcode commands.  I've never used ruby before.

Reply to this email directly or view it on GitHub:
https://github.com/simen/grbl/issues/29

from grbl.

dirktheeng avatar dirktheeng commented on June 10, 2024

I got it working..... I had to install the development kit to be able to install the serial port. It works now

from grbl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.