Search code examples
ruby-on-railsruby-on-rails-3herokuthinwebrick

Things to know when replacing WEBrick by Thin


I intend to replace WEBrick by Thin on a Rails 3.2 project because WEBrick handles malformed unescaped URIs badly (bad URI error). I know there are config hacks to make WEBrick handle unescaped URIs but just adding gem 'thin' to my Gemfile seems so easy that makes me wonder:

  • Is there something that could break or go wrong in my apllication if I do that?

BTW: I'm deploying on Heroku. If there are specific issues with Thin on Heroku then I would also like to know.


Solution

  • Nope.. Rails is just that simple! :)

    Just make sure you start using:

    thin start