locking the gemfile and turning off asset precompiling