• Skip to primary navigation
  • Skip to content
  • Skip to footer
Ruby on Rails Tips Ruby on Rails Tips
  • Posts
  • Categories
  • Tags

    How to use bun with rails?

    less than 1 minute read

    Bun is fast. So is Rails.

    Rails 7.1 added support to use bun as JS runtime.

    Use bun with new rails application

    $ rails new blog --javascript=bun
    

    Use bun with an existing rails application

    $ bin/rails javascript:install:bun
    

    Tags: JavaScript

    Categories: Rails

    Updated: September 13, 2023

    Share on

    X Facebook LinkedIn Bluesky
    Previous Next

    You May Also Enjoy

    How to delete recurring tasks in solid queue?

    less than 1 minute read

    This article explains how to delete recurring tasks from Solid Queue.

    How to add counter cache with custom column in Rails?

    2 minute read

    This article explains how to add counter cache with a custom column in Rails.

    How to execute raw SQL in rails?

    less than 1 minute read

    This article explains how to write and execute raw SQL in rails.

    How to drop a table in rails?

    less than 1 minute read

    This article explains how to drop a table in rails - the recommended way.

    • Twitter
    • GitHub
    • Instagram
    • Kamal.wiki
    • Blog
    • Feed
    © 2026 Ruby on Rails Tips. Powered by Jekyll & Minimal Mistakes.