Class: Shoestring::Server

Inherits:
Object
  • Object
show all
Defined in:
lib/shoestring/server.rb

Class Method Summary collapse

Class Method Details

.start(command = 'bundle exec rails s') ⇒ Object



4
5
6
7
# File 'lib/shoestring/server.rb', line 4

def self.start(command = 'bundle exec rails s')
  puts "\nShoestrings tied!\n\nStarting app server..."
  system %(#{command})
end