Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Less::ParseError #90

heaven opened this Issue · 11 comments

7 participants

ActionView::Template::Error (Syntax Error on line 15 in /home/heaven/.rvm/gems/ruby-1.9.3-p0-falcon@crm/gems/twitter-bootstrap-rails-2.0.2/vendor/toolkit/twitter/bootstrap/progress-bars.less 
14 // Firefox
15 @-moz-keyframes progress-bar-stripes {
16   from  { background-position: 0 0; }

All works if remove 9-24 lines from the progress-bars.less
This also confirmed by other devs


Thanks for reporting, I'll look into it.


FYI you probably need to clear the rails /tmp to reproduce this issue. Just for the case :)


Did you updated gem? (also you can test with bundling git repo) I'm not getting this error, also progress-bars working fine. Cleared /tmp.


Weird, all our team experienced it. May it depend from other gem we using?

source ''

gem 'rails', '3.1.3'

# Bundle edge Rails instead:
# gem 'rails',     :git => 'git://'

gem 'r_hapi', :git => 'git://'
gem 'silverpopper', :git => 'git://'
gem 'rails_admin', :git => 'git://'
gem 'loops', :git => 'git://'

# DB adapters
gem 'mysql2', '0.3.7'
gem "mongoid", "~> 2.4"
gem "bson_ext", "~> 1.5"

# Authentication
gem 'devise', '1.4.8'
gem 'cancan', '1.6.7'

gem 'curb', '0.7.15'
gem 'therubyracer', '0.9.4'
gem 'paperclip', '2.4.4'
gem 'spreadsheet', ''
gem 'settingslogic', '2.0.6'
gem 'ckeditor', '3.6.3'
gem 'rubyzip'
gem 'whenever', :require => false

gem 'newrelic_rpm'
gem 'airbrake'

# Background jobs
gem 'daemons', '1.1.5'
gem 'delayed_job', '3.0.1'
gem 'delayed_job_active_record', '0.3.1'

# Emails sending
gem 'postmark', '0.9.8'
gem 'postmark-rails', '0.4.1'

# Sunspot solr search
gem 'sunspot_rails', '1.3.0'
gem 'sunspot_solr', '1.3.0'
gem 'progress_bar', '0.4.0'

# Social networks
gem 'twitter', '2.0.2'

# Web scraping
gem 'mechanize', '2.0'

# RSS parsing
gem 'feedzirra', '0.0.24'

# Deploy with Capistrano
gem 'capistrano'
gem 'capistrano-ext', '1.2.1'
gem 'capistrano_colors', '0.5.4'

# Easy forms set up
gem 'simple_form', '2.0.0.rc'
gem "nested_form", '0.2.0'
gem 'twitter-bootstrap-rails', '2.0.2'
gem 'jquery-rails', '1.0.19'

gem "haml", '3.1.3'
gem 'haml-rails', '0.3.4'

# Gems used only for assets and not required
# in production environments by default.
group :assets do
#  gem 'sass-rails', "  ~> 3.1.0"
#  gem 'coffee-rails', "~> 3.1.0"
  gem 'uglifier'

group :development, :test do
  gem 'sqlite3'
  gem 'faker'
  gem "spork-rails"
  gem "rspec-rails", "~> 2.0"
  gem 'factory_girl_rails'
  gem "autotest"
  gem "capybara"
  gem 'simplecov'
  gem 'database_cleaner'
  gem 'ruby-debug19', :require => 'ruby-debug'
  gem 'annotate',
    :git => 'git://',
    :branch => 'rake_compatibility'

Experience the same issue

tc commented

I'm seeing this with 2.0.2; 2.0.1 works fine so far.


I confirm that I experience the issue with version 2.0.1, 2.0.2 and version from git repository. Also when look at the line 15 of the 'progress-bar.less' file and I don't see any error, I think it's a problem of less engine.

@seyhunak seyhunak closed this

Yep, same issue here


Same with 2.0.3.

@seyhunak is there some way to fix this?


Upgrading less version form

gem 'less', '2.0.7'


gem 'less', '2.0.9'

Fix this isse for me.


Confirmed, upgrading less fixes the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.