Less::ParseError #90

Closed
heaven opened this Issue Feb 10, 2012 · 11 comments

Projects

None yet

7 participants

@heaven
heaven commented Feb 10, 2012
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

Owner

Thanks for reporting, I'll look into it.

heaven commented Feb 15, 2012

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

Owner

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.

heaven commented Feb 15, 2012

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

source 'http://rubygems.org'

gem 'rails', '3.1.3'

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

gem 'r_hapi', :git => 'git://github.com/heaven/rHAPI.git'
gem 'silverpopper', :git => 'git://github.com/heaven/silverpopper.git'
gem 'rails_admin', :git => 'git://github.com/sferik/rails_admin.git'
gem 'loops', :git => 'git://github.com/romanvbabenko/loops.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', '0.6.5.9'
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'
end

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://github.com/jeremyolliver/annotate_models.git',
    :branch => 'rake_compatibility'
end
jhjwind commented Feb 15, 2012

Experience the same issue

tc commented Feb 16, 2012

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

avokin commented Feb 17, 2012

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 Feb 25, 2012

Yep, same issue here

heaven commented Feb 26, 2012

Same with 2.0.3.

@seyhunak is there some way to fix this?

tanelj commented Feb 27, 2012

Upgrading less version form

gem 'less', '2.0.7'

to

gem 'less', '2.0.9'

Fix this isse for me.

heaven commented Feb 27, 2012

Confirmed, upgrading less fixes the problem.
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment