changeed gemfile and controoler