Type this (You might needs super user previledge):
($ su) # ruby setup.rb
If you want to install a program in to your home directory ($HOME), use following instead:
$ ruby setup.rb all --prefix=$HOME
setup.rb invokes installation by three steps. There are "config", "setup" and "install". You can invoke each steps separately as following:
$ ruby setup.rb config $ ruby setup.rb setup # ruby setup.rb install
You can controll installation process by giving detailed options for each tasks. For example, --bin-dir=$HOME/bin let setup.rb install commands in $HOME/bin.
For details, see "Task Options".
"Global Option" is a command line option which you can use for all tasks. You must give a global option before any task name.
suppress message outputs
output messages verbosely (default)
prints help and quit
prints version and quit
prints copyright and quit
These are acceptable tasks:
Invokes `config, `setup
, then `install'.
Task options for all is same with config.
Checks and saves configurations.
Prints current configurations.
Compiles ruby extentions.
Installs files.
Removes created files.
Removes all created files.
a prefix of the installing directory path
the directory for standard ruby libraries
the directory for version-independent non-standard ruby libraries
the directory for non-standard ruby libraries
the directory for commands
the directory for ruby scripts
the directory for ruby extentions
the directory for shared data
path to set to #! line
the ruby program using for installation
the make program to compile ruby extentions
forces to setup.rb never to compile/install ruby extentions.
your rbconfig.rb to load
You can view default values of these options by typing
$ ruby setup.rb --help
If there's the directory named "packages", You can also use these options:
Package names which you want to install.
Package names which you do not want to install.
[NOTE] You can pass options for extconf.rb like this:
ruby setup.rb config -- --with-tklib=/usr/lib/libtk-ja.so.8.0
prints what to do and done nothing really.
The prefix of the installing directory path. This option may help binary package maintainers. A default value is an empty string.