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:
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:
请先登录再写评论。
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.
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.