tmp8-snailgun 1.2.0.1 → 1.2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/snailgun +2 -0
- metadata +2 -2
data/bin/snailgun
CHANGED
@@ -78,6 +78,8 @@ when :rails
|
|
78
78
|
start_for_envs = envs.split(/[\s,]+/).uniq
|
79
79
|
start_for_envs.each do |env|
|
80
80
|
pids[env] = fork do
|
81
|
+
ENV['SNAILGUN'] = $$.to_s
|
82
|
+
|
81
83
|
STDERR.puts "Server starting for RAILS_ENV=#{env}"
|
82
84
|
server = Snailgun::Server.new("#{sockdir}/#{env}")
|
83
85
|
ENV['RAILS_ENV'] = env
|