Error Compiling Css Asset Bootstrap
Contents |
Sign in Pricing Blog Support Search GitHub This repository Watch 43
Bootstrap Gem
Star 777 Fork 105 anjlab/bootstrap-rails Code Issues 12 Pull rails error compiling css asset requests 1 Projects 0 Wiki Pulse Graphs New issue Error compiling CSS asset #65
Heroku Error Compiling Css Asset
Open burtondav opened this Issue Aug 23, 2013 · 9 comments Projects None yet Labels None yet Milestone No milestone Assignees No one assigned 8 participants burtondav commented Aug 23, 2013 I renamed my apllication.css to application.css.scss. I added this line to it: Import twitter bootstrap @import "twitter/bootstrap"; I get: Sass::SyntaxError: File to import not found or unreadable: twitter/bootstrap. AnjLab member yury commented Aug 23, 2013 can you show your Gemfile? danil-z commented Aug 24, 2013 Hello i'm affected too here is my Gemfile source 'https://rubygems.org' ruby '2.0.0' gem 'rails', '4.0.0' gem 'sass-rails', '~> 4.0.0' gem 'uglifier', '>= 1.3.0' gem 'coffee-rails', '~> 4.0.0' gem 'jquery-rails' gem 'turbolinks' gem 'jbuilder', '~> 1.2' gem 'cancan' gem 'devise' gem 'devise-i18n' gem 'rails-i18n' gem 'figaro' gem 'pg' gem 'rolify' gem 'simple_form', '>= 3.0.0.rc' gem 'slim', require: 'slim/translator' gem 'therubyracer', :platform=>:ruby gem 'bootstrap-sass' gem 'unicorn-rails' group :development do gem 'slim-rails' gem 'quiet_assets' gem 'capistrano' end group :development, :test do gem 'factory_girl_rails' gem 'rspec-rails' gem 'ffaker' end group :test do gem 'capybara' gem 'poltergeist' #gem 'cucumber-rails', :require=>false gem 'cucumber-rails', github: 'marnen/cucumber-rails', :require => false gem 'database_cleaner' gem 'email_spec' gem 'launchy' end gem 'meta-tags', :require => 'meta_tags' gem 'rails_admin' gem 'omniauth-vkontakte' gem 'omniauth-facebook' gem 'omniauth-odnoklassniki' gem 'gmaps4rails', github: 'blackbumer/Google-Maps-for-Rails' gem 'anjlab-bootstrap-rails', :requir
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; https://github.com/anjlab/bootstrap-rails/issues/65 it only takes a minute: Sign up Heroku Error Compiling CSS Asset up vote 0 down vote favorite In my latest deploy to Heroku I'm getting this error: Error compiling css asset Rack:Timeout:RequestTimeoutException: Request waited 3ms, then ran for longer than 1500ms /app/vendors/bundle/ruby/2.20/gems-sass-3.4.22/lib/sass/tree/visitors/to_css.rba;67:in 'erase!" I'm not quite sure what has caused the issue, but I've narrowed it down to https://stackoverflow.com/questions/37735254/heroku-error-compiling-css-asset a specific deploy where things were working before but were broken after. The only thing I changed were html files and changed the value of a sass variable in one of the stylesheets. I committed to git then deployed to Heroku. I realized then that my jQuery wasn't working on the page, so I then precompiled locally (as I usually do) and deployed . Now the application is throwing that error and exceeding it's available memory. Yet, everything works just fine in development. Anyone have any idea of what went wrong? EDIT: I should add that the Rack timeout error is thrown by the rack-timeout gem which is designed to stop slow requests and log an error. So this isn't directly the issue, rather a result of an underlying problem that's prevented the page from responding within the allocated amount of time. Here's the gemfile as requested: #Use Jasny Bootstrap extension for input mask gem 'jasny-bootstrap-rails' #Use for Blog tags gem 'acts-as-taggable-on', '~> 3.4' #Use Carrierwave for image upload, fog for AWS S3 gem 'carrierwave' gem "fo
here for a quick overview of http://stackoverflow.com/questions/21911620/rails-bootstrap-sass-assets-compilation-error-undefined-variable-alert-padding the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About http://www.leylakapi.com/blog/2014/07/17/error-compiling-sass-assets/ Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow error compiling Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up rails bootstrap-sass assets compilation error error compiling css - undefined variable alert-padding up vote 19 down vote favorite 1 all roads point to bootstrap-sass Referral chain: railscast-328 (twitter bootstrap basics) refers to http://www.sitepoint.com/twitter-bootstrap-less-and-sass-understanding-your-options-for-rails-3-1/ which refers to https://github.com/jlong/sass-bootstrap which in turn exclaims there is a new official port of bootstrap to sass at https://github.com/twbs/bootstrap-sass which is another one of the options in the twitter-bootstrap article It is reported as an issue with the bootstrap-rails gem: https://github.com/anjlab/bootstrap-rails/issues/91 I believe I installed it correctly The gems gem 'sass-rails', '>= 3.2' # sass-rails needs to be higher than 3.2 gem 'bootstrap-sass', '~> 3.1.1' are installed (tried outside and inside of assets group), application.css.scss contains @import "bootstrap"; only. but it gives me an error When attempting bundle exec rake assets:precompile it gives this error: rake aborted! Undefined variable: "$alert-padding". (in /home/joe/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/gems/bootstrap-sass-3.1.1.0/vendor/assets/stylesheets/bootstrap/_alerts.scss) /home/joe/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/gems/bootstrap-sass-3.1.1.0/vendor/assets/stylesheets/bootstrap/_alerts.scss:10 /home/joe/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/ge
template and your project give you like, 1 2 Error compiling CSS asset NoMethodError: undefined method `font_path` for nil:NilClass error. You can fix like with edit your Gemfile 1 2 3 gem 'bootstrap-sass', '~> 3.1.1' gem 'middleman-sprockets', '3.2.2' gem 'middleman-bootstrap-navbar','~>2.0' Then you can write in terminal bundle install Than if errors didn’t fixed, you should write on terminal 1 bundle update middleman-sprockets If you want to researches with details, you should look this page That’s all. I hope helped to you. Comments Please enable JavaScript to view the comments powered by Disqus. « Previous: Add simple search form to rails projects Next: Rails active_admin gem bug » Home Created by Leyla Kapi