Sha256: 489131091133c666bed397c39dbb66999db4193666b58e4676c42479388fa635

Contents?: true

Size: 661 Bytes

Versions: 5

Compression:

Stored size: 661 Bytes

Contents

RAILS_ROOT = File.join(File.dirname(__FILE__)) unless defined?(RAILS_ROOT)

module Rails
  class << self
    unless defined?(vendor_rails?)
      def vendor_rails?
        false
      end
    end
  end
end

require 'rubygems'
gem 'rails', '>= 2.3.5'
require 'initializer'

Rails::Initializer.run do |config|
  # NOTE: this gem should match the version unpacked in vendor/gems, NOT any installed or working copies!
  config.gem 'rtml-bootstrapper', :version => '2.0.0', :lib => 'init_rtml_working_copy'
  config.action_controller.session = { :key => '_myapp_session', :secret => '1'*60 }
  config.log_path = File.join($root_dir, "tmp/rtml.log") if $root_dir
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rtml-2.0.4 spec/support/rails.rb
rtml-2.0.3 spec/support/rails.rb
rtml-2.0.2 spec/support/rails.rb
rtml-2.0.1 spec/support/rails.rb
rtml-2.0.0.alpha.1 spec/support/rails.rb