Skip to content

Commit

Permalink
Add naive bundler support to app runner
Browse files Browse the repository at this point in the history
  • Loading branch information
jcrosby committed Mar 9, 2010
1 parent b061f8a commit 5ae296e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/cloudkit/command.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ def generate_app(template_root, destination_root)
end

def run_app
unless File.exist?('.bundle')
Formatador.display_line("[yellow][bold]No gem bundle found.[/]")
Formatador.display_line("[green]Bundling...[/]")
`bundle install`
end
Formatador.display_line("[green][bold]Starting app...[/]")
`rackup config.ru`
end

Expand Down

0 comments on commit 5ae296e

Please sign in to comment.