Created
April 10, 2014 14:21
-
-
Save davetron5000/10387607 to your computer and use it in GitHub Desktop.
This is my imagined way in which Bundler could manage front-end assets without having to wrap them first in RubyGems, but just deciding to use bower
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source 'https://[email protected]/me/' # private gem repo | |
source 'https://rubygems.org' # canonical rubygems | |
asset_source 'https://[email protected]' # if someday this could exist | |
asset_source 'https://bower.io' # canonical bower sources | |
gem "rails" # gem == RubyGem, do what we do now | |
asset "angular" # look in Bower public server, using its API | |
asset "colors", git: "[email protected]:stitchfix/colors" # look in git repo for bower.json | |
asset "jquery", cdn: "code.jquery.com/jquery-1.11.0.min.js" # satisfies deps, but doesn't download anything |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment