0

我踩到奇怪的问题。我有 bootstrap-sass gem(以及其他一些 js)。当我试图访问我得到的任何页面时

File to import not found or unreadable: bootstrap-responsive.

Load paths:
  /Users/alex/Projects/feedbackhunter/app/assets/images
  /Users/alex/Projects/feedbackhunter/app/assets/javascripts
  /Users/alex/Projects/feedbackhunter/app/assets/stylesheets

正如加载路径所说,rails 不会查看所有这些文件所在的 bootstrap-sass gem 资产。我做错了什么?

宝石文件

source 'https://rubygems.org'


gem 'rails', '4.0.0'

# in production environments by default.

gem 'sass-rails',   '~> 4.0.0'
gem 'coffee-rails', '~> 4.0.0'
gem 'uglifier', '>= 1.3.0'
#end

gem 'activeresource'


gem 'mysql2'     #gem to connect mysql dbs from mail server
gem "jquery-rails", "~> 2.3.0"
gem "thin", ">= 1.5.0"
gem 'mongoid', '~> 4', github: 'mongoid/mongoid'
gem 'bson_ext'
gem "bson", "~> 2.0.0.rc3"
gem "haml-rails", ">= 0.4"
gem "rspec-rails", ">= 2.12.2", :group => [:development, :test]
gem "database_cleaner", ">= 1.0.0.RC1", :group => :test
gem 'mongoid-rspec', '>= 1.6.0', github: 'evansagge/mongoid-rspec', :group => :test

gem "email_spec", ">= 1.4.0", :group => :test
gem "cucumber-rails", ">= 1.3.1", :group => :test, :require => false
gem "launchy", ">= 2.2.0", :group => :test
gem "capybara", ">= 2.0.3", :group => :test
gem "factory_girl_rails", ">= 4.2.0", :group => [:development, :test]
gem "bootstrap-sass", ">= 2.3.0.0"
gem "sendgrid", ">= 1.0.1"
gem "devise"
gem "quiet_assets", ">= 1.0.2", :group => :development
gem "better_errors", ">= 0.7.2", :group => :development
gem "binding_of_caller", ">= 0.7.1", :group => :development#, :platforms => [:mri_19, :rbx]
gem 'meta_request', :group => :development
gem 'inherited_resources'
gem 'i18n-js'
gem 'awesome_print'
gem 'mail'
gem 'httparty'
gem 'protected_attributes' # https://github.com/rails/protected_attributes

gem 'actionpack-action_caching' # https://github.com/rails/actionpack-action_caching

gem 'rails-observers' # https://github.com/rails/rails-observers

gem 'formtastic-bootstrap'
gem 'sidekiq'
gem 'slim'
gem 'sinatra', :require => nil
gem 'sidetiq'
#gem 'activeadmin-mongoid', github: 'elia/activeadmin-mongoid', branch: 'active-admin-spec-suite'
#gem 'activeadmin', '~> 0.5.1'
gem 'activeadmin', github: 'gregbell/active_admin'
gem 'sidekiq-failures'
gem 'redis-semaphore'
gem 'bootstrap-switch-rails'
gem 'bootstrap-wysihtml5-rails', :git => 'git@bitbucket.org:feedbackhunter/bootstrap-wysihtml5-rails.git'
gem 'nokogiri'
gem 'mechanize'
gem 'cancan'
gem 'best_in_place'
gem 'business_time'

gem 'lazy_high_charts'
gem 'statsample'
gem 'will_paginate_mongoid'
gem 'bootstrap-will_paginate'
gem 'websocket-rails'
gem 'bootstrap-tour-rails'
gem "alertify-rails"
gem 'rails-i18n', '~> 4.0.0'
gem 'capistrano'
#gem 'capistrano_colors'
gem 'unicorn'
gem 'savon', "~> 2.3.0"
gem 'httpclient'
gem 'tire'
4

0 回答 0