Sha256: a3f2e0b5b7a29fef20ec308cffb6caacef45cbc989311b03aa55636b49170f08

Contents?: true

Size: 543 Bytes

Versions: 94

Compression:

Stored size: 543 Bytes

Contents

require_relative 'production'

SmalrubyEditor::Application.configure do
  if ENV['SMALRUBY_EDITOR_HOME'].present?
    home_dir = SmalrubyEditor.create_home_directory

    config.paths.add('config/database',
                     with: home_dir.join('config/database.yml'))
    config.paths.add('log', with: home_dir.join("log/#{Rails.env}.log"))
    config.paths.add('tmp', with: home_dir.join('tmp'))
    config.paths.add('tmp/cache', with: home_dir.join('tmp/cache'))
  end

  config.serve_static_assets = true
  config.log_level = :warn
end

Version data entries

94 entries across 94 versions & 1 rubygems

Version Path
smalruby-editor-0.4.1-x86-mingw32 config/environments/standalone.rb
smalruby-editor-0.4.2-x86-mingw32 config/environments/standalone.rb
smalruby-editor-0.4.2 config/environments/standalone.rb
smalruby-editor-0.4.1 config/environments/standalone.rb
smalruby-editor-0.4.0-x86-mingw32 config/environments/standalone.rb
smalruby-editor-0.4.0 config/environments/standalone.rb
smalruby-editor-0.3.5-x86-mingw32 config/environments/standalone.rb
smalruby-editor-0.3.5 config/environments/standalone.rb
smalruby-editor-0.3.4-x86-mingw32 config/environments/standalone.rb
smalruby-editor-0.3.4 config/environments/standalone.rb
smalruby-editor-0.3.3-x86-mingw32 config/environments/standalone.rb
smalruby-editor-0.3.3 config/environments/standalone.rb
smalruby-editor-0.3.2-x86-mingw32 config/environments/standalone.rb
smalruby-editor-0.3.2 config/environments/standalone.rb
smalruby-editor-0.3.1-x86-mingw32 config/environments/standalone.rb
smalruby-editor-0.3.1 config/environments/standalone.rb
smalruby-editor-0.3.0-x86-mingw32 config/environments/standalone.rb
smalruby-editor-0.3.0 config/environments/standalone.rb
smalruby-editor-0.2.7-x86-mingw32 config/environments/standalone.rb
smalruby-editor-0.2.7 config/environments/standalone.rb