added some version numbers to Gemfile
prevented before_filter redirect loop