server/webapp/WEB-INF/rails.new/vendor/bundle/jruby/1.9/gems/js-routes-1.1.0/lib/js_routes.rb
# Under rails 3.1.1 and higher, perform a check to ensure that the
# full environment will be available during asset compilation.
# This is required to ensure routes are loaded.
Under rails 3.1.1 and higher, perform a check to ensure that the
full environment will be available during asset compilation.
This is required to ensure routes are loaded.
Under rails 3 . 1 . 1 and higher perform a check to ensure that the full environment will be available during asset compilation . This is required to ensure routes are loaded .
def assert_usable_configuration!
      if 3 == Rails::VERSION::MAJOR && !Rails.application.config.assets.initialize_on_precompile
        raise("Cannot precompile js-routes unless environment is initialized. Please set config.assets.initialize_on_precompile to true.")
      end
      true
    end
def assert_usable_configuration! if 3 == Rails :: VERSION :: MAJOR && ! Rails . application . config . assets . initialize_on_precompile raise ( "Cannot precompile js-routes unless environment is initialized. Please set config.assets.initialize_on_precompile to true." ) end true end
Under rails 3.1.1 and higher, perform a check to ensure that the
full environment will be available during asset compilation.
Under rails 3 . 1 . 1 and higher perform a check to ensure that the full environment will be available during asset compilation .