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

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)



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

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs