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.1.21-x86-mingw32 config/environments/standalone.rb
smalruby-editor-0.1.21 config/environments/standalone.rb
smalruby-editor-0.1.20-x86-mingw32 config/environments/standalone.rb
smalruby-editor-0.1.20 config/environments/standalone.rb
smalruby-editor-0.1.19-x86-mingw32 config/environments/standalone.rb
smalruby-editor-0.1.19 config/environments/standalone.rb
smalruby-editor-0.1.18-x86-mingw32 config/environments/standalone.rb
smalruby-editor-0.1.18 config/environments/standalone.rb
smalruby-editor-0.1.17-x86-mingw32 config/environments/standalone.rb
smalruby-editor-0.1.17 config/environments/standalone.rb
smalruby-editor-0.1.16-x86-mingw32 config/environments/standalone.rb
smalruby-editor-0.1.16 config/environments/standalone.rb
smalruby-editor-0.1.15-x86-mingw32 config/environments/standalone.rb
smalruby-editor-0.1.15 config/environments/standalone.rb
smalruby-editor-0.1.14-x86-mingw32 config/environments/standalone.rb
smalruby-editor-0.1.14 config/environments/standalone.rb
smalruby-editor-0.1.13-x86-mingw32 config/environments/standalone.rb
smalruby-editor-0.1.13 config/environments/standalone.rb
smalruby-editor-0.1.12-x86-mingw32 config/environments/standalone.rb
smalruby-editor-0.1.12 config/environments/standalone.rb