Bugs: Browse | Submit New | Admin

[#27475] ~/.rvm/ruby-1.8.6-p383/lib/ruby/1.8/date.rb:1482:in `old_civil': invalid date (ArgumentError)

Date:
2009-11-23 00:18
Priority:
3
Submitted By:
Ozgun Koyun (kozgun)
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
~/.rvm/ruby-1.8.6-p383/lib/ruby/1.8/date.rb:1482:in `old_civil': invalid date (ArgumentError)

Detailed description
Hi,

I've been using runt in one of my rails projects for a long time, it was working well until I switch to rvm to master
ruby versions. Now, when I try to start my rails app with "./script/server" in development environment, I
get the following error:


/home/ozgun/.rvm/ruby-1.8.6-p383/lib/ruby/1.8/date.rb:1482:in `old_civil': invalid date (ArgumentError)
from /home/ozgun/Projects/myapp/vendor/gems/runt-0.7.0/lib/runt/pdate.rb:33:in `civil'
from /home/ozgun/Projects/myapp/vendor/gems/runt-0.7.0/lib/runt/pdate.rb:122:in `day'
from /home/ozgun/Projects/myapp/vendor/gems/runt-0.7.0/lib/runt/temporalexpression.rb:567
from /home/ozgun/.rvm/ruby-1.8.6-p383/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /home/ozgun/.rvm/ruby-1.8.6-p383/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /home/ozgun/Projects/myapp/vendor/rails/activesupport/lib/active_support/dependencies.rb:510:in `require'   
from /home/ozgun/Projects/myapp/vendor/rails/activesupport/lib/active_support/dependencies.rb:355:in `new_constants_in'
from /home/ozgun/Projects/myapp/vendor/rails/activesupport/lib/active_support/dependencies.rb:510:in `require'    
 ... 40 levels...
from /home/ozgun/Projects/myapp/vendor/rails/railties/lib/commands/server.rb:39
from /home/ozgun/.rvm/ruby-1.8.6-p383/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /home/ozgun/.rvm/ruby-1.8.6-p383/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from ./script/server:3

Add A Comment: Notepad

Please login


Followup

Message
Date: 2010-09-07 14:49
Sender: Morus Walter

I had a similar issue with ruby-enterprise-1.8.6-20090610 and
runt 0.7.0 where ree was compiled with gcc 4.4.3 and it went
away when compiling ree with gcc 4.3.4

(on ubuntu 10.0.4, amd64)

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item