Change rails detection, delete rails.rb