我无法让PhpStorm使用相对安装的捆绑包。
我正在使用以下gemfile的bundler:
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终端,我正在执行以下命令将gem安装到相关目录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
文件)。