Very simple Rack middleware to set an env variable based on user agent
Brian Rose
gem "rack_detect_platform", "~> 0.0.1"