[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Problem with chronic

EvilGeenius

9/8/2006 12:52:00 PM

I've followed the install instructions perfectly. I can only require
'chronice' after i require 'rubygems'. And then there is a problem?
Any ideas? :

~> irb
irb(main):001:0> require 'chronic'
LoadError: no such file to load -- chronic
from (irb):1:in `require'
from (irb):1
irb(main):002:0> require 'rubygems'
=> true
irb(main):003:0> require 'chronic'
NameError: uninitialized constant Chronic::RepeaterSeason
from
/usr/local/lib/ruby/gems/1.8/gems/chronic-0.1.0/lib/chronic/repeaters/repeater_season_name.rb:1
from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require'
from
/usr/local/lib/ruby/gems/1.8/gems/chronic-0.1.0/lib/chronic.rb:22
from
/usr/local/lib/ruby/gems/1.8/gems/chronic-0.1.0/lib/chronic.rb:21
from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:182:in
`activate'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:181:in
`activate'
from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:26:in
`require'
from (irb):3
irb(main):004:0>

--
Posted via http://www.ruby-....

1 Answer

Tom Werner

9/8/2006 4:50:00 PM

0

Chris Richards wrote:
> I've followed the install instructions perfectly. I can only require
> 'chronice' after i require 'rubygems'. And then there is a problem?
> Any ideas? :

Hi Chris,

There is a bug with the loading code that seems to pop up on Linux
machines. I'll be releasing a new version with bug fix later today.

Tom

--
Tom Werner
Helmets to Hardhats
Software Developer
tom@helmetstohardhats.org
www.helmetstohardhats.org