Skip to content

Conversation

@kaiwood
Copy link

@kaiwood kaiwood commented Oct 29, 2015

This command fails because of the missing "rubygems" library for the custom Ruby 1.8 interpreter of TextMate 2. The only thing its used for is finding the paths of all installed gems. This makes no sense nowadays anyway, as every supported Rails version requires Bundler, which in turn can list only the gems used in a Rails project.

Shelling out and using bundle show --paths restores the functionality of this command, adds no additional dependencies and, needing to search fewer directories, is quicker too.

Fixes #23

This command fails because of the missing "rubygems" library for the custom Ruby 1.8 interpreter of TextMate 2. The only thing its used for is finding the paths of all installed gems. This makes no sense nowadays anyway, as every supported Rails version requires Bundler, which in turn can list only the gems used in a Rails project.

Shelling out and using `bundle show --paths` restores the functionality of this command, adds no additional dependencies and, needing to search fewer directories, is quicker too.

Fixes textmate#23
@aarti
Copy link

aarti commented Dec 28, 2016

Can we merge this, it works fine and also gets rid of rubygems dependency for this command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants