Skip to content

Instantly share code, notes, and snippets.

View gregerolsson's full-sized avatar
👋

Greger Olsson gregerolsson

👋
View GitHub Profile
@gregerolsson
gregerolsson / gist:4737540
Last active December 12, 2015 07:38
Symlinked dependencies which have peerDependencies

Consider the following structure where x depends on a and b and where a peerDepends on b:

.
├── README.md
├── node_modules
│   ├── a
│   │   ├── README.md
│   │   ├── a.js
@gregerolsson
gregerolsson / jammit_and_rails.markdown
Created September 12, 2012 07:32
Using Jasmine with Jammit in Rails

This Gist shows how to use Jammit bundles together with Jasmine where the Jasmine specs are reached using a normal Rails route at any time during development.

Note: The code below has not been tested and you will have to modify it to suit your needs.

The Gist is a response to https://groups.google.com/d/topic/jasmine-js/4ZTtFabTPmc/discussion

config/routes.rb