drewdeponte / sublime_guard

Sublime Text 2 Guard Plugin - helps create a smoother development workflow.
MIT License
175 stars 15 forks source link

Prior to starting guard call a script to set environment. #78

Closed davidhooey closed 10 years ago

davidhooey commented 10 years ago

For example, when using RSpec and JRuby, the CLASSPATH sometimes needs to be set to include external libraries. Guard works fine outside of the Sublime Text 2 environment.

My thought is to create a .sublime_guard UNIX script that will be called prior to launching guard to give the user the ability to set the environment for guard within the context of the Sublime Text 2 editor.

davidhooey commented 10 years ago

My bad, running subl . from the terminal does inherit the environment. I will close this PR and the issue.