Where do I put non-ruby files in my gem?

I want to add an Upstart configuration file to my Ruby gem. Here is my current best premise

Gem::Specification.new do |s|

  # ...

  s.files = %w(
    lib/rt_watchdog.rb
    lib/upstart/rt_watchdog.conf
    bin/rt_watchdog
  )
end

In general, where are configuration files and other types of scripts stored in stone?

Refresh . I changed the path in my example from Upstart/rt_watchdog.confto lib/upstart/rt_watchdog.confto what I decided to go now, but I still don't really like it.

+5
source share
1 answer

Rails uses the configuration directory at the root of the application, and the Rails conventions are pretty well represented in the Ruby community.

+1
source

All Articles