view tool_dependencies.xml @ 14:3f8f714feac1 draft default tip

Changing back to avoid using libxml
author iracooke
date Wed, 05 Mar 2014 23:38:24 -0500
parents deab830854fb
children
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
    <package name="ruby" version="2.0">
        <install version="1.0">
            <actions>
                <action type="download_by_url">http://cache.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p451.tar.gz</action>

                <!-- Fails on OSX due to lack of openssl. -->
                <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.0.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/

            It is highly advisable to install the libxml2 development package (eg libxml2-dev) on your system as failure to do so will cause gems that depend on libxml2 to fail. 

            RUBYHOME and RUBYLIB will be set and with GALAXY_RUBY_HOME you can access the root installation directory.
        </readme>
    </package>
</tool_dependency>