Closed mgrachev closed 7 years ago
Hi, thanks for the PR! I know that rails
is listed directly in the capistrano-bundler
gem, but I think that is the exception to the rule. Generally it is a better idea to create a new gem that does this. So I think this should be done in your capistrano-hanami gem.
For example, you can see here how the capistrano3-puma
gem automatically adds puma
to the list of Bundler binaries using append
:
namespace :load do
task :defaults do
# ...
append :bundle_bins, 'puma', 'pumactl'
end
end
I think this technique is preferable than changing the capistrano-bundler
gem itself.
@mattbrictson Thank you, I agree with you. Happy New Year! 🎉
This is necessary so that you can run the command
hanami
through methodexecute
.Hanami is a full-stack Ruby web framework.
Example: