Since I did not want to constantly re-invent the wheel I will write down my choices for putting together my Cuba template.
- Choose your favorite version of ruby and install it using rbenv (I happened to use MRI 2.2.3 at this point).
- create your template directory and CD into it.
- fix your ruby version using
rbenv local 2.2.3or somesuch - create a github repository and follow the instructions for the README.md and the first commit.
- get a Gemfile from a running project and edit away the stuff I considered project specific
- run bundle install, takes a while, but looks nice, remember to add
Gemfile.locktogittoo - create
routesandconfigdirectories, want to put stuff in there - create an initial
Cubaroute inroutes/default.rb