lib/dvm/cli.rb in dvm-0.1.2 vs lib/dvm/cli.rb in dvm-0.1.3
- old
+ new
@@ -192,12 +192,12 @@
end
def stop
if Dir.exist? current
- `cd #{current};kill -9 cat \`tmp/server.pid\``
+ `cd #{current};kill -9 \`cat tmp/server.pid\``
elsif File.exist? 'Gemfile'
- `kill -9 cat \`tmp/server.pid\``
+ `kill -9 \`cat tmp/server.pid\``
else
puts 'Stop server failed.'.colorize :red
end
puts 'Stop server success.'.colorize :green
end