I'm developing Ruby on Rails application on a Windows 7 machine but running it on a Linux Ubuntu Virtual Box using Vagrant. I need to access the Postgres pg_hba.conf file and edit it using Sublime Text 2. It's in the /Vagrant/etc path so I have to access from command line. Please let me know - I appreciate the help.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Do you really need to edit it with Sublime Text 2?
If you have access to it at the command line, then why not just use an editor in the Ubuntu environment? You should have nano available.