Server for "While You're At It" android training project.
You'll need to install ruby 2.1.5. If you're using rbenv then you'll need to update your ruby-build package to be able to install ruby 2.1.5.
First, check if the ruby-build plugin is located under ~/.rbenv/plugins/ruby-build
.
If it is, then all you need to do is cd
into the folder and run git pull
.
If you installed it via Homebrew then you'll need to run:
brew update
brew upgrade ruby-build
.
Once you've updated the ruby-build
plugin then all you need to do is run: rbenv install 2.1.5
cd
into project folder, and make sure your ruby version is correct by runningrbenv which ruby
.- run
gem install bundler
- run
bundle install --binstubs .bundle/bin
- run
rbenv rehash
- Install the rbenv-vars plugin.
- In the project root folder create a
.rbenv-vars
and add the necessary environment variables.