Skip to content

gustavovnicius/sinatra-example

Repository files navigation

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.

About

Small sinatra example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages