Ruby Arduino Development (RAD) Installation

we tried to install rad (Ruby Arduino Development) in ubuntu , but it showed many errors because of version variation between Ruby and Rubygems…

so we tried to install rad in new ubuntu loaded system. even there we got few errors, but finally we have installed successfully.

If gem works properly in your system then , just run:

$sudo gem install rad

In new ubuntu system ( or remove already installed ruby and rubygems)

to install rad follow the below steps:

Type the following link in your URL


Then it will ask to save file and save that.

Now Extract (unzip) this “installruby.zip”…

$cd installruby

change the current directory into installruby folder via Terminal. Now run this following

$ ./installruby

(Here ‘installruby’ is a scripting program and it will install ruby,irb,rubygems, rails and many needed packages automatically.)

$sudo gem install rad

It will take some time to install and end with “could not find main page README.txt”

Many things will be installed and from that it installed “ParseTree-3.0.3”.. This is higher version , and it will make version conflict error while executing rake make:compile our project.

So we have to uninstall that and replace with “ParseTree-2.2.0”

$sudo gem uninstall ParseTree

Now it asks to remove some packages and we have to agree it by press “y”

(yes). And even it asks to remove “RubyToC” , so remove that too..

Now install “ParseTree-2.2.0”

$ sudo gem install –version=2.2.0 ParseTree

$sudo gem install RubyToC

Now we are going to download Arduino software.

Arduino Software Download Link:


In that web page we have more links to download arduino, from that we have to choose below line:

Arduino 0012 (release notes): Windows, Mac OS X, Linux (32bit), Linux (AMD 64bit)

From this click Linux(32 bit) , then it will started to download

Then extract the downloaded “arduino-0012-linux.tgz”

Then we have to install gcc library for avr

$sudo apt-get install gcc-avr avr-libc

Now we have to make link between avr-gcc libraries and arduino

first create a directory “avr” inside the arduino-0012/hardware/tools.

$mkdir arduino-0012/hardware/tools/avr

$ ln -s /usr/bin /home/user name/arduino-0012/hardware/tools/avr

Now we finished all our installation & linking works. Let us start to work in rad.

RAD Use Guide

$rad my_sketch

Now it will created “my_sketch” folder inside current directory…

Inside that folder it has “my_sketch.rb” ,we have to write our ruby code for arduino in that file.

Inside that it have “config” folder, it contains “hardware.yml” and “software.yml”.

We have to edit “software.yml” and set the path to arduino( /home/user name/arduino-0012 )

We have to edit “hardware.yml” also

serial_port: /dev/ttyS0

physical_reset: false

mcu: atmega8

If the chip is does not atmega8 then change to corresponding chip name.(atmega168)

$rake make:compile

Reset your Arduino Board

$rake make:upload

Enjoy with RAD !

அருளாளன் . த


12 responses to this post.

  1. Posted by verman on July 20, 2009 at 7:06 am

    what is the purpose of Ruby Arduino Development?

    what is so special in ruby?


    • Posted by Arulalan . T on July 20, 2009 at 5:32 pm

      Hi ,

      Ruby is 100% OOP Language, No syntax , No variable declaration, Simplest High level Language.

      If u wanna to know about Ruby just spend 5 min !

      Go to this Link :

      This is an intro about ” Ruby ”


      Just Click ” Get File” to download this pdf. But u have a account in slideshare.net…

      It will redirect to create new account, that too need only one min.

      The following pdf link will help to learn about Ruby just within 2 hours.


      So , now u know about ” what is Ruby ? “.


      Arduino is one of the board which used to store the micro processor program in chips via C, Java and Ruby Coding . ( Micrp Controller via High Level Language )

      Finally chip will works very fine .

      For Video Example:

      Ypu can see sample video about RAD ( Ruby Arduino Development ) by the following Links.

      http://www.youtube.com/watch?v=AKbHcMaC_cA —— 1

      http://www.youtube.com/watch?v=7OguEBfdTe0 ——- 2

      Better u can download these videos and see it.

      steps to download :


      Go to the above link and u can see one URL Text Field to download videos.

      copy the no 1 and no 2 links and paste there and easily download those videos ….

      see those two videos , surely u can understand what is mean by RAD !

      Hopefully , u will find the answers for your questions !

      what is the purpose of Ruby Arduino Development?

      what is so special in ruby?

      அருளாளன் . த


  2. Way cool! Some very valid points! I appreciate
    you penning this article and the rest of the site is also really good.


  3. It’s genuinely very difficult in this busy life to listen news on Television, thus I simply use internet for that purpose, and get the newest information.


  4. Thank you, I’ve just been searching for information approximately this topic for a while and yours is the greatest I’ve found out so
    far. However, what in regards to the conclusion?

    Are you certain about the source?


  5. I every time spent my half an hour to read this weblog’s articles daily along with a mug of coffee.


  6. Hello! Quick question that’s totally off topic. Do you know how to make your site mobile friendly? My weblog looks weird when browsing from my iphone4. I’m
    trying to find a theme or plugin that might be able to
    correct this issue. If you have any recommendations, please share.
    Thank you!


  7. Nice respond in return of this difficulty with genuine arguments and
    telling all on the topic of that.


  8. Hey there! I know this is somewhat off topic but I was wondering if you knew where I
    could find a captcha plugin for my comment form?

    I’m using the same blog platform as yours and I’m having problems finding one?
    Thanks a lot!


  9. I am curious to find out what blog system you happen to be utilizing?
    I’m having some small security problems with my latest site and I would like to find something more risk-free. Do you have any recommendations?


  10. I’ve been browsing online more than three hours today, yet I never found any interesting article like yours. It’s pretty
    worth enough for me. Personally, if all site owners and bloggers made good content as
    you did, the net will be much more useful than ever before.


  11. Afer lookijng into a few off the articles on your website, I really appreciate your
    way of writing a blog. I bookmarked it to my bookmark website list and will be checking back soon.
    Please check out my weeb site as well and tell mme how you feel.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: