Added gem 'rails_12factor', group: :production to Gemfile to fix RoutingError