jeremyevans / home_run

Fast Date/DateTime classes for ruby :: Unmaintained, unnecessary on ruby 1.9.3+
Other
465 stars 10 forks source link

not sure what's going on here. Error page: uninitialized constant Date (NameError) #51

Closed edwardt closed 11 years ago

edwardt commented 11 years ago

ured while starting up the preloader. Error page: uninitialized constant Date (NameError) /usr/local/share/gems/gems/date_ext-0.1.2/lib/weekday.rb:20:in <top (required)>' /usr/local/share/gems/gems/date_ext-0.1.2/lib/date_ext.rb:2:inrequire' /usr/local/share/gems/gems/date_ext-0.1.2/lib/date_ext.rb:2:in <top (required)>' /usr/local/share/gems/gems/home_run-1.0.9/lib/date.rb:2:inrequire' /usr/local/share/gems/gems/home_run-1.0.9/lib/date.rb:2:in <top (required)>' /usr/local/share/gems/gems/home_run-1.0.9/lib/home_run.rb:4:inload' /usr/local/share/gems/gems/home_run-1.0.9/lib/home_run.rb:4:in `<top (required)>'

jeremyevans commented 11 years ago

From your backtrace, it appears you have a separate gem called date_ext which conflicts with home_run's internal use of date_ext.so. Fixing that will require hacking either home_run or date_ext to use a different name. That's not a change I plan to make to home_run, as it is in maintenance mode.