changeset 20:42bdefb9a878

Add setup commands to ruby and rbenv
author Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp>
date Tue, 04 Feb 2014 18:10:20 +0900
parents 830938cb50f8
children 0c75a6b0ef8e
files README.md
diffstat 1 files changed, 12 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/README.md	Tue Feb 04 17:28:16 2014 +0900
+++ b/README.md	Tue Feb 04 18:10:20 2014 +0900
@@ -1,5 +1,16 @@
-# setup
+# setup ruby with rbenv
+
+- git clone https://github.com/sstephenson/rbenv.git ~/.rbenv
+- git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
+- echo 'export PATH=$HOME/.rbenv/bin:$PATH' >> ~/.zshrc
+- echo 'eval "$(rbenv init - zsh)' >> ~/.zshrc
+- source ~/.zshrc
+- rbenv install 2.1.0
+- rbenv global 2.1.0
+
+# install slideshow and templates
 
 - gem install slideshow
+- slideshow install --all
 - cd ~/.slideshow/templates
 - git clone git://github.com/slideshow-s9/slideshow-shower.git