Class: Rsodx::Cli::Server
- Inherits:
-
Object
- Object
- Rsodx::Cli::Server
- Defined in:
- lib/rsodx/cli/server.rb
Class Method Summary collapse
Class Method Details
.run ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/rsodx/cli/server.rb', line 4 def self.run pid = spawn("bundle exec rake server") Process.wait(pid) puts "🚀 Starting Rsodx server PID: #{pid} at http://localhost:9292" rescue LoadError => e abort "❌ Error #{e.}" end |