Skip to content

Commit

Permalink
We actually need to bundle install first, otherwise some gems are mis…
Browse files Browse the repository at this point in the history
…sing.
  • Loading branch information
parndt committed Jun 21, 2011
1 parent 1b7481b commit d047141
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bin/refinerycms
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,9 @@ module Refinery
end

def generate!
# First, ensure dependencies are satisfied
run_command('bundle install', {:cd => false, :bundler => false})

# Generate a rails application
rails_command = "rails new \"#{@app_path}\""
rails_command << " --database #{@options[:database][:adapter]}"
Expand Down

0 comments on commit d047141

Please sign in to comment.