Skip to content

Instantly share code, notes, and snippets.

@benschwarz
Last active April 3, 2019 07:55
Show Gist options
  • Star 15 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save benschwarz/5874031 to your computer and use it in GitHub Desktop.
Save benschwarz/5874031 to your computer and use it in GitHub Desktop.
Bower + Rails asset pipeline
{
"directory": "vendor/assets/components"
}
//= require pkgname
npm install -g bower
# From your rails project directory
curl https://raw.github.com/gist/5874031/.bowerrc > ./.bowerrc
bower install <pkgname>
@oivoodoo
Copy link

Is it possible somehow to use images with rails pipeline from the components?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment