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

Permissions Issue

adamyonk opened this issue · comments

Is there any way to run this as root from inside IRB or Pry? I'm trying to do some testing in there, but I keep getting permissions issues when I try to access anything in /dev/.

then you'll need to look up how to access the serial port for your OS as this problem would exist whether you used this gem or not.

an example to clarify: i had to put myself in the dialout group to access the serialport on my linux distro.

I think this could be closed now?

Sure. May want to note something about that in the readme.

On Oct 27, 2013, at 2:27 AM, Johnny Robeson notifications@github.com wrote:

an example to clarify: i had to put myself in the dialout group to access the serialport on my linux distro.

I think this could be closed now?


Reply to this email directly or view it on GitHub.

@adamyonk That's a tough one, as this gem assumes you know quite a bit about serial ports, and since we support various OSes I don't think we should take on the responsibility of making notes like this in the repo, but I do invite you to make a note in the wiki.

@jrobeson Thank you for your triage. It has been helpful.