This container has OpenStudio installed along with Ruby 2.0 and Bundler.
On Linux, where your current directory is the Ruby script you want to run, do the following
docker run -it --rm nllong/openstudio:1.6.0 bundle && ruby <name-of-script.rb>
<or>
docker run -it --rm nllong/openstudio:1.6.0 bundle && rake <name-of-task>
docker build -t nllong/openstudio:1.6.0 .
docker pull nllong/openstudio:latest