Questions tagged [rake-pipeline]

rake-pipeline is a extension for rake (ruby make) for packaging files for web deployment.

Rake-pipeline provides a tool for packaging front-end web applications (i.e. built primarily with Javascript and including CSS and static assets) for deployment. It uses to handle file dependencies and an Assetfile to provide a "recipe" for which files to package.

It may be helpful to think of rake-pipeline as ' asset pipeline without Rails.

The Assetfile syntax provides syntax for developers to supply "filters" for post-processing input, such as rendering eRB to HTML, to , minifying Javascript and CSS, or otherwise compressing output files.

Where to start

These resources may help you ask a better question:

7 questions
3
votes
1 answer

Rake Pipeline or Rails Asset Pipeline

Trying to understand a few things about rails: I have used rake-pipeline with rake-pipeline-web-filters successfully in the past for my front-end projects. Recently, with a rails backend, My front-end assets are getting produced using the Rails…
Rajat
  • 32,970
  • 17
  • 67
  • 87
2
votes
2 answers

Proxy for ajax calls using rake-pipeline-web-filters

I'm setting up my devel environment for an Ember.js app using rake-pipeline as described here. During development, my html and javascript are served by webrick (rake-filter magic that I don't quite understand) on http://0.0.0.0:9292 and I have a…
Rafael Vega
  • 4,575
  • 4
  • 32
  • 50
2
votes
0 answers

How do I create a filter for copying binary files in Rake Pipeline (rakep)?

I am using Rake Pipeline (aka "rakep") to build an Ember.js application. I find that when it is running on a Windows OS it mangles binary image files when it is copying them. The Ruby docs indicate that you need to introduce a special filter that…
Glenn Lawrence
  • 2,844
  • 1
  • 32
  • 38
2
votes
2 answers

rake-pipeline performance

We're using Rake::Pipeline::Middleware to serve a rake-pipeline project with Rack. It seems incredibly slow, like it's rebuilding everything whenever a file has changed. Are we doing something wrong? Is there something we can do to speed it up?
Jo Liss
  • 30,333
  • 19
  • 121
  • 170
1
vote
1 answer

Running Rake::Pipeline.build inside of Rakefile

I'm trying to kick off a Rake Pipeline task from inside a Rakefile. From what I can tell the process to do that would be to do something like the example here. However, that isn't working. Here is a gist reducing that example to barebones. It shows…
nathanhammond
  • 305
  • 2
  • 6
1
vote
0 answers

rake-pipeline Assetfile: How to take vendor javascript from gems?

Is it possible to take vendor javascripts from gems for rake-pipeline? Gems like handlebars-source, ember-source or jquery-rails. Similar to what Rails does, I guess. Is it a good idea to let gem keep vendor javascripts up to date?
arkadiy kraportov
  • 3,679
  • 4
  • 33
  • 42
1
vote
1 answer

New version of Rake Pipeline doesn't like my config.ru

I'm working on an Ember.js project (around 0.9.8.x, if it matters) which was built with ember-skeleton. I recently made the mistake of haphazardly running bundle update and my version of rake-pipeline jumped from 0.6.0 to 0.8.0, and I get this error…
pjmorse
  • 9,204
  • 9
  • 54
  • 124