instance method
using_bun?
Ruby on Rails 7.1.6
Since v7.1.6Signature
using_bun?()
No documentation comment.
Source
# File actiontext/lib/generators/action_text/install/install_generator.rb, line 75
def using_bun?
# Cannot assume yarn.lock has been generated yet so we look for
# a file known to be generated by the jsbundling-rails gem
@using_bun ||= using_js_runtime? && Pathname(destination_root).join("bun.config.js").exist?
end
Defined in actiontext/lib/generators/action_text/install/install_generator.rb line 75
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionText::Generators::InstallGenerator