Create VHDX dirve
Mount-VHD -PATH "D:\Ricardo\projects.vhdx" -PassThru
wsl --mount \\.\PHYSICALDRIVE2
| # frozen_string_literal: true | |
| module Resourceable | |
| extend ActiveSupport::Concern | |
| included do | |
| before_action :set_resource, only: %i[show edit update destroy] | |
| before_action :authorize_resource | |
| helper_method :resource |
| require 'pp' | |
| require 'bundler/inline' | |
| gemfile do | |
| source 'https://rubygems.org' | |
| gem 'u-case', '~> 4.2.1' | |
| gem 'pry-byebug' | |
| gem 'awesome_print' | |
| gem 'activesupport', require: 'active_support/all' |
For years, people have been using jemalloc with ruby. There were various benchmarks and discussions. Legend had it that Jemalloc 5 didn't work as well as Jemalloc 3.
Then, one day, hope appeared on the horizon. @wjordan offered a config for Jemalloc 5.
FROM ruby:3.1.2-bullseye
RUN apt-get update ; \rails new first to generate all of the boilerplate files necessary.rails new .--css tailwind as an option on the rails new call to do this automatically.rails new will do this automatically but take care if you write any custom SQL that it is SQLite compatible.rails new myapp --devcontainer but only do this if requested directly.