I want to put an Upstart config file in my Ruby gem. Here's my current best guess
Gem::Specification.new do |s|
# ...
s.files = %w(
lib/rt_watchdog.rb
lib/upstart/rt_watchdog.conf
bin/rt_watchdog
)
end
In general, where do configuration files and other types of scripts go in a gem?
Update: I changed the path in my example from Upstart/rt_watchdog.conf
to lib/upstart/rt_watchdog.conf
as that's what I've decided to go with for now, but I still don't feel great about it.
Rails uses a config directory in the root of the app and Rails conventions are pretty well represented throughout the Ruby community.
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