require File.expand_path('../boot', __FILE__) if defined?(Bundler) # If you precompile assets before deploying to production, use this line Bundler.require(*Game.groups(:assets => %w(development test))) # If you want your assets lazily compiled in production, use this line # Bundler.require(:default, :assets, Rails.env) end module SuperRubyBros class Application < Game::Application # Settings in config/environments/* take precedence over those specified here. # # Application configuration should go into files in config/initializers # -- all .rb files in that directory are automatically loaded. # Custom directories with classes and modules you want to be autoloadable. # # config.autoload_paths += %W(#{config.root}/extras) # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded. # # config.i18n.load_path += Dir[Game.root.join('my', 'locales', '*.{rb,yml}').to_s] # config.i18n.default_locale = :de # Custom directories with classes and modules you want to be autoloadable. # # config.autoload_paths += %W(#{config.root}/extras) # The game engine you would like to use. You can have multiple game engines installed. # When you require the game engine gem, such as `game-gosu`, it will automatically set # this option. You can override it here. # You can use the Symbol registered as the game engine's name or the actual game engine class. # For example, you may use `config.game_engine = :gosu` or `config.game_engine = RubyGame`. # # config.game_engine = :ray # The physics engine you would like to use. You can have multiple physics engines installed. # When you require the physics engine gem, such as `game-chipmunk`, it will automatically set # this option. You can override it here. # You can use the Symbol registered as the physics engine's name or the actual physics engine class. # For example, you may use `config.game_engine = :chipmunk` or `config.game_engine = Box2D`. # # config.game_engine = :chipmunk # Configure the default encoding used in templates for Ruby 1.9. config.encoding = "utf-8" end end