Sha256: 6ba9acc8e4012b404723b18770d785834899c15c63ca2a7b382a41b31334d858
Contents?: true
Size: 601 Bytes
Versions: 13
Compression:
Stored size: 601 Bytes
Contents
Execute.define_task do desc "start", "Start rhoconnect server" def start invoke :dtach_installed command = (jruby?) ? trinidad? : (thin? || mongrel? || report_missing_server) if windows? puts 'Starting rhoconnect...' system "#{command} config.ru -P #{rhoconnect_pid}" elsif jruby? puts 'Starting rhoconnect in jruby environment...' system "#{command}" else puts 'Detach with Ctrl+\ Re-attach with rhoconnect attach' sleep 2 cmd "dtach -A #{rhoconnect_socket} #{command} config.ru -P #{rhoconnect_pid}" end #if end #start end #do
Version data entries
13 entries across 13 versions & 1 rubygems