Add require 'rubygems' to app.rb