specifying gem location with a remote sdk

We have a bit of a unique situation, in that the gems for our project are located in a vendor folder. I can set up the shim from this screen:

http://f.cl.ly/items/1B2f202O0T1K3h010K28/Screen%20Shot%202013-03-04%20at%202.27.30%20PM.png
But it's not able to find where my gems are located (/vagrant/workspace/main/vendor/bundle/ruby/1.9.1/gems).

We use bundler, and have a .bundle/config file that looks like this:


BUNDLE_PATH: /vagrant/workspace/main/vendor/bundle
BUNDLE_DISABLE_SHARED_GEMS: '1'
BUNDLE_WITHOUT: test


bundler seems to be able to find them, but rubymine's remote sdk feature isn't able to.

Is there a way I can specify this so that the sdk can find the gems?

**UPDATE**
The shim also appears to fail, here's what the sdk page looks like after I hit ok:

http://f.cl.ly/items/0Z1v0X2g231Z0f0v0e3q/Screen%20Shot%202013-03-04%20at%202.41.03%20PM.png

2 comments

Hi,

to use sdk isntalled in rbenv you need to use ~/.rbenv/versions/... path to it (not shims).
As for locating gems in custom directory - it is not implemented yet :(  there is a ticket about it http://youtrack.jetbrains.com/issue/RUBY-12863

Regards, Oleg.

0

Thanks for the reply Oleg. Glad to see this is already documented and being addressed. I'll be sure to star the issue so I can follow the progress.

0

Please sign in to leave a comment.