- gem "sprockets-rails", ">= 3.4.2"
- gem "importmap-rails", ">= 1.0.1"
- gem "turbo-rails", ">= 1.0.0"
- gem "stimulus-rails", ">= 1.0.2"
# 実行されるインストールコマンド
rails importmap:install
- gem "propshaft", ">= 0.4.4"
- gem "jsbundling-rails", ">= 1.0.0"
- gem "cssbundling-rails", ">= 1.0.0"
- gem "propshaft", ">= 0.4.4"
- gem "importmap-rails", ">= 1.0.1"
- gem "turbo-rails", ">= 1.0.0"
- gem "stimulus-rails", ">= 1.0.2"
# 実行されるインストールコマンド
rails importmap:install
- gem "sprockets-rails", ">= 3.4.2"
- gem "jsbundling-rails", ">= 1.0.0"
- gem "cssbundling-rails", ">= 1.0.0"
Aと同じ結果。しかし、importmapがデフォルトというわけではなさそう(-c
オプション次第ではesbuildが自動的に使われるので)
- gem "sprockets-rails", ">= 3.4.2"
- gem "importmap-rails", ">= 1.0.1"
- gem "turbo-rails", ">= 1.0.0"
- gem "stimulus-rails", ">= 1.0.2"
# 実行されるインストールコマンド
rails importmap:install
- gem "propshaft", ">= 0.4.4"
- gem "jsbundling-rails", ">= 1.0.0"
- gem "cssbundling-rails", ">= 1.0.0"
- gem "sprockets-rails", ">= 3.4.2"
- gem "jsbundling-rails", ">= 1.0.0"
- gem "turbo-rails", ">= 1.0.0"
- gem "stimulus-rails", ">= 1.0.2"
# 実行されるインストールコマンド
rails javascript:install:esbuild
rails turbo:install stimulus:install
- gem "importmap-rails", ">= 1.0.1"
- gem "propshaft", ">= 0.4.4"
- gem "cssbundling-rails", ">= 1.0.0"
- gem "sprockets-rails", ">= 3.4.2"
- gem "jsbundling-rails", ">= 1.0.0"
- gem "turbo-rails", ">= 1.0.0"
- gem "stimulus-rails", ">= 1.0.2"
# 実行されるインストールコマンド
rails javascript:install:rollup
rails turbo:install stimulus:install
- gem "importmap-rails", ">= 1.0.1"
- gem "propshaft", ">= 0.4.4"
- gem "cssbundling-rails", ">= 1.0.0"
- gem "sprockets-rails", ">= 3.4.2"
- gem "jsbundling-rails", ">= 1.0.0"
- gem "turbo-rails", ">= 1.0.0"
- gem "stimulus-rails", ">= 1.0.2"
# 実行されるインストールコマンド
rails javascript:install:webpack
rails turbo:install stimulus:install
- gem "importmap-rails", ">= 1.0.1"
- gem "propshaft", ">= 0.4.4"
- gem "cssbundling-rails", ">= 1.0.0"
tailwindの場合は他のCSSフレームワークよりシンプルになる(他はesbuildを使っている)。
- gem "sprockets-rails", ">= 3.4.2"
- gem "importmap-rails", ">= 1.0.1"
- gem "turbo-rails", ">= 1.0.0"
- gem "stimulus-rails", ">= 1.0.2"
- gem "tailwindcss-rails", ">= 2.0.2-x86_64-linux"
# 実行されるインストールコマンド
rails importmap:install
- gem "propshaft", ">= 0.4.4"
- gem "jsbundling-rails", ">= 1.0.0"
- gem "cssbundling-rails", ">= 1.0.0"
- gem "sprockets-rails", ">= 3.4.2"
- gem "turbo-rails", ">= 1.0.0"
- gem "stimulus-rails", ">= 1.0.2"
- gem "jsbundling-rails", ">= 1.0.0"
- gem "cssbundling-rails", ">= 1.0.0"
# 実行されるインストールコマンド
rails javascript:install:esbuild
rails turbo:install stimulus:install
rails css:install:bootstrap
- gem "importmap-rails", ">= 1.0.1"
- gem "propshaft", ">= 0.4.4"
- gem "sprockets-rails", ">= 3.4.2"
- gem "turbo-rails", ">= 1.0.0"
- gem "stimulus-rails", ">= 1.0.2"
- gem "jsbundling-rails", ">= 1.0.0"
- gem "cssbundling-rails", ">= 1.0.0"
# 実行されるインストールコマンド
rails javascript:install:esbuild
rails turbo:install stimulus:install
rails css:install:postcss
- gem "importmap-rails", ">= 1.0.1"
- gem "propshaft", ">= 0.4.4"
- gem "sprockets-rails", ">= 3.4.2"
- gem "turbo-rails", ">= 1.0.0"
- gem "stimulus-rails", ">= 1.0.2"
- gem "jsbundling-rails", ">= 1.0.0"
- gem "cssbundling-rails", ">= 1.0.0"
# 実行されるインストールコマンド
rails javascript:install:esbuild
rails turbo:install stimulus:install
rails css:install:sass
- gem "importmap-rails", ">= 1.0.1"
- gem "propshaft", ">= 0.4.4"
- gem "propshaft", ">= 0.4.4"
- gem "importmap-rails", ">= 1.0.1"
- gem "turbo-rails", ">= 1.0.0"
- gem "stimulus-rails", ">= 1.0.2"
# 実行されるインストールコマンド
rails importmap:install
- gem "sprockets-rails", ">= 3.4.2"
- gem "jsbundling-rails", ">= 1.0.0"
- gem "cssbundling-rails", ">= 1.0.0"
- gem "propshaft", ">= 0.4.4"
- gem "jsbundling-rails", ">= 1.0.0"
- gem "turbo-rails", ">= 1.0.0"
- gem "stimulus-rails", ">= 1.0.2"
# 実行されるインストールコマンド
rails javascript:install:esbuild
rails turbo:install stimulus:install
- gem "sprockets-rails", ">= 3.4.2"
- gem "importmap-rails", ">= 1.0.1"
- gem "cssbundling-rails", ">= 1.0.0"
- gem "propshaft", ">= 0.4.4"
- gem "jsbundling-rails", ">= 1.0.0"
- gem "turbo-rails", ">= 1.0.0"
- gem "stimulus-rails", ">= 1.0.2"
# 実行されるインストールコマンド
rails javascript:install:rollup
rails turbo:install stimulus:install
- gem "sprockets-rails", ">= 3.4.2"
- gem "importmap-rails", ">= 1.0.1"
- gem "cssbundling-rails", ">= 1.0.0"
- gem "propshaft", ">= 0.4.4"
- gem "turbo-rails", ">= 1.0.0"
- gem "stimulus-rails", ">= 1.0.2"
# 実行されるインストールコマンド
rails javascript:install:webpack
rails turbo:install stimulus:install
- gem "sprockets-rails", ">= 3.4.2"
- gem "jsbundling-rails", ">= 1.0.0"
- gem "importmap-rails", ">= 1.0.1"
- gem "cssbundling-rails", ">= 1.0.0"
- gem "propshaft", ">= 0.4.4"
- gem "importmap-rails", ">= 1.0.1"
- gem "turbo-rails", ">= 1.0.0"
- gem "stimulus-rails", ">= 1.0.2"
- gem "tailwindcss-rails", ">= 2.0.2-x86_64-linux"
- gem "sprockets-rails", ">= 3.4.2"
- gem "jsbundling-rails", ">= 1.0.0"
- gem "cssbundling-rails", ">= 1.0.0"
# 実行されるインストールコマンド
rails importmap:install
rails turbo:install stimulus:install
rails tailwindcss:install
FYI: RC1では以下のエラーが発生したが、リリース版ではインストールに成功した。
# 実行されるインストールコマンド
rails importmap:install
rails aborted!
NameError: uninitialized constant Tailwindcss::Engine::Sprockets
Sprockets.register_compressor "text/css", :purger, Tailwindcss::Compressor
^^^^^^^^^
Did you mean? Socket
Process
IPSocket
/app/config/environment.rb:5:in `<main>'
Tasks: TOP => app:template => environment
(See full trace by running task with --trace)
rails turbo:install stimulus:install
You must either be running with node (package.json) or importmap-rails (config/importmap.rb) to use this gem.
You must either be running with node (package.json) or importmap-rails (config/importmap.rb) to use this gem.
rails tailwindcss:install
rails aborted!
NameError: uninitialized constant Tailwindcss::Engine::Sprockets
Sprockets.register_compressor "text/css", :purger, Tailwindcss::Compressor
^^^^^^^^^
Did you mean? Socket
Process
IPSocket
/app/config/environment.rb:5:in `<main>'
Tasks: TOP => app:template => environment
(See full trace by running task with --trace)
- gem "propshaft", ">= 0.4.4"
- gem "turbo-rails", ">= 1.0.0"
- gem "stimulus-rails", ">= 1.0.2"
- gem "jsbundling-rails", ">= 1.0.0"
- gem "cssbundling-rails", ">= 1.0.0"
# 実行されるインストールコマンド
rails javascript:install:esbuild
rails turbo:install stimulus:install
rails css:install:bootstrap
- gem "importmap-rails", ">= 1.0.1"
- gem "sprockets-rails", ">= 3.4.2"
- gem "propshaft", ">= 0.4.4"
- gem "turbo-rails", ">= 1.0.0"
- gem "stimulus-rails", ">= 1.0.2"
- gem "jsbundling-rails", ">= 1.0.0"
- gem "cssbundling-rails", ">= 1.0.0"
# 実行されるインストールコマンド
rails javascript:install:esbuild
rails turbo:install stimulus:install
rails css:install:postcss
- gem "importmap-rails", ">= 1.0.1"
- gem "sprockets-rails", ">= 3.4.2"
- gem "propshaft", ">= 0.4.4"
- gem "turbo-rails", ">= 1.0.0"
- gem "stimulus-rails", ">= 1.0.2"
- gem "jsbundling-rails", ">= 1.0.0"
- gem "cssbundling-rails", ">= 1.0.0"
# 実行されるインストールコマンド
rails javascript:install:esbuild
rails turbo:install stimulus:install
rails css:install:sass
- gem "importmap-rails", ">= 1.0.1"
- gem "sprockets-rails", ">= 3.4.2"
jsbundling-railsとcssbundling-railsはインストールされない。
- gem "sprockets-rails", ">= 3.4.2"
- gem "importmap-rails", ">= 1.0.1"
- gem "turbo-rails", ">= 1.0.0"
- gem "stimulus-rails", ">= 1.0.2"
- gem "tailwindcss-rails", ">= 2.0.2-x86_64-linux"
# 実行されるインストールコマンド
rails importmap:install
- gem "propshaft", ">= 0.4.4"
- gem "jsbundling-rails", ">= 1.0.0"
- gem "cssbundling-rails", ">= 1.0.0"
- gem "sprockets-rails", ">= 3.4.2"
- gem "turbo-rails", ">= 1.0.0"
- gem "stimulus-rails", ">= 1.0.2"
- gem "jsbundling-rails", ">= 1.0.0"
- gem "cssbundling-rails", ">= 1.0.0"
# 実行されるインストールコマンド
rails javascript:install:esbuild
rails turbo:install stimulus:install
rails css:install:sass
- gem "importmap-rails", ">= 1.0.1"
- gem "propshaft", ">= 0.4.4"
この場合はimportmap-railsがインストールされず、esbuildが使われる。
- gem "sprockets-rails", ">= 3.4.2"
- gem "turbo-rails", ">= 1.0.0"
- gem "stimulus-rails", ">= 1.0.2"
- gem "jsbundling-rails", ">= 1.0.0"
- gem "cssbundling-rails", ">= 1.0.0"
# 実行されるインストールコマンド
rails javascript:install:esbuild
rails turbo:install stimulus:install
rails css:install:sass
- gem "importmap-rails", ">= 1.0.1"
- gem "propshaft", ">= 0.4.4"
おそらく、tailwind以外のbootstrap/postcss/sassは扱いが同じと思われるので、以後はtailwindとbootstrapのみでチェックする。
この場合はtailwindcss-rails gemはインストールされず、esbuild経由でインストールされる。
- gem "sprockets-rails", ">= 3.4.2"
- gem "turbo-rails", ">= 1.0.0"
- gem "stimulus-rails", ">= 1.0.2"
- gem "jsbundling-rails", ">= 1.0.0"
- gem "cssbundling-rails", ">= 1.0.0"
# 実行されるインストールコマンド
rails javascript:install:esbuild
rails turbo:install stimulus:install
rails css:install:tailwind
- gem "importmap-rails", ">= 1.0.1"
- gem "propshaft", ">= 0.4.4"
- gem "sprockets-rails", ">= 3.4.2"
- gem "turbo-rails", ">= 1.0.0"
- gem "stimulus-rails", ">= 1.0.2"
- gem "jsbundling-rails", ">= 1.0.0"
- gem "cssbundling-rails", ">= 1.0.0"
# 実行されるインストールコマンド
rails javascript:install:rollup
rails turbo:install stimulus:install
rails css:install:tailwind
- gem "importmap-rails", ">= 1.0.1"
- gem "propshaft", ">= 0.4.4"
- gem "sprockets-rails", ">= 3.4.2"
- gem "turbo-rails", ">= 1.0.0"
- gem "stimulus-rails", ">= 1.0.2"
- gem "jsbundling-rails", ">= 1.0.0"
- gem "cssbundling-rails", ">= 1.0.0"
# 実行されるインストールコマンド
rails javascript:install:webpack
rails turbo:install stimulus:install
rails css:install:tailwind
- gem "importmap-rails", ">= 1.0.1"
- gem "propshaft", ">= 0.4.4"
- gem "importmap-rails", ">= 1.0.1"
- gem "propshaft", ">= 0.4.4"
- gem "turbo-rails", ">= 1.0.0"
- gem "stimulus-rails", ">= 1.0.2"
- gem "sprockets-rails", ">= 3.4.2"
- gem "jsbundling-rails", ">= 1.0.0"
- gem "cssbundling-rails", ">= 1.0.0"
# 実行されるインストールコマンド
rails importmap:install
rails turbo:install stimulus:install
rails tailwindcss:install
FYI: RC1では以下のエラーが発生したが、リリース版ではインストールに成功した。
# 実行されるインストールコマンド
rails importmap:install
rails aborted!
NameError: uninitialized constant Tailwindcss::Engine::Sprockets
Sprockets.register_compressor "text/css", :purger, Tailwindcss::Compressor
^^^^^^^^^
Did you mean? Socket
Process
IPSocket
/app/config/environment.rb:5:in `<main>'
Tasks: TOP => app:template => environment
(See full trace by running task with --trace)
rails turbo:install stimulus:install
You must either be running with node (package.json) or importmap-rails (config/importmap.rb) to use this gem.
You must either be running with node (package.json) or importmap-rails (config/importmap.rb) to use this gem.
rails tailwindcss:install
rails aborted!
NameError: uninitialized constant Tailwindcss::Engine::Sprockets
Sprockets.register_compressor "text/css", :purger, Tailwindcss::Compressor
^^^^^^^^^
Did you mean? Socket
Process
IPSocket
/app/config/environment.rb:5:in `<main>'
Tasks: TOP => app:template => environment
(See full trace by running task with --trace)
- gem "propshaft", ">= 0.4.4"
- gem "turbo-rails", ">= 1.0.0"
- gem "stimulus-rails", ">= 1.0.2"
- gem "jsbundling-rails", ">= 1.0.0"
- gem "cssbundling-rails", ">= 1.0.0"
# 実行されるインストールコマンド
rails javascript:install:esbuild
rails turbo:install stimulus:install
rails css:install:tailwind
- gem "importmap-rails", ">= 1.0.1"
- gem "sprockets-rails", ">= 3.4.2"
importmap-railsはインストールされず、esbuildが使われる。
- gem "propshaft", ">= 0.4.4"
- gem "turbo-rails", ">= 1.0.0"
- gem "stimulus-rails", ">= 1.0.2"
- gem "jsbundling-rails", ">= 1.0.0"
- gem "cssbundling-rails", ">= 1.0.0"
# 実行されるインストールコマンド
rails javascript:install:esbuild
rails turbo:install stimulus:install
rails css:install:bootstrap
- gem "importmap-rails", ">= 1.0.1"
- gem "sprockets-rails", ">= 3.4.2"
- gem "propshaft", ">= 0.4.4"
- gem "turbo-rails", ">= 1.0.0"
- gem "stimulus-rails", ">= 1.0.2"
- gem "jsbundling-rails", ">= 1.0.0"
- gem "cssbundling-rails", ">= 1.0.0"
# 実行されるインストールコマンド
rails javascript:install:esbuild
rails turbo:install stimulus:install
rails css:install:bootstrap
- gem "importmap-rails", ">= 1.0.1"
- gem "sprockets-rails", ">= 3.4.2"
- gem "propshaft", ">= 0.4.4"
- gem "turbo-rails", ">= 1.0.0"
- gem "stimulus-rails", ">= 1.0.2"
- gem "jsbundling-rails", ">= 1.0.0"
- gem "cssbundling-rails", ">= 1.0.0"
# 実行されるインストールコマンド
rails javascript:install:rollup
rails turbo:install stimulus:install
rails css:install:bootstrap
- gem "importmap-rails", ">= 1.0.1"
- gem "sprockets-rails", ">= 3.4.2"
- gem "propshaft", ">= 0.4.4"
- gem "turbo-rails", ">= 1.0.0"
- gem "stimulus-rails", ">= 1.0.2"
- gem "jsbundling-rails", ">= 1.0.0"
- gem "cssbundling-rails", ">= 1.0.0"
# 実行されるインストールコマンド
rails javascript:install:webpack
rails turbo:install stimulus:install
rails css:install:bootstrap
- gem "importmap-rails", ">= 1.0.1"
- gem "sprockets-rails", ">= 3.4.2"