instance method
using_bun?
Ruby on Rails 7.2.3
Since v7.1.6Signature
using_bun?()
No documentation comment.
Source
# File actiontext/lib/generators/action_text/install/install_generator.rb, line 82
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 82
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionText::Generators::InstallGenerator