[英]Can't find gem compass (>= 0.a) with executable compass
我無法讓PhpStorm與相對安裝的捆綁程序包一起使用。
我正在使用帶有以下gemfile的捆綁程序:
source "http://rubygems.org"
gem "susy", "~>2.2.14"
gem "sass", "~>3.4.22"
gem "compass", "~> 1.1.0.alpha.3"
gem "breakpoint", "~>2.5.0"
gem "font-awesome-sass", "~>4.6.2"
在PhpStorm終端,我正在執行以下命令將gems安裝到相對目錄gems/
:
bundle install --path gems/
Bundler將所有文件安裝到gems/
目錄,沒有任何錯誤。
我的觀察者任務如下所示:
如果我在scss文件中進行了一些更改,則觀察者將拋出
cmd.exe /D /C call "F:\Cloud\Zoho WorkDrive (Gedankenfolger® GmbH)\General\Kunden 2019\Uhlmann\TYPO3\Wonder by Uhlmann TYPO3 87\gems\ruby\2.6.0\bin\compass.bat" compile "F:\Cloud\Zoho WorkDrive (Gedankenfolger® GmbH)\General\Kunden 2019\Uhlmann\TYPO3\Wonder by Uhlmann TYPO3 87\fileadmin\templates"
C:/Ruby26-x64/lib/ruby/site_ruby/2.6.0/rubygems.rb:283:in `find_spec_for_exe': can't find gem compass (>= 0.a) with executable compass (Gem::GemNotFoundException)
from C:/Ruby26-x64/lib/ruby/site_ruby/2.6.0/rubygems.rb:302:in `activate_bin_path'
from F:/Cloud/Zoho WorkDrive (Gedankenfolger� GmbH)/General/Kunden 2019/Uhlmann/TYPO3/Wonder by Uhlmann TYPO3 87/gems/ruby/2.6.0/bin/compass:23:in `<main>'
Process finished with exit code 1
我該如何工作?
系統環境:
我不會使用--path
選項安裝。 我只是執行bundle install
。
(您可能也想先刪除.bundle/config
文件)。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.