Docker command to create Rails project with a single blow in environment without Ruby

You can't do without Docker.

docker run --rm -it --workdir /app/ --volume $PWD:/app/  ruby:2.6.3 bash -c "gem install rails -v 5.2.4 && rails new sample_project"

that's all.

Recommended Posts

Docker command to create Rails project with a single blow in environment without Ruby
How to build a Ruby on Rails development environment with Docker (Rails 6.x)
How to build a Ruby on Rails development environment with Docker (Rails 5.x)
Build a development environment to create Ruby on Jets + React apps with Docker
Create a Vue3 environment with Docker!
I tried to create a padrino development environment with Docker
Create a Maven project with a command
Steps to build a Ruby on Rails development environment with Vagrant
Create Rails 6 + MySQL environment with Docker compose
Create a MySQL environment with Docker from 0-> 1
How to build Rails 6 environment with Docker
How to create a query using variables in GraphQL [Using Ruby on Rails]
How to build a Ruby on Rails environment using Docker (for Docker beginners)
[Docker] How to create a virtual environment for Rails and Nuxt.js apps
Template: Build a Ruby / Rails development environment with a Docker container (Ubuntu version)
Template: Build a Ruby / Rails development environment with a Docker container (Mac version)
[Memo] Create a CentOS 8 environment easily with Docker
[Rails] rails new to create a database with PostgreSQL
How to easily create a pull-down in Rails
[Rails] How to build an environment with Docker
Create a Spring Boot development environment with docker
Command line that can create a directory structure for building a Laravel environment with Docker in one shot
[First environment construction] I tried to create a Rails 6 + MySQL 8.0 + Docker environment on Windows 10.
A memorandum when building an environment with Ruby3.0 x Rails6.1 x Docker x CentOS Stream
[Introduction] Try to create a Ruby on Rails application
How to create a Java environment in just 3 seconds
Docker the development environment of Ruby on Rails project
How to launch another command in a Ruby program
[How to insert a video in haml with Rails]
[Note] Create a java environment from scratch with docker
[Rails] [Docker] Copy and paste is OK! How to build a Rails development environment with Docker
[Docker] Rails 5.2 environment construction with docker
I tried to create a java8 development environment with Chocolatey
Tutorial to create a blog with Rails for beginners Part 1
Difficulties in building a Ruby on Rails environment (Windows 10) (SQLite3)
I made a development environment with rails6 + docker + postgreSQL + Materialize.
[Rails] I tried to create a mini app with FullCalendar
A series of steps to create portfolio deliverables with Rails
How to display a graph in Ruby on Rails (LazyHighChart)
I want to create a Parquet file even in Ruby
How to build Rails, Postgres, ElasticSearch development environment with Docker
Build a Node-RED environment with Docker to move and understand
Tutorial to create a blog with Rails for beginners Part 2
Create Rails5 and postgresql environment with Docker and make pgadmin available
Apply CSS to a specific View in Ruby on Rails
Tutorial to create a blog with Rails for beginners Part 0
Write DiscordBot to Spreadsheets Write in Ruby and run with Docker
[Rails 6.0, Docker] I tried to summarize the Docker environment construction and commands necessary to create a portfolio
Rails + MySQL environment construction with Docker
Build a Node.js environment with Docker
[Rails] How to execute "rails db: create" etc. in production environment EC2
Create a large number of records with one command using the Ruby on Rails seeds.rb file
I want to add a browsing function with ruby on rails
Ruby on Rails development environment construction with Docker + VSCode (Remote Container)
[Rails] Creating a new project with rails new
Super beginner builds Rails6 + Postgresql environment with Docker to the end
Procedure for building a Rails application development environment with Docker [Rails, MySQL, Docker]
How to create a new Gradle + Java + Jar project in Intellij 2016.03
Build environment with vue.js + rails + docker
Create a database in a production environment
Create a new app in Rails