a_freyer wrote:I'd mess around with adding a specific path in terminal first. It's way easier than trying to force Hazel to run each and every time you change a single character in the embedded script.
I've tried multiple options all that run successfully in Terminal but continue to fail in Hazel both as embedded and stand alone scripts.
In Terminal, once I cd into /users/doug/octopress, the following two scripts run correctly...
- Code: Select all
/usr/bin/rake -f /Users/doug/octopress/rakefile generate
- Code: Select all
/Users/doug/.rvm/gems/ruby-1.9.3-p327@global/bin/rake generate
Running the first script (embedded & stand alone) in Hazel, this is displayed in log file...
2012-12-05 08:50:19.427 hazelworker[36006] Shellscript exited with non-successful status code: 1
Running the second script (embedded & stand alone) in Hazel, this is displayed in log file...
2012-12-05 08:45:15.517 hazelworker[35735] Shellscript exited with non-successful status code: 127
Would love to figure this out. Any more ideas? Thanks for the recommendations.