R
Ralf Müller
Hi out there,
I'd like to use "FileUtils*", but ruby doe'nt agree:
irb(main):003:0> FileUtils.mkdir('uno')
NameError: uninitialized constant FileUtils
from (irb):3
irb(main):004:0>
But the file ist allreay in the lib:
ram@lilith:~/src/tar$locate fileutils.rb
/usr/local/lib/ruby/1.8/fileutils.rb
Dir works:
irb(main):001:0> Dir.mkdir('uno')
Errno::EEXIST: File exists - uno
from (irb):1:in `mkdir'
from (irb):1
I use ruby rby 1.8.2.
Where's my mistake?
regards
ralf
I'd like to use "FileUtils*", but ruby doe'nt agree:
irb(main):003:0> FileUtils.mkdir('uno')
NameError: uninitialized constant FileUtils
from (irb):3
irb(main):004:0>
But the file ist allreay in the lib:
ram@lilith:~/src/tar$locate fileutils.rb
/usr/local/lib/ruby/1.8/fileutils.rb
Dir works:
irb(main):001:0> Dir.mkdir('uno')
Errno::EEXIST: File exists - uno
from (irb):1:in `mkdir'
from (irb):1
I use ruby rby 1.8.2.
Where's my mistake?
regards
ralf