[英]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/
目录,没有任何错误。
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: 系统环境:
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.