使用可执行罗盘找不到宝石罗盘(> = 0.a) [英] Can't find gem compass (>= 0.a) with executable compass

查看:107
本文介绍了使用可执行罗盘找不到宝石罗盘(> = 0.a)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法让PhpStorm使用相对安装的捆绑程序包。

I can't get PhpStorm to work with a relative installed bundler package.

我正在使用具有以下gemfile的捆绑程序:

I´m using bundler with following 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 /

At the PhpStorm terminal I'm executing the following command to install the gems to the relative directory gems/:

bundle install --path gems/

捆绑器已全部安装到目录 gems / 都没有任何错误。

Bundler installed all to the directory gems/ without any error.

我的观察者任务如下:

如果我在scss文件中进行了某些更改,则观察者会抛出

If I make some changes in my scss file the watcher throws

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

  • Windows 10 Pro / Version 1809 / Build 17763.316
  • PhpStorm 2018.3.4
  • ruby 2.6.1p33 (2019-01-30 revision 66950) [x64-mingw32]
  • npm 6.4.1
  • bundler 2.0.1

推荐答案

我不会使用这样的-path 选项安装。我只需执行捆绑安装

I wouldn't install with such --path option. I'd just execute bundle install.

(您可能要删除。捆绑/配置文件)。

(You might want to delete the .bundle/config file too first).

这篇关于使用可执行罗盘找不到宝石罗盘(&gt; = 0.a)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆