Skip to content
Permalink
Browse files

Adds Bower sample

  • Loading branch information
kaeff committed Dec 23, 2012
1 parent e9e21d4 commit 6c6bbc9f698be0e8834c2aa32152c6842d08d4f3
Showing with 23 additions and 0 deletions.
  1. +4 −0 .bowerrc
  2. +3 −0 .gitignore
  3. +9 −0 app/assets/component.json
  4. +2 −0 app/assets/javascripts/vendor.js
  5. +5 −0 config/environment.rb
@@ -0,0 +1,4 @@
{
"directory" : "vendor/assets/components",
"json" : "app/assets/component.json"
}
@@ -13,3 +13,6 @@
# Ignore all logfiles and tempfiles.
/log/*.log
/tmp

# Ignore installed bower components
vendor/assets/components/
@@ -0,0 +1,9 @@
{
"name": "rails_bower",
"version": "0.0.1",
"main": "javascripts/main.js",
"dependencies": {
"jquery": "latest",
"backbone": "latest"
}
}
@@ -0,0 +1,2 @@
//= require ember
//= require jquery
@@ -1,5 +1,10 @@
# Load the rails application
require File.expand_path('../application', __FILE__)

RailsBower::Application.configure do
config.assets.append_path 'components'
end

# Initialize the rails application
RailsBower::Application.initialize!

0 comments on commit 6c6bbc9

Please sign in to comment.
You can’t perform that action at this time.