module Stairs
  class Railtie < Rails::Railtie
    load "stairs/tasks.rb"
  end
end

module Stairs
  class Railtie < Rails::Railtie
    rake_tasks do
      load "stairs/tasks.rb"
    end
  end
end

Use proper config option in Railtie
Use proper config option in Railtie
