library works in irb but not in script
I need to parse random datetime formats, which "chronic" seems to help with. so ...
sudo gem install chronic
Ruby finds and installs without any problems. I try it out in irb without any problems, but when i require 'chronic' in my ruby script (just a file script) it can not find the library. What is going on here?
I must appologise for not posting exact error messages or code, since I am at work :shifty: If required later I will post some of it.
If someone knows what might be going on here I would be very grateful :) Thank you.
It might be worth adding that this is occuring on my OS X machine. I have just tried it on windows and it seems to be working fine. Perhaps the OS X version is not installing correctly?