Class: Everywhere::Engine

Inherits:
Rails::Engine
  • Object
show all
Defined in:
lib/everywhere/engine.rb

Overview

Rails integration: serves @rubyeverywhere/bridge straight from the gem's bridge/ directory (the same files published to npm — single source) and contributes the importmap pin, so apps get bridge updates with bundle update ruby_everywhere — no vendored copy to refresh. Loaded only when Rails is present; Sinatra/Hanami apps keep the vendored public/bridge.js from every install.