Skip to content

Commit

Permalink
Print out ENV for debugging purposes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Pistos committed Jul 23, 2015
1 parent d237d3f commit fe61d82
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/websocket-server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
'database' => $5,
}
else
puts "ENV:\n#{ENV.inspect}"
if ARGV[1].nil?
$stderr.puts "no database configuration file given; assuming #{File.dirname( __FILE__ ) }/../database.yaml"
db_config = "#{File.dirname( __FILE__ ) }/../database.yaml"
Expand Down

0 comments on commit fe61d82

Please sign in to comment.