Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 692 Bytes

README.md

File metadata and controls

33 lines (25 loc) · 692 Bytes

Based on https://github.com/sinatra/sinatra

Rbenv / Ruby installation based on: https://github.com/sstephenson/rbenv and https://github.com/sstephenson/ruby-build

Ruby installation:

git clone https://github.com/sstephenson/rbenv.git ~/.rbenv
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc
echo 'eval "$(rbenv init -)"' >> ~/.bashrc
git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
rbenv install 2.1.0

Ok, now we have Ruby installed. You can check by typing:

ruby -v

Install required gems:

gem install sinatra
gem install rack
gem install shotgun

Or just run

bundle

in the application root path.