Fixed bugs in gemfile