【发布时间】:2015-02-12 14:51:49
【问题描述】:
我目前正在 Mac OS X 10.8.5 上评估 RubyMine 7.0.4,我正在尝试让我的 Ruby on Rails 项目在编辑器中启动并运行,但是在我尝试捆绑后,我收到“错误复制宝石”。我在本地使用 rbenv,但这个项目使用 Vagrant 和 Ruby 2.1。
我已经进入 RubyMine Preferences -> Languages and Frameworks -> Ruby SDK and Gems 并设置了一个“远程解释器”,看起来它正确地提取了我的 Vagrant / SSH 信息。
单击“确定”后,它似乎正确拉下 gem,并将它们复制到 vendor/bundle 文件夹,但随后 IDE 弹出一条错误消息:
"Error Copying Gems - Unknown message with code 'Could not determine the type of file sftp://127.0.0.0.1:2222/......'"
或者有时我会得到更详细的错误:
"Error Copying Gems - Could not copy sftp://127.0.0.1:2222/usr/bin/sudoedit to file://Users/my.username/Library/Caches/RubyMine70/ruby_stubs/....."
感觉就像是试图将它们复制到我 Mac 上的本地缓存文件夹,但由于某种原因失败了。
【问题讨论】:
标签: ruby-on-rails vagrant rubymine