How to create an application

    1. Creating an application rails new sample_app (database name) -d mysql
  1. Fix GemFile gem 'bootsnap', '1.4.5', require: false

  2. Enter the Mysql password in the Database.yml file

  3. Go to Rails application cd sample_app

  4. Database creation rails db:create

$ rails db:create rails aborted! Errno::ENOENT: No such file or directory - bs_fetch:open_current_file:open bin/rails:4:in `

' (See full trace by running task with --trace)

↑ If this comes out

  1. Corrected the following notation in GemFile gem 'bootsnap', '1.4.5' , require: false
  2. Delete the file that says bootsnap under tmp/cache / 3.bundle install

Recommended Posts

How to create an application
How to create an application server on an EC2 instance on AWS
How to publish an application on Heroku
How to create docker-compose
[Rails] Create an application
Rails6.0 ~ How to create an eco-friendly development environment
How to create an oleore certificate (SSL certificate, self-signed certificate)
How to handle an instance
How to create a method
Preparing to create a Rails application
[Java] How to create a folder
How to insert an external library
How to crop an image with libGDX
How to blur an image (super easy)
How to create a Maven repository for 2020
How to deploy
How to publish an application using AWS (3) EC2 instance environment construction
How to define an inner class bean
[Swift5] How to create a splash screen
[rails] How to create a partial template
How to build an Apache Flink application from scratch in 5 minutes
How to create a web server on an EC2 instance on AWS
How to write an RSpec controller test
How to add application version information to Sentry information
Easy way to create an original logo for your application (easy with your smartphone)
Nuxt.js × Create an application in Rails API mode
How to create a database for H2 Database anywhere
Summary of how to create JSF self-made tags
[Rails] How to create a graph using lazy_high_charts
Easy way to create an implementation of java.util.stream.Stream
How to write an if statement to improve readability-java
How to use an array for HashMap keys
How to create pagination for a "kaminari" array
How to create a class that inherits class information
How to create multiple pull-down menus with ActiveHash
How to delete the database when recreating the application
How to create a theme in Liferay 7 / DXP
How to create search conditions involving multiple models
[1st] How to create a Spring-MVC framework project
How to easily create a pull-down in Rails
[Rails] How to create a Twitter share button
How to create hierarchical category data using ancestry
How to solve an Expression Problem in Java
I tried to develop an application in 2 languages
How to create member variables with JPA Model
[Rails] How to build an environment with Docker
How to build an executable jar in Maven
Notes on how to create Burp Suite extensions
How to make an crazy Android music player
How to develop OpenSPIFe
How to create a small docker image of openjdk 11 (ea) application (1GB → 85MB)
How to call AmazonSQSAsync
How to use Map
How to write Rails
How to use rbenv
How to use letter_opener_web
How to use with_option
How to use fields_for
How to use java.util.logging
How to use map
How to use collection_select