lib/vegas.rb in quirkey-vegas-0.0.3.1 vs lib/vegas.rb in quirkey-vegas-0.0.4
- old
+ new
@@ -1,11 +1,15 @@
-require 'rubygems'
-require 'sinatra'
+begin
+ require 'sinatra'
+rescue LoadError
+ require 'rubygems'
+ require 'sinatra'
+end
$LOAD_PATH.unshift File.dirname(__FILE__)
module Vegas
- VERSION = "0.0.3.1"
+ VERSION = "0.0.4"
WINDOWS = !!(RUBY_PLATFORM =~ /(mingw|bccwin|wince|mswin32)/i)
autoload :Runner, 'vegas/runner'
end