addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobegmailgooglegroupshelp-with-circleimageimagesinstagramFill 1linklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1ShapeoutlookpersonJoin Group on CardStartprice-ribbonShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruserwarningyahoo

Using Grunt to build your Rails assets

The asset pipeline is great, but there are many tools out there besides Sprockets that can build assets. Some of them even do a (relatively) better job. One such tool we use at D-I is Grunt, JavaScript's answer to rake.

As we started liking our Grunt setup more and more, we needed to find a way to use similar setups between projects. Thus was born Half Pipe (http://github.com/d-i/half-pipe), a gem that replaces the Rails asset pipeline with Grunt (and provides asset package management via Bower).

This talk will go into a little more detail on the motivations that led us to building Half Pipe, including why we gave up on Sprockets. I'll show how we manage browser-based dependencies without gems, and I'll give a brief introduction to both Grunt & Bower. After this talk, you should be ready to enjoy a much happier experience working on client-side code.

Join or login to comment.

  • A former member
    A former member

    Why rails developer are switching to grunt while rails is capable to do everything?

    October 11, 2013

    • Joe F.

      I just commented above with a link to the YouTube video. I actually answer this question in my talk. I'm happy to discuss if you have further questions after watching. Thanks!

      October 11, 2013

    • A former member
      A former member

      ok. Will see the whole video. I also asked this question on stackoverflow yesterday http://stackoverflow....­

      October 11, 2013

  • A former member
    A former member

    is there any recording of this talk?

    October 11, 2013

    • Joe F.

      See my comment above for a YouTube link.

      October 11, 2013

    • A former member
      A former member

      Thanks

      October 11, 2013

  • Joe F.

    This talk is on YouTube now, all edited and trimmed down for your viewing pleasure. http://www.youtube.com/watch?v=2gaZsFkZ2BQ

    1 · October 11, 2013

  • Vishal

    Great stuff peeps thanks so much!

    October 2, 2013

  • Juan Ignacio D.

    Thanks, guys!, will it be on the boxcast site to view on demand later??

    October 1, 2013

    • Joel B.

      Yes, you'll probably want to skip the first 30 minutes

      October 1, 2013

  • Joel B.

    Thanks to the folks at BoxCast, we will be streaming tonight's presentation live! Please tune in at 7:00 for the live feed. https://www.boxcast.com/show/#/using-grunt-to-build-your-rails-assets

    October 1, 2013

  • Joel B.

    Don't forget to bring your laptops this evening, there will be someone available to help with Ruby installations if you need it and we will pair off on a Kata from 6-7. The main presentation will begin at 7pm.

    October 1, 2013

  • Joe F.

    We'll try to film it. I'll post a link when it's online.

    September 28, 2013

    • Joe F.

      Hey great, I'll bring my camera and tripod. Joel, can you get access to the portable digital recorder LeanDog has? That'd be perfect for getting part-way decent audio.

      September 30, 2013

    • Joel B.

      I just found a camera that we were using for some work recently, I think we should be covered between the two of us.

      September 30, 2013

  • Vishal

    Same goes for me, can you find someway of sharing this meet up. I'm in London and I'm so excited about Grunt and Rails

    September 28, 2013

  • Juan Ignacio D.

    Hey, please can you stream live or record the meetup!, I really want to know more about half-pipe and a grunt approach to assets within rails.... but I can't go!, I'm from Chile, a bit far from cleveland.... :(

    September 27, 2013

  • Joel B.

    We have a scheduling conflict on the LeanDog boat for 10/3, (Browns home game). We're going to reschedule for 10/1. I hope everybody can still make it!

    September 23, 2013

29 went

Our Sponsors

  • LeanDog

    An Agile Software Studio

  • BoxCast

    Streaming live and recorded video of our meetup's presentations.

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy