简体   繁体   English

使用可执行罗盘找不到宝石罗盘(> = 0.a)

[英]Can't find gem compass (>= 0.a) with executable compass

I can't get PhpStorm to work with a relative installed bundler package. 我无法让PhpStorm与相对安装的捆绑程序包一起使用。

I´m using bundler with following gemfile: 我正在使用带有以下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"

At the PhpStorm terminal I'm executing the following command to install the gems to the relative directory gems/ : 在PhpStorm终端,我正在执行以下命令将gems安装到相对目录gems/

bundle install --path gems/

Bundler installed all to the directory gems/ without any error. Bundler将所有文件安装到gems/目录,没有任何错误。

已安装的相对Ruby文件夹结构

My watcher task looks like this: 我的观察者任务如下所示:

屏幕截图观察者 .

If I make some changes in my scss file the watcher throws 如果我在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

How can I get this to work? 我该如何工作?

System environment: 系统环境:

  • Windows 10 Pro / Version 1809 / Build 17763.316 Windows 10 Pro /版本1809 /内部版本17763.316
  • PhpStorm 2018.3.4 PhpStorm 2018.3.4
  • ruby 2.6.1p33 (2019-01-30 revision 66950) [x64-mingw32] 红宝石2.6.1p33(2019-01-30修订版66950)[x64-mingw32]
  • npm 6.4.1 npm 6.4.1
  • bundler 2.0.1 捆绑器2.0.1

I wouldn't install with such --path option. 我不会使用--path选项安装。 I'd just execute bundle install . 我只是执行bundle install

(You might want to delete the .bundle/config file too first). (您可能也想先删除.bundle/config文件)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM