Ruby on Rails
Tuesday, June 27, 2017
i did that too, and reverted back; no go....
meanwhile i have trashed the image and recreated everything...
thx everyone
On Tue, Jun 27, 2017 at 10:04 AM, <gorav@solutionize.in> wrote:
On the server, try:--
cd /rorapps/myapp/production/myapp_com /current
~/.rvm/bin/rvm use 2.3.1@myapp_gemset
gem install mysql2 -- --with-mysql-config=/usr/bin/mariadb_config On Monday, June 26, 2017 at 8:27:36 PM UTC+5:30, der_tom wrote:HI, im getting the error below during a cap deploy. i can run production console successfully on the server.any ideas?thxEBUG [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/myap p_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/mya pp_com/releases/2017062614 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/mya pp_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@myipDEBUG [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/dependencie s.rb:274:in `require'
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com .
To post to this group, send email to rubyonrails-talk@googlegroups.com .
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/ .12d66222-86e3-4441-b2d7- 54fe7c92d57b%40googlegroups. com
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CADQqhMe23BxRqp-Ys-m2Ekbh68MCoh96m5f%3DSzx%3DmTmsEvQsFQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment