I upgraded to ruby 1.9.1 and no more virtual timer errors :)

Thanks for your help guys.

Regards,

Colin

On Mar 4, 8:20 pm, Lee Hambley <[email protected]> wrote:
> Yes this has happened before, 1.8.6 is only incidentally supported (and you
> should be looking further ahead!) -- Some versions of 1.8.6 (I want to guess
> < patch level 72) were broken, and keeping upto date with these things never
> hurts!
>
> -- Lee Hambley
>
> Twitter: @leehambley | @capistranorb
> Blog:http://lee.hambley.name/
> Working with Rails:http://is.gd/1s5W1
>
> On 4 March 2010 19:09, Colin <[email protected]> wrote:
>
>
>
> > I broke the script into it's two parts and ran them separately, the if
> > statement runs fine and the rake command produces the below when run
> > with --trace:
>
> > (in /pathTo/releases/20100303200303)
> > ** Invoke thinking_sphinx:configure (first_time)
> > ** Invoke thinking_sphinx:app_env (first_time)
> > ** Execute thinking_sphinx:app_env
> > ** Invoke environment (first_time)
> > ** Execute environment
> > ** Execute thinking_sphinx:configure
> > Generating Configuration to /PathTo/releases/20100303200303/config/
> > production.sphinx.conf
> > Virtual timer expired
>
> > So it looks like it completes but has that virtual timer at the end.
> > Would this then cause capistrano to think the task has failed?
>
> > I looked into the error and found
> >http://timetobleed.com/ruby-threading-bugfix-small-fix-goes-a-long-way/
> > andhttp://www.redmine.org/boards/2/topics/8458.
> > The first indicates an upgrade in ruby may help, I'm on version 1.8.6.
>
> > On Mar 4, 2:49 pm, "Rafael G." <[email protected]> wrote:
> > > I think that there's a problem with your system("Virtual timer expired"
> > > as I said is very odd).
> > > Without more info I only found relevant it[1][2].
>
> > > Regards
>
> > > [1]http://www.ruby-forum.com/topic/195414
> > > [2]http://redmine.ruby-lang.org/issues/show/2103
>
> > > Colin wrote:
> > > > If I execute the script on the server I get:
>
> > > > (in /pathTo/releases/20100303200303)
> > > > Generating Configuration to /pathTo/releases/20100303200303/config/
> > > > production.sphinx.conf
> > > > Virtual timer expired
>
> > > > I then manually created a tmp folder in my shared folder as per advice
> > > > from the Thinking Sphinx mailing group, the cap deploy still fails in
> > > > the same way but the script now outputs:
>
> > > > (in /pathTo/releases/20100303200303)
> > > > Generating Configuration to /pathTo/releases/20100303200303/config/
> > > > production.sphinx.conf
> > > > Loaded suite /usr/local/bin/rake
> > > > Started
>
> > > > Finished in 0.000146 seconds.
>
> > > > 0 tests, 0 assertions, 0 failures, 0 errors
> > > > Virtual timer expired
>
> > > > On Mar 4, 8:29 am, "Rafael G." <[email protected]> wrote:
>
> > > >> Hi Colin,
>
> > > >>   Could you execute this script on the server:
>
> > > >> "sh -c 'if [ -d /pathTo/rails/releases/20100303182701 ]; then c
> > > >> d /pathTo/rails/releases/20100303182701; else cd /pathTo/rails
> > > >> /current; fi; rake RAILS_ENV=production thinking_sphinx:configure'"
>
> > > >> It's very odd the "Virtual timer error"
>
> > > >> Colin wrote:
>
> > > >>> Hi,
>
> > > >>> I'm trying to get Thinking Sphinx running on my production server,
> > I'm
> > > >>> following the guidelines here:
> >http://freelancing-god.github.com/ts/en/deployment.html
>
> > > >>> I have added the 3 suggested tasks (http://pastie.org/852303) to my
> > > >>> deploy.rb but that is causing this output:http://pastie.org/852096
> > > >>> (failing at line 21).
>
> > > >>> I googled the error but it seems to arise in lots of different
> > > >>> scenarios, none of which seem related to Thinking Sphinx.
>
> > > >>> Any ideas?
>
> > > >>> Colin
>
> > > >> --
> > > >> Rafa
>
> > > --
> > > Rafa
>
> > --
> > * You received this message because you are subscribed to the Google Groups
> > "Capistrano" group.
> > * To post to this group, send email to [email protected]
> > * To unsubscribe from this group, send email to
> > [email protected]<capistrano%2bunsubscr...@googlegrou 
> > ps.com>For more options, visit this group at
> >http://groups.google.com/group/capistrano?hl=en

-- 
* You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
* To post to this group, send email to [email protected]
* To unsubscribe from this group, send email to 
[email protected] For more options, visit this group at 
http://groups.google.com/group/capistrano?hl=en

Reply via email to