I am using rvm version :
rvm 1.17.9 (master) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]
Ruby version :
ruby 1.9.3p362 (2012-12-25 revision 38607) [x86_64-linux]
I am getting an error while installing
gem install ruby-serialport
Error is : Failed to build gem native extension.
More details : http://paste.ubuntu.com/1555079/
There’s an updated version of the gem on github:
https://github.com/hparra/ruby-serialport
Also available on RubyGems:
http://rubygems.org/gems/serialport
The one you installed
ruby-serialportis v0.7.0, the updatedserialportgem is v1.1.0, so you probably want to give that a try: