SitePoint Sponsor

User Tag List

Results 1 to 6 of 6

Threaded View

  1. #1
    SitePoint Wizard xyuri's Avatar
    Join Date
    Jul 2002
    0 Post(s)
    0 Thread(s)

    Smile 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 22:37. Reason: Additional, possibly helpful information.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts