Question

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.

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top