#!/usr/local/bin/ruby require "dojo-pkg" cmd = Dojo::Commands::Dojofy.new begin cmd.install rescue Dojo::Errors::DojofyError => e puts "Sorry, something didn't work right. See below:" $stderr.print "#{e.message}\n" exit 1 end puts "You have just dojofied your app!"