Skip to content

Instantly share code, notes, and snippets.

@cnk
Created January 15, 2015 23:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cnk/4910e794c4c065fbc3f5 to your computer and use it in GitHub Desktop.
Save cnk/4910e794c4c065fbc3f5 to your computer and use it in GitHub Desktop.
application 'foo' do
path '/srv/ads/rails/foo'
owner 'rails'
group 'rails'
repository 'git@bitbucket.org:...'
revision 'master'
rollback_on_error false
# Apply the rails LWRP from application_ruby
rails do
gems ['bundler']
bundler_deployment false
database do
adapter 'mysql2'
username 'foo'
password 'awesome_password'
host '127.0.0.1'
database 'foo_prod'
action :create
end
end
# Apply the passenger_apache2 LWRP, also from application_ruby
passenger_apache2 do
# Passenger-specific configuration.
end
end
@cnk
Copy link
Author

cnk commented Jan 15, 2015

       [2015-01-15T22:38:29+00:00] INFO: link[/srv/ads/rails/empcms4/releases/ac12825ac6adc41878a14568cef692320f87d25f/vendor/bundle] created
       
           - create symlink at /srv/ads/rails/empcms4/releases/ac12825ac6adc41878a14568cef692320f87d25f/vendor/bundle to /srv/ads/rails/empcms4/shared/vendor_bundle
         * execute[bundle install --path=vendor/bundle --without development test cucumber staging] action run[2015-01-15T22:38:29+00:00] INFO: Processing execute[bundle install --path=vendor/bundle --without development test cucumber staging] action run (/tmp/kitchen/cookbooks/application_ruby/providers/rails.rb line 94)
Fetching gem metadata from https://rubygems.org/........       
Fetching additional metadata from https://rubygems.org/.       .
       Fetching git@bitbucket.org:caltech-imss-ads/editable-image.git
       Fetching https://github.com/jmoline/respond_to_parent.git
       Installing rake 10.4.2
       Installing i18n 0.7.0
       Using json 1.8.1
       Installing minitest 5.5.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment