diff options
Diffstat (limited to 'doc/install')
| -rw-r--r-- | doc/install/jruby.md | 37 | ||||
| -rw-r--r-- | doc/install/rvm.md | 30 |
2 files changed, 30 insertions, 37 deletions
diff --git a/doc/install/jruby.md b/doc/install/jruby.md deleted file mode 100644 index ff3cb9024..000000000 --- a/doc/install/jruby.md +++ /dev/null @@ -1,37 +0,0 @@ -# Install JRuby 1.6.8 - -Download JRuby on http://www.jruby.org/download -```sh -mkdir application -``` -Copy jruby-bin-1.6.8.tar.gz in application -```sh -cd application -tar xfz jruby-bin-1.6.8.tar.gz -``` -Create a repository jruby-1.6.8 -```sh -ln -s jruby-1.6.8 jruby -``` - -Add to path application/jruby/bin -```sh -cd -vi .profile -``` -Add this in the file : -```sh -if [ -d "$HOME/application/jruby/bin" ] ; then - PATH="$HOME/application/jruby/bin":$PATH -fi -``` - -Apply Profile -```sh -. .profile -``` - -Test JRuby -```sh -jruby -v -```
\ No newline at end of file diff --git a/doc/install/rvm.md b/doc/install/rvm.md new file mode 100644 index 000000000..163347c56 --- /dev/null +++ b/doc/install/rvm.md @@ -0,0 +1,30 @@ +# Install RVM + +If no package is available, install from sources + +Setup from sources +------------------ + +follow procedure described by [that post](http://toddmahoney.com/post/65020455496/ubuntu-13-10-installing-rvm-ruby) + +```sh +sudo apt-get update + +sudo apt-get install build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion pkg-config libgdbm-dev libffi-dev libreadline-dev + +curl -L https://get.rvm.io | bash -s stable + +echo ‘source ~/.rvm/scripts/rvm’ » ~/.bash_aliases && bash +``` + +Test +---- + +```sh +type rvm | head -n 1 +``` +and if you get +```sh +rvm is a function +``` +installation is ok |
