Type:
Module
Constants:
RUBY : RbConfig::CONFIG['ruby_install_name']

Sys provides a number of file manipulation tools for the convenience of writing Rakefiles. All commands in this module will announce their activity on standard output if the $verbose flag is set ($verbose = true is the default). You can control this by globally setting $verbose or by using the verbose and quiet methods.

Sys has been deprecated in favor of the FileUtils module available in Ruby 1.8.

ruby

ruby(*args) Instance Public methods Run a Ruby interpreter with the given arguments

2015-05-16 13:23:49
run

run(cmd) Instance Public methods Run the system command cmd.

2015-05-16 13:31:16
symlink_files

symlink_files(wildcard, dest_dir) Instance Public methods Symlink all files

2015-05-16 13:42:50
verbose

verbose(&block) Instance Public methods Perform a block with $verbose enabled

2015-05-16 13:44:48
copy

copy(file_name, dest_file) Instance Public methods Copy a single file from

2015-05-16 12:19:08
for_files

for_files(*wildcards) Instance Public methods Perform a block with each file

2015-05-16 12:41:28
log

log(msg) Instance Public methods Write a message to standard error if $verbose

2015-05-16 13:06:56
makedirs

makedirs(*dirs) Instance Public methods Make the directories given in dirs

2015-05-16 13:09:40
install

install(wildcard, dest_dir, mode) Instance Public methods Install all the files

2015-05-16 12:52:07
split_all

split_all(path) Instance Public methods Split a file path into individual directory

2015-05-16 13:32:13