Robotron
Dynamic robots.txt for different Rails environments with Rack.
Getting started
Add gem to your Gemfile
gem 'robotron'Bundle it
bundle installAdd to your config/routes.rb
Rails.application.routes.draw do
get '/robots.txt' => Robotron
endCreate config/robots.txt.production for production