Closed corprew closed 3 years ago
Couldn't easily find where this was coming from, so couldn't generate a pull request, figured I'd let you know. Thanks for this and gli.
D'oh. I think this is because at some point Bundler decided that exe
is the proper bin dir, and Methadone uses bunder to bootstrap its gemspec.
I think moving methadone to use exe
is probably the right thing, since that's where things are in the rest of the Ruby Ecosystem. I think this is where that happens (copy_file
maintains the relative subdir, so I think it's as 'simple' as moving bin/executable
to exe/executable
and updating the integration tests).
Cool, there are some other pieces and the tests aren't currently passing for a couple of other reasons I think also related to bundler generation of the gemspec. I'll give this a shot when I have more time in a week or two.
Closing in favor of #137 that captures the poor state of the scaffold
methadone generates executable files in the 'bin' directory, but sets 'bindir' to 'exe' in gemspec
file contains
but the proper bin directory is 'bin':
A gem generated like this doesn't identify its executable files to gemspec and therefore can't identify its "binaries" when it comes time to make binstubs. If you change 'exe' to 'bin' in the directories, the binstubs are properly generated.