#!/usr/bin/env ruby # if ARGV.size != 1 puts "use: $ vitreous_standalone " exit 1 end ENV['VITREOUS_FOLDER'] = File.expand_path ARGV[0] begin require 'vitreous_standalone' rescue LoadError require 'rubygems' require 'vitreous_standalone' end puts "Starting Vitreous Standalone version #{Vitreous::Standalone::VERSION}" puts "Go to: http://localhost:4567" Vitreous::Standalone::App.run!