簡體   English   中英

使用可執行羅盤找不到寶石羅盤(> = 0.a)

[英]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/目錄,沒有任何錯誤。

已安裝的相對Ruby文件夾結構

我的觀察者任務如下所示:

屏幕截圖觀察者

如果我在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

我該如何工作?

系統環境:

  • Windows 10 Pro /版本1809 /內部版本17763.316
  • PhpStorm 2018.3.4
  • 紅寶石2.6.1p33(2019-01-30修訂版66950)[x64-mingw32]
  • npm 6.4.1
  • 捆綁器2.0.1

我不會使用--path選項安裝。 我只是執行bundle install

(您可能也想先刪除.bundle/config文件)。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM