Rubymine (at least, 6.3.3) has built-in support for this. Now Rubymine should load up the necessary gems to itself which will take some time. Im trying to configure Rubymine 6.3.3 to use the Ruby SDK and gems from my vagrant virtual machine. For the Ruby interpreter path, give the path you found before. Then click on + and select remote location as the location and select vagrant.įor the Vagrant path, give the folder where your Vagrantfile is located. Now, to link to the vagrant ruby interpreter, you have to open the preferences dialogue and then select Languages & Frameworks > Ruby SDK and Gems. ![]() In my it was ‘/home/vagrant/.rbenv/shims/ruby’. To find the ruby path, here type which ruby. Install and configure the 32-bit Ruby SDK version 2.6.6-1 by performing the steps 14 described in the VS Code (Ruby) subsection. In this case, by default the /vagrant folder in the vagrant image will contain your code. Ruby SDK supports currently maintained Ruby versions, and recommends the latest stable version where possible (currently 3.4 as of October 2022.) In this guide. Let’s assume your project lies in the same folder where you have Vagrantfile. ![]() This article is about how you can configure to use the Ruby SDK in your Vagrant image with RubyMine.įor this, I have used the joshfng/railsbox Vagrant image because I was using that image for a Rails project.įirst you have to find where is your Ruby interpreter located for your project.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |