From 2eb5fafeb7608e2ceadd215b3924f60aa3d83230 Mon Sep 17 00:00:00 2001 From: Gleb Mazovetskiy Date: Sat, 23 Aug 2014 23:39:54 +0200 Subject: [PATCH] sprockets: depend_on relative path #592 #689 --- assets/stylesheets/bootstrap/_glyphicons.scss | 8 ++++---- bootstrap-sass.gemspec | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/assets/stylesheets/bootstrap/_glyphicons.scss b/assets/stylesheets/bootstrap/_glyphicons.scss index 0f6ad34520..d7c7ccf016 100644 --- a/assets/stylesheets/bootstrap/_glyphicons.scss +++ b/assets/stylesheets/bootstrap/_glyphicons.scss @@ -1,7 +1,7 @@ -//= depend_on "bootstrap/glyphicons-halflings-regular.eot" -//= depend_on "bootstrap/glyphicons-halflings-regular.svg" -//= depend_on "bootstrap/glyphicons-halflings-regular.ttf" -//= depend_on "bootstrap/glyphicons-halflings-regular.woff" +//= depend_on "../../fonts/bootstrap/glyphicons-halflings-regular.eot" +//= depend_on "../../fonts/bootstrap/glyphicons-halflings-regular.svg" +//= depend_on "../../fonts/bootstrap/glyphicons-halflings-regular.ttf" +//= depend_on "../../fonts/bootstrap/glyphicons-halflings-regular.woff" // // Glyphicons for Bootstrap // diff --git a/bootstrap-sass.gemspec b/bootstrap-sass.gemspec index 49dda86a12..45489a9f60 100644 --- a/bootstrap-sass.gemspec +++ b/bootstrap-sass.gemspec @@ -19,6 +19,7 @@ Gem::Specification.new do |s| s.add_development_dependency 'capybara' s.add_development_dependency 'poltergeist' # Dummy Rails app dependencies + s.add_development_dependency 'rails', '>= 4.1' s.add_development_dependency 'json', '>= 1.8.1' s.add_development_dependency 'sprockets-rails', '>= 2.1.3' s.add_development_dependency 'autoprefixer-rails', '~> 1.1'