view README @ 2:c25df71f7b68 default tip

Update to protk 1.2.2
author Ira Cooke <iracooke@gmail.com>
date Sun, 09 Jun 2013 08:13:09 -0500
parents dac478a72c1d
children
line wrap: on
line source

This package is an installer for the protk rubygem

Installation of this package should proceed automatically however the 
steps are outlined here to help troubleshoot potential issues.

The installer does the following
1. Downloads an install script from dropbox
2. Installs ruby version manager (rvm) into the home directory of the galaxy user (ie at $HOME/.rvm)
3. Uses rvm to download and compile ruby 1.9.3
4. Creates a gemset to install the protk rubygem
5. Installs the protk rubygem which involves compiling a libxml extension

System Requirements:

- General requirements:
	Many of these requirements are for building rvm and ruby itself. If you have pre-installed 
	rvm and ruby you should already have most of these installed (See below for pre-installing RVM and Ruby)

	Requires the ability to download files (an internet connection) curl wget
	Requires basic build tools. 
	On Ubuntu, package build-essential is usually sufficient
	On Centos, you should install gcc g++ make autoconf automake libtool pkg-config patch git openssl libreadline6 libreadline6-dev git-core zlib1g zlib1g-dev libssl-dev libc6-dev ncurses-dev bison subversion libxml2 libxml2-dev gawk

- Tested Systems:
	Ubuntu-12.04-LTS 64 Bit Server With OpenSSH preinstalled:

	Requires
	build-essential mercurial libreadline6-dev zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev autoconf libgdbm-dev libncurses5-dev automake libtool bison pkg-config libffi-dev

- RVM (Ruby Version Manager)
	The install script will attempt to install rvm for you if it is not already 
	installed but this will fail if there are unsatified system dependencies.
	Alternatively you can pre-install rvm by following instructions at https://rvm.io/rvm/install/ 
	before you proceed. Protk should work with rvm installed as root or as a local user.
	This option has the advantage of allowing you control over how rvm is installed in your system.

	(For example. Installing rvm as root user)

	curl -L https://get.rvm.io | sudo bash -s stable
	sudo usermod -a -G rvm yourusername

	(logout and log back in and then execute the following comand to preinstall ruby and its dependencies)

	rvm install --autolibs=3 1.9.3