Got a really handy bit of script working today, but it took me some time to figure out so thought I should post it.

Using the latest Jasmine Gem (only on Github master as of 2013/01/29) you just need to create spec/javascripts/support/jasmine_helper.rb and drop this in there (note that jasmine_helper.rb takes the responsibility of custom configs over from jasmine_config.rb from now on!):

What it does is to load assets.yml, parse the YAML array javascripts: workspace:, uses Jasmine’s PathExpander.expand method to actually glob the files from the paths listed there and finally wraps the whole thing into a lambda so that it acts as a method.