#!/usr/bin/env bash # load rvm ruby source /usr/local/rvm/environments/ruby-1.9.3-p125@smartmeter cd /mnt/usb/ruby/smartmeter ruby report_mailer.rb