bin/shoes-swt in shoes-swt-4.0.0.pre3 vs bin/shoes-swt in shoes-swt-4.0.0.pre4
- old
+ new
@@ -1,11 +1,11 @@
#!/usr/bin/env jruby
lib_directory = File.expand_path('../../lib', __FILE__)
$LOAD_PATH << lib_directory
-if File.exists?("Gemfile")
+if File.exist?("Gemfile")
require "bundler/setup"
Bundler.require
end
require 'shoes/ui/cli'
-Shoes::CLI.new.run ARGV
+Shoes::CLI.new("swt").run ARGV