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

问题描述 投票:1回答:1

我无法让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/没有任何错误。

Installed relative ruby folder structure

我的观察者任务看起来像这样:

screenshot watcher

如果我在我的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 / Build 17763.316
  • PhpStorm 2018.3.4
  • ruby 2.6.1p33(2019-01-30修订版66950)[x64-mingw32]
  • 海拔6.4.1
  • bundler 2.0.1
node.js ruby webstorm bundler compass
1个回答
0
投票

我不会安装这样的--path选项。我只是执行bundle install

(您可能希望首先删除.bundle/config文件)。

© www.soinside.com 2019 - 2024. All rights reserved.