bin/pushyd in pushyd-0.7.0 vs bin/pushyd in pushyd-0.7.1

- old
+ new

@@ -23,11 +23,11 @@ Conf.app_env = "production" # Parse options and check compliance parser = OptionParser.new do |opts| opts.banner = "Usage: #{File.basename $PROGRAM_NAME} [options] start|stop" - opts.on("-l", "--log LOGFILE") { |path| cmd_logfile = File.expand_path(path)} - opts.on("-c", "--config CONFIGFILE") { |path| cmd_config = File.expand_path(path)} + opts.on("-l", "--log LOGFILE") { |path| cmd_logfile = File.expand_path(path.to_s)} + opts.on("-c", "--config CONFIGFILE") { |path| cmd_config = File.expand_path(path.to_s)} opts.on("-e", "--environment ENV") { |env| Conf.app_env = env } opts.on("", "--dev") { Conf.app_env = "development" } end parser.order!(ARGV)