bin/hello_world in ruby_cli-0.0.2 vs bin/hello_world in ruby_cli-0.0.3
- old
+ new
@@ -1,7 +1,8 @@
#!/usr/bin/ruby
+require 'rubygems'
require 'ruby_cli'
class App
include RubyCLI
@@ -10,8 +11,8 @@
end
end
if __FILE__ == $0
- app = App.new(ARGV)
+ app = App.new(ARGV, __FILE__)
app.run
end