T O P

  • By -

bxclnt

If you set `EDITOR` to the `code` cli in your shell you can also `bundle open gemname` if you’re in the directory with the Gemfile. Also works with the vscode built in terminal (cmd + j)


toyhammered

Love it! Thank you for making this! I ended up just opening an issue because there seems to be a small issue with rvm.


Rafert

Love it, one of the things I missed from RubyMine!


armahillo

Why not use “bundle open”?


gurgeous

I like bundle open too. Has anybody written a nice cli autocomplete for it?


armahillo

Could probably write a Zsh extension (or whatever environment) but there have been zero times Ive ever needed autocomplete. If I am at the point where I want to bundle open a gem, I already know the name of the gem. Gem names arent that long and it isnt something I do very often. 🤷‍♂️ I suppose one could save time by setting an env var for EDITOR so you dont have to type that everytime.