Sha256: ee3afbce36d4e7d5a3fb93fe3e892b909762d8d578963c3f7acd27c1b64003a6

Contents?: true

Size: 303 Bytes

Versions: 36

Compression:

Stored size: 303 Bytes

Contents

begin
  require 'rails'
  @rails_loaded = true
rescue LoadError => ex
  @rails_loaded = false
end

if @rails_loaded
  module Testbot
    class Railtie < Rails::Railtie
      rake_tasks do
        load File.expand_path(File.join(File.dirname(__FILE__), "tasks/testbot.rake"))
      end
    end
  end
end

Version data entries

36 entries across 36 versions & 2 rubygems

Version Path
testbot-0.7.12 lib/railtie.rb
testbot-0.7.11 lib/railtie.rb
testbot-0.7.9 lib/railtie.rb
testbot_instructure-0.7.9 lib/railtie.rb
testbot_instructure-0.7.8 lib/railtie.rb
testbot-0.7.8 lib/railtie.rb
testbot-0.7.7 lib/railtie.rb
testbot-0.7.6 lib/railtie.rb
testbot-0.7.5 lib/railtie.rb
testbot-0.7.3 lib/railtie.rb
testbot-0.7.2 lib/railtie.rb
testbot-0.7.1 lib/railtie.rb
testbot-0.7.0 lib/railtie.rb
testbot-0.6.9 lib/railtie.rb
testbot-0.6.8 lib/railtie.rb
testbot-0.6.7 lib/railtie.rb
testbot-0.6.6 lib/railtie.rb
testbot-0.6.5 lib/railtie.rb
testbot-0.6.4 lib/railtie.rb
testbot-0.6.3 lib/railtie.rb