bin/cuukie_server in cuukie-0.1.2 vs bin/cuukie_server in cuukie-0.1.3
- old
+ new
@@ -1,6 +1,9 @@
#!/usr/bin/env ruby
lib = File.dirname(__FILE__) + '/../lib'
$:.unshift lib unless $:.include? lib
require 'cuukie/server'
-Cuukie::Server.run!
+module Cuukie
+ Server.set :port, ARGV[0] || 4569
+ Server.run!
+end