Adding a script to to a rails application

I would like for this to be included in the head section of my rails
app:

How can I do this from app/assets/javascripts/application.js ? I tried this, but it did not work: //= require https://abc/embed.js Thank you! Jose

On Wed, Mar 16, 2016 at 2:43 PM, Jose B. [email protected] wrote:

I would like for this to be included in the head section of my rails app:

How can I do this from app/assets/javascripts/application.js ? I tried this, but it did not work: //= require https://abc/embed.js

Put it in the application layout instead, in
app/views/layouts/application.html.erb
Only use the asset pipeline for assets you have in your app.