Error Compiling Css Asset Sass
Contents |
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 heroku error compiling css asset or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x rails error compiling css asset 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 compile sass to css online takes a minute: Sign up Error Compiling CSS Asset Heroku SASS up vote 1 down vote favorite This has been bothering me for days now, ever since a week ago I launched to Heroku for probably the 30th time and compile sass to css command line all of a sudden I get this error I DONT USE Sass!! It isnt in my gemfile or anywhere else! It works perfectly in localhost and all of the answers i've found online just dont work! This is my application.css /* * This is a manifest file that'll be compiled into application.css, which will include all the files * listed below. * * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets, * or vendor/assets/stylesheets of plugins, if any,
Sass Css Compiler Windows
can be referenced here using a relative path. * * You're free to add application-wide styles to this file and they'll appear at the top of the * compiled file, but it's generally better to create a new file per style scope. * *= require_self *= require_tree . */ Does anyone have any idea WHY heroku is giving me this annoying error PS: Incase you're wondering, i've used stack cedar when create the heroku app so its not that Thank You css heroku compilation sass share|improve this question asked Jun 22 '13 at 19:08 PMP 64117 Just out of curiosity, is your CSS file valid? –cimmanon Jun 23 '13 at 11:51 add a comment| 1 Answer 1 active oldest votes up vote 0 down vote accepted Ok so after a while, I figured it out! The simplest, not-so-fastest but least stressful way of working this error out is by going on the file which Heroku is having errors compiling, in my case base2.css, and copy one by one each line of css code and input it in here CSS Validator, I HIGHLY HIGHLY Recommend this, it'll tell you which lines have errors and which lines are okay. Furthermore, it'll re-write the code where it found the errors, it'll organise the new code given perfectly and even though it may seem like its as long as a book, it'll be the right code. You can then Minify the
Sign in Pricing Blog Support Search GitHub This repository Watch 65 Star 2,731 Fork
Sass Vs Less Css
596 sstephenson/sprockets forked from rails/sprockets Code Issues 0 Pull requests 0 Projects 0 Pulse Graphs New issue Error compiling CSS asset with 2.12.2 #651 Closed marioschubert opened this Issue Oct 24, 2014 · 6 comments Projects None yet Labels None yet Milestone No milestone Assignees No one http://stackoverflow.com/questions/17254361/error-compiling-css-asset-heroku-sass assigned 5 participants marioschubert commented Oct 24, 2014 Hello, I am getting the following error in the browser (chrome and firefox) after upgrade from 2.11.0 to 2.12.2. If I roll back upgrade it works: ArgumentError: wrong number of arguments (2 for 1) (in /home/user/.rvm/gems/ruby-2.1.2/gems/nprogress-rails-0.1.6.3/app/assets/stylesheets/nprogress.css.scss) /home/user/.rvm/gems/ruby-2.1.2/gems/sass-3.4.6/lib/sass/importers/filesystem.rb:14:in `initialize' Any clue what's going https://github.com/sstephenson/sprockets/issues/651 wrong? Thank you for your help. Best regards Mario josh commented Oct 24, 2014 Running latest sprockets and sass? If your using https://github.com/rails/sass-rails, its likely to be a bug in that library. If not, then don't worry. marioschubert commented Oct 29, 2014 My working gems. sprockets is pinned in Gemfile to 2.11.0: Using sass 3.4.6 Using sprockets 2.11.0 Using sprockets-rails 2.0.1 Using sass-rails 4.0.1 If I unpin sprockets, I get version 2.12.2, and I get the errors above. severin commented Nov 3, 2014 +1 same for me dima4p commented Nov 10, 2014 sass (3.4.7) lib/sass/importers/filesystem.rb:14:in `initialize' sprockets (2.12.3) lib/sprockets/sass_importer.rb:11:in `initialize' compass-rails (2.0.1) lib/compass-rails/patches/sass_importer.rb:12:in `new' So the bug is obvious I think. It was introduced at version 2.12.0 after 2.11.3 doomspork commented Nov 20, 2014 I can confirm what @dima4p stated above, everything works on 2.11.3 and is broken on 2.12 for me. josh commented Nov 24, 2014
Sign in Pricing Blog Support Search GitHub This repository Watch 43 Star 777 Fork 105 anjlab/bootstrap-rails https://github.com/anjlab/bootstrap-rails/issues/65 Code Issues 12 Pull requests 1 Projects 0 Wiki Pulse Graphs New issue Error compiling CSS asset #65 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 error compiling 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 error compiling css 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', :require => 'bootstrap-rails', :github => 'anjlab/bootstrap-rails' Gemfile.lock GIT remote: git://github.com/anjlab/bootstrap-rails.git revision: 83a4ce85cdf5edb6d0dd6e51ad37e3b649576ca0 specs: anjlab-bootstrap-rails (3.0.0.2) railties (>= 3.0) sass (>= 3.2) GIT remote: git://github.com/blackbumer/Google-Maps-for-Rails.git revision: c0a8a5b71804e693788a9b59edbaf69cf5fe6b50 specs: gmaps4rails (2.0.0.pre) GIT remote: git://github.com/marnen/cucumber-rails.git r