`How to fix this error when compiling Sass?
D
D
dzenn2016-04-26 01:06:26
ruby
dzenn, 2016-04-26 01:06:26

How to fix this error when compiling Sass?

/usr/lib/ruby/2.2.0/rubygems/dependency.rb:315:in `to_specs': Could not find 'sass' (>= 0) among 8 total gem(s) (Gem::LoadError)
Checked in 'GEM_PATH=/usr/share/rvm/gems/ruby-2.2.3:/usr/share/rvm/gems/[email protected]', execute `gem env` for more information
  from /usr/lib/ruby/2.2.0/rubygems/dependency.rb:324:in `to_spec'
  from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_gem.rb:64:in `gem'
  from /usr/local/bin/sass:22:in `<main>'

RubyGems Environment:
  - RUBYGEMS VERSION: 2.4.8
  - RUBY VERSION: 2.2.3 (2015-08-18 patchlevel 173) [x86_64-linux]
  - INSTALLATION DIRECTORY: /usr/share/rvm/gems/ruby-2.2.3
  - RUBY EXECUTABLE: /usr/share/rvm/rubies/ruby-2.2.3/bin/ruby
  - EXECUTABLE DIRECTORY: /usr/share/rvm/gems/ruby-2.2.3/bin
  - SPEC CACHE DIRECTORY: /home/dima/.gem/specs
  - SYSTEM CONFIGURATION DIRECTORY: /etc
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86_64-linux
  - GEM PATHS:
     - /usr/share/rvm/gems/ruby-2.2.3
     - /usr/share/rvm/gems/[email protected]
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :backtrace => false
     - :bulk_threshold => 1000
  - REMOTE SOURCES:
     - https://rubygems.org/
  - SHELL PATH:
     - /usr/share/rvm/gems/ruby-2.2.3/bin
     - /usr/share/rvm/gems/[email protected]/bin
     - /usr/share/rvm/rubies/ruby-2.2.3/bin
     - /usr/local/sbin
     - /usr/local/bin
     - /usr/sbin
     - /usr/bin
     - /sbin
     - /bin
     - /usr/games
     - /usr/local/games

When I compile SASS I get this error

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
dzenn, 2016-04-26
@dzenn

gem uninstall sass
gem install sass --no-ri --no-rdoc

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question