Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread
Message: 98322
BY: Ali Janjua (amjanjua)
DATE: 2012-09-04 23:19
SUBJECT: date_helper.rb error when starting mongrel

 

I have a ruby on rails project running with mongrel cluster which I have configered through Apache. Everything was running until today after I made couple of edits in a controller class and started getting the following error.
The error happens, when I try to start the mongrel cluster more number of threads.
I don't see any of these errors, if I run a local server as ruby script/server.

Any idea or help, please?

** Daemonized, any open files are closed. Look at tmp/pids/mongrel.8000.pid and log/mongrel.8000.log for info.
** Starting Mongrel listening at 127.0.0.1:8000
** Starting Rails with development environment...
/rubygems/gems/actionpack-2.3.3/lib/action_view/helpers/date_helper.rb:870: warning: else without rescue is useless

pkgs/ruby/1.8.7/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require':

rubygems/gems/actionpack-2.3.3/lib/action_view/helpers/date_helper.rb:865: syntax error, unexpected tASSOC, expecting tCOLON2 or '[' or '.' (SyntaxError)
ess_than_x_seconds, :count => 10
^
rubygems/gems/actionpack-2.3.3/lib/action_view/helpers/date_helper.rb:866: syntax error, unexpected kTHEN, expecting kEND
... when 10..19 then locale.t :less_than_x_seconds...

rubygems/gems/actionpack-2.3.3/lib/action_view/helpers/date_helper.rb:867: syntax error, unexpected kWHEN, expecting kEND
when 20..39 then locale.t :half_a_minute


Thread View

Thread Author Date
date_helper.rb error when starting mongrelAli Janjua2012-09-04 23:19
      RE: date_helper.rb error when starting mongrelKubo Takehiro2012-09-15 00:34

Post a followup to this message