Skip to content

Ruby and csscss have to be installed and in your PATH for this task to run. #16

@karlfloersch

Description

@karlfloersch

I'm getting this error:

    Warning: Ruby and csscss have to be installed and in your PATH for this task to run. Use --force to continue.

I'm running Node v0.12.7 and I've installed these packages:

  • ruby v2.1.5
  • csscss
  • scss, sass, bundler (just in case)
  • npm, grunt, bower

I'm not sure what's wrong. I have csscss in my PATH so it can't be that.

I'm looking into solutions now and I will update if I find anything. 😄


edit
It looks like it is calling:

    csscss bundle exec csscss -v -n 2 --no-match-shorthand src/assets/_scss/style.scss

When I call that manually, I'm getting this:

    /usr/lib/ruby/2.1.0/open-uri.rb:36:in `initialize': No such file or directory @ rb_sysopen - bundle (Errno::ENOENT)
    from /usr/lib/ruby/2.1.0/open-uri.rb:36:in `open'
    from /usr/lib/ruby/2.1.0/open-uri.rb:36:in `open'
    from /var/lib/gems/2.1.0/gems/csscss-1.3.3/lib/csscss/cli.rb:195:in `load_css_file'
    from /var/lib/gems/2.1.0/gems/csscss-1.3.3/lib/csscss/cli.rb:34:in `block in execute'
    from /var/lib/gems/2.1.0/gems/csscss-1.3.3/lib/csscss/cli.rb:24:in `map'
    from /var/lib/gems/2.1.0/gems/csscss-1.3.3/lib/csscss/cli.rb:24:in `execute'
    from /var/lib/gems/2.1.0/gems/csscss-1.3.3/lib/csscss/cli.rb:17:in `run'
    from /var/lib/gems/2.1.0/gems/csscss-1.3.3/lib/csscss/cli.rb:200:in `run'
    from /var/lib/gems/2.1.0/gems/csscss-1.3.3/bin/csscss:4:in `<top (required)>'
    from /usr/local/bin/csscss:23:in `load'
    from /usr/local/bin/csscss:23:in `<main>'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions