HTTPS SSH

Install

$ cd /home/<user>/git

$ git clone git@bitbucket.org/litmis/sinatra_ibm_db.git

---begin gemset (optional)

If you want to keep gems in their own "gemset". This will install the new gems into /home/<user>/gemsets/sinatra_ibm_db.

$ mkdir /home/<user>/gemsets/sinatra_ibm_db

export GEM_HOME=/home/<user>/gemsets/sinatra_ibm_db

export GEM_PATH=/home/<user>/gemsets/sinatra_ibm_db:/PowerRuby/prV2R0/lib/ruby/gems/2.0.0

---end gemset

$ gem install sinatra

$ gem install sinatra-activerecord

STRSQL:
CREATE COLLECTION A2222_D

5250:
CRTUSRPRF USRPRF(A2222) PASSWORD(A2222) INLMNU(*SIGNOFF) USRCLS(*USER)

CHGAUT OBJ('/qsys.lib/A2222_D.lib') USER(A2222) DTAAUT(*RWX) OBJAUT(*ALL)

$ rake db:migrate

$ ruby app.rb -p8001 -o0.0.0.0