Installing FileUtils Module

Discussion in 'Ruby' started by Lovell, Jan 14, 2007.

  1. Lovell

    Lovell Guest

    Does anyone know how I can install the fileutils module for ruby? or
    tell me how I can check to see if I already have it installed be
    default?
     
    Lovell, Jan 14, 2007
    #1
    1. Advertising

  2. On 1/14/07, Lovell <> wrote:
    > Does anyone know how I can install the fileutils module for ruby? or
    > tell me how I can check to see if I already have it installed be
    > default?
    >


    FileUtils is part of the Ruby standard library. You just need to
    'require' it at the top of your program:
    require 'fileutils'
     
    Wilson Bilkovich, Jan 14, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Darren Dale
    Replies:
    2
    Views:
    328
    Darren Dale
    Jul 20, 2004
  2. mahesh
    Replies:
    1
    Views:
    630
    Andrew Thompson
    Dec 7, 2006
  3. Grzegorz Chrupala
    Replies:
    2
    Views:
    241
    Grzegorz Chrupala
    Jun 30, 2003
  4. Chad Fowler

    Fileutils.cp bug?

    Chad Fowler, Nov 17, 2003, in forum: Ruby
    Replies:
    2
    Views:
    200
  5. Alex DeCaria

    Installing FileUtils

    Alex DeCaria, Feb 21, 2009, in forum: Ruby
    Replies:
    2
    Views:
    249
    Alex DeCaria
    Feb 21, 2009
Loading...

Share This Page