Mercurial > repos > iuc > package_ruby_2_1
changeset 0:f4bdcc1898b5 draft
Uploaded
author | iuc |
---|---|
date | Mon, 17 Feb 2014 14:14:13 -0500 |
parents | |
children | 5c491b96b700 |
files | tool_dependencies.xml |
diffstat | 1 files changed, 25 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tool_dependencies.xml Mon Feb 17 14:14:13 2014 -0500 @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<tool_dependency> + <package name="ruby" version="2.1"> + <install version="1.0"> + <actions> + <action type="download_by_url">http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.0.tar.gz</action> + + <action type="autoconf">--disable-install-doc</action> + <action type="set_environment"> + <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable> + <environment_variable action="set_to" name="RUBYLIB">$INSTALL_DIR/lib/</environment_variable> + <environment_variable action="set_to" name="RUBY_HOME">$INSTALL_DIR</environment_variable> + <environment_variable action="set_to" name="GALAXY_RUBY_HOME">$INSTALL_DIR</environment_variable> + </action> + </actions> + </install> + <readme> + This installs ruby 2.1.x. Ruby is a dynamic, open source programming language with a focus on simplicity and productivity. + It has an elegant syntax that is natural to read and easy to write. + https://www.ruby-lang.org/ + + RUBYHOME and RUBYLIB will be set and with GALAXY_RUBY_HOME you can access the root installation directory. + </readme> + </package> +</tool_dependency>