Sha256: 4833550b04bb06ee710707ec8e0337415b62d9ee4deb74ca8d4b972cae4cd4cf

Contents?: true

Size: 586 Bytes

Versions: 34

Compression:

Stored size: 586 Bytes

Contents

# Load the Rails application
require File.expand_path('../application', __FILE__)

# Make sure there's no plugin in vendor/plugin before starting
vendor_plugins_dir = File.join(Rails.root, "vendor", "plugins")
if Dir.glob(File.join(vendor_plugins_dir, "*")).any?
  $stderr.puts "Plugins in vendor/plugins (#{vendor_plugins_dir}) are no longer allowed. " +
    "Please, put your Redmine plugins in the `plugins` directory at the root of your " +
    "Redmine directory (#{File.join(Rails.root, "plugins")})"
  exit 1
end

# Initialize the Rails application
Rails.application.initialize!

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
redmine_extensions-0.0.39 spec/redmine/config/environment.rb
redmine_extensions-0.0.38 spec/redmine/config/environment.rb
redmine_extensions-0.0.37 spec/redmine/config/environment.rb
redmine_extensions-0.1.11 spec/redmine/config/environment.rb
redmine_extensions-0.1.10 spec/redmine/config/environment.rb
redmine_extensions-0.0.36 spec/redmine/config/environment.rb
redmine_extensions-0.0.34 spec/redmine/config/environment.rb
redmine_extensions-0.1.09 spec/redmine/config/environment.rb
redmine_extensions-0.1.07 spec/redmine/config/environment.rb
redmine_extensions-0.1.06 spec/redmine/config/environment.rb
redmine_extensions-0.1.05 spec/redmine/config/environment.rb
redmine_extensions-0.1.04 spec/redmine/config/environment.rb
redmine_extensions-0.1.03 spec/redmine/config/environment.rb
redmine_extensions-0.0.33 spec/redmine/config/environment.rb
redmine_extensions-0.1.02 spec/redmine/config/environment.rb
redmine_extensions-0.1.01 spec/redmine/config/environment.rb
redmine_extensions-0.0.29 spec/redmine/config/environment.rb
redmine_extensions-0.0.28 spec/redmine/config/environment.rb
redmine_extensions-0.0.27 spec/redmine/config/environment.rb
redmine_extensions-0.0.24 spec/redmine/config/environment.rb