Class: Jun::CLI::Commands::Server

Inherits:
Base show all
Defined in:
lib/jun/cli/commands/server.rb

Instance Method Summary collapse

Methods inherited from Base

command_name

Instance Method Details

#process(*args) ⇒ Object



7
8
9
10
11
12
13
# File 'lib/jun/cli/commands/server.rb', line 7

def process(*args)
  if Jun.root
    system("rerun --background -- rackup -p 6291")
  else
    abort("Command \"#{self.class.command_name}\" must be run inside of a Jun app.")
  end
end