lib/neurohmmerapp.rb in neurohmmerapp-0.0.1 vs lib/neurohmmerapp.rb in neurohmmerapp-0.0.2
- old
+ new
@@ -183,12 +183,12 @@
end
def open_in_browser(server_url)
return if using_ssh? || verbose?
if RUBY_PLATFORM =~ /linux/ && xdg?
- system "xdg-open #{server_url}system"
+ system "xdg-open #{server_url}"
elsif RUBY_PLATFORM =~ /darwin/
- system "open #{server_url}system"
+ system "open #{server_url}"
end
end
def using_ssh?
true if ENV['SSH_CLIENT'] || ENV['SSH_TTY'] || ENV['SSH_CONNECTION']