Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

got a compile error when using 'darken(red, 20%)' #4

Open
cactis opened this issue Aug 22, 2012 · 2 comments
Open

got a compile error when using 'darken(red, 20%)' #4

cactis opened this issue Aug 22, 2012 · 2 comments

Comments

@cactis
Copy link

cactis commented Aug 22, 2012

Got a compile error when using 'darken(red, 20%)'

ExecJS::ProgramError: [object Object]
    from /usr/local/lib/ruby/gems/1.9.1/gems/execjs-1.4.0/lib/execjs/ruby_racer_runtime.rb:49:in `rescue in block in call'
    from /usr/local/lib/ruby/gems/1.9.1/gems/execjs-1.4.0/lib/execjs/ruby_racer_runtime.rb:43:in `block in call'
    from /usr/local/lib/ruby/gems/1.9.1/gems/execjs-1.4.0/lib/execjs/ruby_racer_runtime.rb:80:in `block in lock'
    from /usr/local/lib/ruby/gems/1.9.1/gems/therubyracer-0.10.2/lib/v8/c/locker.rb:13:in `Locker'
    from /usr/local/lib/ruby/gems/1.9.1/gems/execjs-1.4.0/lib/execjs/ruby_racer_runtime.rb:78:in `lock'
    from /usr/local/lib/ruby/gems/1.9.1/gems/execjs-1.4.0/lib/execjs/ruby_racer_runtime.rb:42:in `call'
    from /usr/local/lib/ruby/gems/1.9.1/gems/less-js-0.1.1/lib/less_js.rb:48:in `compile'
    from (irb):31
    from /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.2.8/lib/rails/commands/console.rb:47:in `start'
    from /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.2.8/lib/rails/commands/console.rb:8:in `start'
    from /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.2.8/lib/rails/commands.rb:41:in `<top (required)>'
    from script/rails:6:in `require'
    from script/rails:6:in `<main>'
@thisduck
Copy link
Owner

Sorry for the late response. I just pushed less-js-source v 1.3.0, maybe that will help solve this problem?

@thisduck
Copy link
Owner

Alternatively, try using the https://github.com/metaskills/less-rails gem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants