Fixed gemfile dependencies issues for debian deployment