Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.ruby > #2435

uninitialized constant Fileutils (NameError)?

From Thomas Luedeke <tluedeke@excite.com>
Newsgroups comp.lang.ruby
Subject uninitialized constant Fileutils (NameError)?
Date 2011-04-07 03:45 -0500
Organization Service de news de lacave.net
Message-ID <41fe58b4208fd049b1d7adbf26e3eca3@ruby-forum.com> (permalink)

Show all headers | View raw


I do not understand what is going on here - I've done this a multitude
of times and all of a sudden it doesn't work any more.

I've got a "require 'fileutils'" at the beginning of my script, but when
I use the file copy command "Fileutils.cp" it just keeps stopping with
the uninitialized constant error.

What potential problem is going on here?  I'm using Ruby 1.9.

-- 
Posted via http://www.ruby-forum.com/.

Back to comp.lang.ruby | Previous | NextNext in thread | Find similar | Unroll thread


Thread

uninitialized constant Fileutils (NameError)? Thomas Luedeke <tluedeke@excite.com> - 2011-04-07 03:45 -0500
  Re: uninitialized constant Fileutils (NameError)? Stefano Crocco <stefano.crocco@alice.it> - 2011-04-07 04:01 -0500
  Re: uninitialized constant Fileutils (NameError)? Haruka YAGNI <hyagni@gmail.com> - 2011-04-07 03:58 -0500

csiph-web