bin/check_running.rb in knjappserver-0.0.21 vs bin/check_running.rb in knjappserver-0.0.22
- old
+ new
@@ -49,12 +49,11 @@
exit
end
require "#{options[:knjrbfw_path]}knjrbfw"
require "knj/autoload"
-require "tmpdir"
-tmpdir = "#{Dir.tmpdir}/knjappserver"
+tmpdir = "#{Knj::Os.tmpdir}/knjappserver"
tmppath = "#{tmpdir}/run_#{options[:title]}"
count = 0
if File.exists?(tmppath)
pid = File.read(tmppath).to_s.strip
\ No newline at end of file