fork download
  1. require File.expand_path('../boot', __FILE__)
  2.  
  3. require 'rails/all'
  4.  
  5. # Require the gems listed in Gemfile, including any gems
  6. # you've limited to :test, :development, or :production.
  7. Bundler.require(*Rails.groups)
  8.  
  9. module Myapp
  10. class Application < Rails::Application
  11. # Settings in config/environments/* take precedence over those specified here.
  12. # Application configuration should go into files in config/initializers
  13. # -- all .rb files in that directory are automatically loaded.
  14.  
  15. # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
  16. # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
  17. # config.time_zone = 'Central Time (US & Canada)'
  18.  
  19. # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
  20. # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
  21. # config.i18n.default_locale = :de
  22.  
  23. # Do not swallow errors in after_commit/after_rollback callbacks.
  24. config.active_record.raise_in_transactional_callbacks = true
  25. end
  26. end
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
Main.java:1: error: class, interface, or enum expected
require File.expand_path('../boot', __FILE__)
^
Main.java:1: error: unclosed character literal
require File.expand_path('../boot', __FILE__)
                         ^
Main.java:1: error: unclosed character literal
require File.expand_path('../boot', __FILE__)
                                 ^
Main.java:3: error: unclosed character literal
require 'rails/all'
        ^
Main.java:3: error: illegal line end in character literal
require 'rails/all'
                  ^
Main.java:5: error: illegal character: '#'
# Require the gems listed in Gemfile, including any gems
^
Main.java:6: error: illegal character: '#'
# you've limited to :test, :development, or :production.
^
Main.java:6: error: unclosed character literal
# you've limited to :test, :development, or :production.
     ^
Main.java:10: error: > expected
  class Application < Rails::Application
                           ^
Main.java:11: error: illegal character: '#'
    # Settings in config/environments/* take precedence over those specified here.
    ^
Main.java:11: error: ';' expected
    # Settings in config/environments/* take precedence over those specified here.
                 ^
Main.java:11: error: <identifier> expected
    # Settings in config/environments/* take precedence over those specified here.
                        ^
Main.java:11: error: unclosed comment
    # Settings in config/environments/* take precedence over those specified here.
                                     ^
Main.java:26: error: reached end of file while parsing
end
   ^
14 errors
stdout
Standard output is empty