Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Gulp on Rails

Gulp on Rails

This is a talk about why you should ditch sprockets and some recommendations that will help you on your way.

Orlando Del Aguila

July 23, 2015
Tweet

More Decks by Orlando Del Aguila

Other Decks in Programming

Transcript

  1. Gulp on Rails

    View full-size slide

  2. @odelaguila
    eatcodetravel.com

    View full-size slide

  3. orlandodelaguila

    View full-size slide

  4. Gulp on Rails

    View full-size slide

  5. {build system}
    on
    Rails

    View full-size slide

  6. We’ve
    outgrown
    sprockets

    View full-size slide

  7. Uncaught SyntaxError:
    Unexpected token < on
    line 1

    View full-size slide

  8. browserify
    livereload
    imagemin

    View full-size slide

  9. move your
    assets out of
    app/assets

    View full-size slide

  10. disable
    sprockets

    View full-size slide

  11. asset_url
    image_tag
    image-url

    View full-size slide

  12. use a
    starter point

    View full-size slide

  13. what about
    deployments?

    View full-size slide

  14. what about
    caching?

    View full-size slide

  15. what about
    other gems?

    View full-size slide

  16. flexibility

    View full-size slide

  17. separate
    your app
    from Rails

    View full-size slide

  18. vigetlabs/gulp-rails-pipeline

    View full-size slide

  19. http://bit.ly/1HVZshW

    View full-size slide