Hey Matthew, Yes, that's much simpler. You were right about the code as well, the whole second block around line 32 was killing it.
Cheers, On Mar 3, 1:16 pm, Matthew Draper <[email protected]> wrote: > On 03/03/12 08:55, markbrown4 wrote: > > > I'm trying to setup a rake task to compile and minify .js files using > > sprockets, for use outside of Rails. > > You may be able to get some inspiration from here: > > https://gist.github.com/f34c6186bfef1b0e5e1d > > It was in turn mostly pilfered from bin/sprockets. > > In your code, I'd wager that both line 28 and 32 are writing (rather > different-looking contents) to application.js. > > Matthew > > -- > [email protected] -- You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en.
