I am trying to use the command line to open the the jquery-rails gem. I am using the command: bundle open jquery-rails
and I am getting the message returned: To open a bundled gem, set $EDITOR or $BUNDLE_EDITOR
Forgive me if this is totally newb, but how do I set my text editor Notepad++ like the message is telling me to? I am using windows vista/Rails 3.1
Thanks for any advice.
vi ~/.bashrc or ~/.zshrc or whatever you have:
export EDITOR=vim
Because you mentioned Notepad++ I suppose you are working with Windows. You need to set an environment variable called EDITOR
containing the path to Notepad++.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With