Skip to content

Commit

Permalink
log the bundle command
Browse files Browse the repository at this point in the history
  • Loading branch information
jweiss committed Aug 9, 2011
1 parent 7ab2bcc commit 68df967
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rails/libraries/rails_configuration.rb
Expand Up @@ -37,6 +37,7 @@ def self.determine_database_adapter(app_name, app_config, app_root_path, options
def self.bundle(app_name, app_config, app_root_path)
if File.exists?("#{app_root_path}/Gemfile")
Chef::Log.info("Gemfile detected. Running bundle install.")
Chef::Log.info("sudo su deploy -c 'cd #{app_root_path} && bundle install #{app_config[:home]}/.bundler/#{app_name} --without=test development'")
Chef::Log.info(`sudo su deploy -c 'cd #{app_root_path} && bundle install #{app_config[:home]}/.bundler/#{app_name} --without=test development'`)
end
end
Expand Down

0 comments on commit 68df967

Please sign in to comment.