Download the latest Ubuntu (14.10 as of now) from the Ubuntu site and make a virtual machine using that ISO via virtualbox.
When you are done installing Ubuntu, run the following in a terminal to satisfy various dependancies. You can copy and paste this into the terminal fully or line by line.
sudo apt-get update && sudo apt-get upgrade -y
sudo apt-get install -y ruby-dev git g++
sudo gem update # This one takes a while and generates an error, it's ok.
sudo gem install bundler
Now we need to clone the git repo and enter the appropriate directory.
git clone https://github.com/ktemkin/JD-beacon-board.git
cd JD-beacon-board/pc_software
Run bundle to handle all the gem dependencies.
bundle
Go into the location of where the ruby app is and start said ruby app.
cd apps/beacon_tester
And .... libudev.so is missing! And because Ubuntu's repo's are not maintained well and whatnot, this is a terrible pita to fix. Here is a very nasty way to fix this, My the gods forgive me!
sudo ln -sf /lib/x86_64-linux-gnu/libudev.so.1 /lib/x86_64-linux-gnu/libudev.so
And lastly, to start the ruby app!
ruby beacon_tester.rb