Results 1 to 6 of 6
Oct 8, 2008, 21:18 #1
- Join Date
- Jul 2002
- 0 Post(s)
- 0 Thread(s)
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 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?
Last edited by xyuri; Oct 8, 2008 at 21:37. Reason: Additional, possibly helpful information.