Closed gildesmarais closed 10 years ago
I guess the solution for this would be a passenger, that shells out to a shell script at a location configurable in the configuration file. Do you want to try to implement it? Should be a good first passenger :smile: If you need any help, please ping me!
If you don't feel ready for that yet, I will when I can implement it! Can't promise a date for that though :wink:
Sure, I can try to implement that. Should not be to hard (although I never wrote Ruby seriously before). I don't know when I will find the time, but I keep this task on my list. :)
I did a quick search on how to call shell-commands within ruby. There are several ways, mainly differing on stdin/stdout capabilities. Maybe some shell scripts need superuser privileges for commands, which (on most system setups) is acquired by sudo
. Which way should I use?
The thing about ruby is: don't try to write it seriously. Try to have fun :wink: .
I keep a
defaults.sh
in my dotfiles-repository which contains some default settings for my Mac OSX.After updating via
rake up
the file should be executed.How can this be implemented the best way?