title: Rails 6 upgrading from turbolinks to turbo. How to require turbo-rails in application.js?
body: <p>I'm working on a legacy application, recently upgrades to Rails 6.0.4. The app uses <code>sprockets</code>, NOT <code>webpacker</code>.</p>
  <p>Now I'm trying to move off of <code>turbolinks</code> and onto <code>turbo-rails</code>. The js files in this app all use sprockets require directives such as:</p>
  <pre><code>//= require jquery3
  //= require turbolinks
  </code></pre>
  <p>I can't seem to figure out how to apply this to <code>turbo-rails</code>. I've installed the gem and removed turbolinks, but all of the documentation I've found has things like <code>import &quot;@hotwired/turbo-rails&quot;</code>.</p>
  <p>I'm not very knowledgeable about front end stuff, but I believe this is a different (ES6?) syntax. This app is currently on <code>sprockets 3.7.2</code> and I don't think sprockets supports ES6 until version 4. I'd like to avoid this upgrade touching more dependencies if possible...</p>
  <p>is it possible to <code>//= require</code> turbo in the same way I currently have <code>//= require turbolinks</code>?'</p>