Did you try the steps at
http://capistranorb.com/documentation/faq/why-does-something-work-in-my-ssh-session-but-not-in-capistrano/
?

Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667

On 26 June 2017 at 16:56, tom <[email protected]> wrote:

> HI, im getting the error below during a cap deploy. i can run production
> console successfully on the server.
> any ideas?
> thx
>
>
>
> EBUG [04b3530e] Command: cd 
> /rorapps/myapp/production/myapp_com/releases/20170626144940
> && ~/.rvm/bin/rvm ruby-2.3.1@myapp_gemset do bundle install --path
> /rorapps/myapp/production/myapp_co                    m/shared/bundle
> --without development test --deployment --quiet
>   INFO [04b3530e] Finished in 11.265 seconds with exit status 0
> (successful).
>  DEBUG [c63173da] Running if test ! -d /rorapps/myapp/production/
> myapp_com/releases/20170626144940; then echo "Directory does not exist
> '/rorapps/myapp/production/myapp_com/releases/2017062614
> <(201)%20706-2614>                    4940'" 1>&2; false; fi as
> railsuser@myip
>  DEBUG [c63173da] Command: if test ! -d /rorapps/myapp/production/
> myapp_com/releases/20170626144940; then echo "Directory does not exist
> '/rorapps/myapp/production/myapp_com/releases/201706261
>  44940'" 1>&2; false; fi
>  DEBUG [c63173da] Finished in 0.029 seconds with exit status 0
> (successful).
>   INFO [24759d1b] Running ~/.rvm/bin/rvm ruby-2.3.1@myapp_gemset do
> bundle exec rake assets:precompile as railsuser@myip
>  DEBUG [24759d1b] Command: cd /rorapps/myapp/production/
> myapp_com/releases/20170626144940 && ( export RAILS_ENV="production"
> RAILS_GROUPS="" ; ~/.rvm/bin/rvm ruby-2.3.1@myapp_gemset do bundle e
>                xec rake assets:precompile )
>  DEBUG [24759d1b]       rake aborted!
>  DEBUG [24759d1b]       LoadError: Could not load
> 'active_record/connection_adapters/mysql2_adapter'. Make sure that the
> adapter in config/database.yml is valid. If you use an adapter other than '
>                    mysql', 'mysql2', 'postgresql' or 'sqlite3' add the
> necessary adapter gem to the Gemfile.
>  DEBUG [24759d1b]       /rorapps/myapp/production/
> myapp_com/shared/bundle/ruby/2.3.0/gems/activesupport-4.2.
> 0/lib/active_support/dependencies.rb:274:in `require'
>
> --
> 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/CADQqhMeQV%2B5VwLHjXepV1xbt5hom9kmr0QvVEQ
> s4Re2_sYyiyg%40mail.gmail.com
> <https://groups.google.com/d/msgid/capistrano/CADQqhMeQV%2B5VwLHjXepV1xbt5hom9kmr0QvVEQs4Re2_sYyiyg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAN_%2BVLUy4p1rV17OpdycGp2ML-D-0odH6u52JfbAHKGefDhnEw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to