Mercurial > repos > bgruening > package_ruby_2_0
changeset 12:6850ad3bc4ef draft
Uploaded
author | bgruening |
---|---|
date | Wed, 05 Mar 2014 13:41:08 -0500 |
parents | 67d3806b09ba |
children | deab830854fb |
files | tool_dependencies.xml |
diffstat | 1 files changed, 12 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tool_dependencies.xml Wed Mar 05 00:30:39 2014 -0500 +++ b/tool_dependencies.xml Wed Mar 05 13:41:08 2014 -0500 @@ -1,10 +1,19 @@ <?xml version="1.0"?> <tool_dependency> + <package name="libxml2" version="2.9.1"> + <repository changeset_revision="926b471a2e43" name="package_libxml2_2_9_1" owner="devteam" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" /> + </package> <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> + <action type="set_environment_for_install"> + <repository changeset_revision="926b471a2e43" name="package_libxml2_2_9_1" owner="devteam" toolshed="http://testtoolshed.g2.bx.psu.edu"> + <package name="libxml2" version="2.9.1" /> + </repository> + </action> + <!-- Fails on OSX due to lack of openssl. --> <action type="autoconf">--disable-install-doc</action> @@ -13,6 +22,7 @@ <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> + <environment_variable action="append_to" name="LD_LIBRARY_PATH">$ENV['LIBXML_ROOT_PATH']/lib</environment_variable> </action> </actions> </install> @@ -21,6 +31,8 @@ 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>