Problems deploying after update to Ruby 1.9 and Rails 3.2

126 views
Skip to first unread message

fur...@gmail.com

unread,
Aug 23, 2013, 1:42:55 PM8/23/13
to bib...@googlegroups.com
Finally got around to update our code to the latest and the deploy is failing.  

Anyone else seen this?

Here's the error:

  * 2013-08-23 11:51:19 executing `bibapp:restart'
  * executing "cd /data/rails/Bibapp/current; sleep 20; RAILS_ENV=production bundle exec rake bibapp:restart"
    servers: ["bibapp.mbl.edu"]
    [bibapp.mbl.edu] executing command
*** [err :: bibapp.mbl.edu] WARNING: Nokogiri was built against LibXML version 2.8.0, but has dynamically loaded 2.7.8
*** [err :: bibapp.mbl.edu
*** [err :: bibapp.mbl.edu] script/delayed_job -p production --pid-dir=/data/rails/Bibapp/releases/20130823155102/tmp/delayed_job_production_pids stop
*** [err :: bibapp.mbl.edu
 ** [out :: bibapp.mbl.edu] Solr is not running. I haven't done anything.
*** [err :: bibapp.mbl.edu] WARNING: Nokogiri was built against LibXML version 2.8.0, but has dynamically loaded 2.7.8
*** [err :: bibapp.mbl.edu] /data/rails/Bibapp/shared/bundle/ruby/1.9.1/gems/delayed_job-3.0.5/lib/delayed/command.rb:4:in `rescue in <top (required)>'
*** [err :: bibapp.mbl.edu] :
*** [err :: bibapp.mbl.edu] You need to add gem 'daemons' to your Gemfile if you wish to use it.
*** [err :: bibapp.mbl.edu] (
*** [err :: bibapp.mbl.edu] RuntimeError
*** [err :: bibapp.mbl.edu] )
*** [err :: bibapp.mbl.edu] from /data/rails/Bibapp/shared/bundle/ruby/1.9.1/gems/delayed_job-3.0.5/lib/delayed/command.rb:1:in `<top (required)>'
*** [err :: bibapp.mbl.edu] from /data/rails/Bibapp/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:251:in `require'
*** [err :: bibapp.mbl.edu] from /data/rails/Bibapp/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:251:in `block in require'
*** [err :: bibapp.mbl.edu] from /data/rails/Bibapp/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:236:in `load_dependency'
*** [err :: bibapp.mbl.edu] from /data/rails/Bibapp/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:251:in `require'
*** [err :: bibapp.mbl.edu] from script/delayed_job:4:in `<main>'
*** [err :: bibapp.mbl.edu] rake aborted!
*** [err :: bibapp.mbl.edu] Command failed with status (1): [script/delayed_job -p production --pid-dir...]
*** [err :: bibapp.mbl.edu] /data/rails/Bibapp/releases/20130823155102/lib/tasks/bibapp.rake:50:in `block (2 levels) in <top (required)>'
*** [err :: bibapp.mbl.edu] /data/rails/Bibapp/releases/20130823155102/lib/tasks/bibapp.rake:63:in `block (2 levels) in <top (required)>'
*** [err :: bibapp.mbl.edu] Tasks: TOP => bibapp:restart
*** [err :: bibapp.mbl.edu] (See full trace by running task with --trace)
    command finished in 43602ms
Current directory doesn't exist yet

Jason Stirnaman

unread,
Aug 23, 2013, 4:15:32 PM8/23/13
to bib...@googlegroups.com
John,
Just add gem "daemons" to your Gemfile and re-run bundle install.

This is your problem: "You need to add gem 'daemons' to your Gemfile if you wish to use it."
The BibApp gemfile needs some attention here. Delayed Job gem no longer includes Daemons gem so we need to include it explicitly in our Gemfile.

Jason


--
You received this message because you are subscribed to the Google Groups "bibapp" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bibapp+un...@googlegroups.com.
To post to this group, send email to bib...@googlegroups.com.
Visit this group at http://groups.google.com/group/bibapp.
For more options, visit https://groups.google.com/groups/opt_out.

Howard Ding

unread,
Aug 23, 2013, 4:17:46 PM8/23/13
to bib...@googlegroups.com
On 8/23/2013 3:15 PM, Jason Stirnaman wrote:
John,
Just add gem "daemons" to your Gemfile and re-run bundle install.

This is your problem: "You need to add gem 'daemons' to your Gemfile if you wish to use it."
The BibApp gemfile needs some attention here. Delayed Job gem no longer includes Daemons gem so we need to include it explicitly in our Gemfile.

Jason

I'll fix that up when I get a chance.

Howard

Jason Stirnaman

unread,
Aug 23, 2013, 4:26:20 PM8/23/13
to bib...@googlegroups.com
I have several changes I need to clean up and submit for BibApp master. There are also some encoding issues in the helpers and views that need to be fixed for Rails 3.2.


--

fur...@gmail.com

unread,
Aug 25, 2013, 9:21:18 AM8/25/13
to bib...@googlegroups.com
Thanks guys.  Actually, our problem was that we didn't update the Passenger module so it was still linked to the 1.8 gem.
Reply all
Reply to author
Forward
0 new messages