Hmm OK. I see where this is being run.

* 2014-01-03 15:28:30 executing `deploy:finalize_update'

 

    triggering before callbacks for `deploy:finalize_update' 

  * 2014-01-03 15:28:30 executing `bundle:install'



I though this was not being called which was causing an error where the on 
db_create I get an error that says "the database configuration does not 
specify an adapter". I will need to take a closer look at the database.yml 
file and see if this is causing a problem.

On Friday, January 3, 2014 2:49:40 PM UTC-5, Vell wrote:
>
> Versions:
>
>    - Ruby: ruby-1.9.2-p320
>    - Capistrano: 2.15.4
>    - Rake / Rails / etc: Rails 4
>
> Platform:
>
>    - Working on.... CentOS
>    - Deploying to... CentOS
>
> Logs:
>
>    - Please past logs (as completely as possible to a 3rd party pasting 
>    service such as pastie.org)
>
> Files:
>
>    - Capfile
>    - deploy.rb
>    - Stage files (production.rb, staging.rb)
>
> I can't seem to find where capistrano is invoking the bundle install 
> command when running update_code command. Right now all I see in the cap 
> file is:
>
> require 'bundler/capistrano'
> set :rake, "bundle exec rake"
>
> That is it. The current deployment code looks like:
> Note: most of the code are custom methods but in the transaction block we 
> are specifically calling setup, update_code, and create_sym_link from the 
> capistrano gem.
>
>  task :initial_deploy, :roles => [:app, :replicated] do
>     transaction do
>       setup
>       update_code #expecting bundle install to run here
>       create_symlink
>     record_version
>       create_httpd_config
>       symlink_inside_htdocs
>     end
>     create_db
>     migrate_db
> end
>
> I know it has to be invoked somewhere since we are using it with rails 3 
> apps. I just can't seem to figure out where it is to tell that it is 
> actually running when we try to deploy a rails 4 app.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/capistrano/3bd16e38-ec4f-4f7f-b346-71fe4c5e812e%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to