install db. add gems.