ysbaddaden / prax

Rack proxy server for development
http://ysbaddaden.github.io/prax/
Other
475 stars 49 forks source link

prax depends on mime-types which has been removed in Ruby 2.x #74

Closed sl4m closed 9 years ago

sl4m commented 10 years ago

Hi,

I am successfully running prax on Ruby 2.0.0-p353, Ubuntu 12.04.4 LTS. It took me some time with a colleague to figure out why the home page of a local environment was downloading instead of showing the page. It was because prax depends on mime-types and defaulted to application/octet-stream.

By installing the mime-types gem (specifically 1.25.1, not sure if 2.x works), I was able to successfully run prax.

ysbaddaden commented 10 years ago

Oh weird. Thanks for the hint.

ysbaddaden commented 9 years ago

Prax no longer requires the mime-types gem.