No such file to load -- chronic

I have require ‘chronic’ in a controller but I get the above error
when trying to see access this controller.
I am using it in a cucmber step and it’s ok. the only issue is the
controller.

System info:
ruby 1.9.1p243,
ubuntu karmic

Some of my gems:
chronic (0.2.3)
cucumber (0.4.4)
rails (2.3.5)
rspec (1.2.9)
rubyforge (2.0.3)
webrat (0.6.0)

Thanks!

Hi,

Can you check by writing require ‘chronic’ at last in environment.rb
file

2010/1/18 oren [email protected]

I tried adding this line at the bottom and also at the top of
environment.rb and I get an error when accessing the controller:
uninitialized constant FoodEntryController::Chronic