Configuring gems in eclipse

前端 未结 4 581
予麋鹿
予麋鹿 2021-01-13 00:00

I\'m trying to work on a vagrant / chef project in eclipse. I\'m fairly new to both technologies and a little rusty with ruby. I\'ve installed rdt and have a ruby project wi

4条回答
  •  粉色の甜心
    2021-01-13 00:22

    From Eclipse's Window menu, choose Preferences. Navigate down to Ruby: Interpreters. Edit your interpreter, and set the Interpreter arguments to -rubygems. That made my installation see the ruby gems I had installed.

    To check which gems you have installed, use this command in a terminal:

    gem query --local
    

提交回复
热议问题