V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
final0pro
V2EX  ›  问与答

intellij ruby 如何使用 vagrant 里的环境

  •  
  •   final0pro · 2015-10-08 05:46:19 +08:00 · 2000 次点击
    这是一个创建于 3116 天前的主题,其中的信息可能已经有所发展或是发生改变。

    intellij 安装了 ruby plugin ,并且正确配置了 vagrant 和 vboxmanager 的 path 。

    现在 intellij 可以使用 vagrant 里 ruby 了( remote ruby sdk )

    但是通过 intellij debug 或者 run rspec 的时候,提示我 missing gems ,并且给我选项 install all missing gems 。尝试了下,发现

    /home/vagrant/.rvm/rubies/jruby-1.7.19/bin/jruby --1.9 /Users/T800/work/ACT_API/bin/bundle install
    bash: line 0: cd: /Users/T800/work/ACT_API: No such file or directory
    Error opening script file: /Users/T800/work/ACT_API/bin/bundle (No such file or directory)
    

    给我的感觉是 intellij 并没有在 vm 的环境下执行,并且并没有配置正确的 project path 。

    有人碰到同样的问题嘛?

    谢谢

    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5188 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 08:09 · PVG 16:09 · LAX 01:09 · JFK 04:09
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.