NaN1488 / sublime-gem-browser

Gem browser for Sublime Text
113 stars 16 forks source link

gems not found #3

Closed tsyber1an closed 11 years ago

tsyber1an commented 11 years ago

Hello,

Just install you extenstion and did the following:

ctrl + shift + p => list gems => "gems not found"

For rvm gemset i have 700 access and my env:

ikurennyi commented 11 years ago

The same problem in just one of my projects. OS X Mountain Lion 10.8.3 rvm 1.17.8

brndnblck commented 11 years ago

@Funfun @ekurennyy are you guys using a gemset with your project? Apparently that's not supported by this plugin yet. I'm watching the repo, but I've actually uninstalled this since it isn't usable to me without that.

ikurennyi commented 11 years ago

I'm using gemset for these projects. But I have this issue only on the laptop. The same settings for this project on another Mac works really good. P.S. Settings are the same.

brndnblck commented 11 years ago

It's never worked for me and isn't supported: https://github.com/NaN1488/sublime-gem-browser/blob/master/Readme.md#known-issues--limitations

bbonamin commented 11 years ago

Hi @Funfun, until you confirm whether you're using gemsets or not we can't really know what's happenning, sorry :(.

@brandonblack @ekurennyy we've had issues with rvm gemsets because we have not been able to "load rvm" from the python subprocess when a gemset is present. (https://github.com/NaN1488/sublime-gem-browser/blob/master/SublimeGemBrowser.py#L55)

We haven't been able to find a way around this issue, so until we do, we can't really support gemsets. If you have a deeper understanding of rvm and/or can give us a hand or at least point us in the right direction, we might be able to solve this. Thanks!

sjmadsen commented 11 years ago

I just installed the plug-in and it isn't working for me, either, on two different projects. Both are on Mac OS X 10.8.3, rbenv 0.4.0.

First project: Ruby 1.9.3, Rails 3.2, Bundler 1.2.1 Second project: Ruby 2.0, Rails 4 beta, Bundler 1.3.0

In both cases, I simply get "gems not found". I didn't do anything out of the ordinary when bundling either of these projects.

bbonamin commented 11 years ago

Hey @sjmadsen could you tell me where have you installed rbenv and bundler? (Run which bundle)

sjmadsen commented 11 years ago

rbenv is installed in /usr/local/bin and Bundler with gem install (so it lives under ~/.rbenv/versions with a shim in ~/.rbenv/shims, and the latter is in my $PATH).

bbonamin commented 11 years ago

well last night I added a commit that should make it work if you have bundler in ~/.rbenv/shims, mmm... When did you install this plugin? Could you try reinstalling? Thanks.

sjmadsen commented 11 years ago

I just installed this morning and I have that commit. My install does not have a ~/.rbenv/bin directory, but rather ~/.rbenv/shims. I'm fairly certain that shims is the normal place and I didn't do anything to use that name.

nnc commented 11 years ago

@bbonamin this package was configured in Package Control to be pulled form stable branch, so please make sure your commit is merged into that branch. Otherwise package control will not see this commit and everyone will still get the old version from Dec 19, 2012.

bbonamin commented 11 years ago

Woah it's great that you noticed that @nnc, I didn't remember about that setting. The fix is on stable now so it should be picked up by Package Control. Thanks.

bbonamin commented 11 years ago

So maybe now @sjmadsen if you reinstall it should work for you.

sjmadsen commented 11 years ago

Yes, that fixed it. Thanks!

bbonamin commented 11 years ago

That's awesome! I'll close this bug as the OP hasn't responded.

tsyber1an commented 11 years ago

Sorry, just was busy. Thanks for fix!

bbonamin commented 11 years ago

:-) El mar 22, 2013 4:55 a.m., "Tsyren Ochirov" notifications@github.com escribió:

Sorry, just was busy. Thanks for fix!

— Reply to this email directly or view it on GitHubhttps://github.com/NaN1488/sublime-gem-browser/issues/3#issuecomment-15284961 .