[RAILS] Don't know how to build task'credentials: edit'

problem

$ rails credentials:edit
rails aborted!
Don't know how to build task 'credentials:edit' (see --tasks)

solution

redentials.yml.enc was added from Rails 5.2, so let's set it to 5.2 if there is no problem.

gem 'rails', '~> 5.2'
bundle update

Source of information

https://fuzzyblog.io/blog/rails/2020/09/14/deploying-to-hatchbox-with-rails-5-x.html

Recommended Posts

Don't know how to build task'credentials: edit'
How to build android-midi-lib
[Rails] I don't know how to use the model ...
How to build vim on Ubuntu 20.04
How to build CloudStack using Docker
How to build SquashTM and how to support Japanese
How to build Rails 6 environment with Docker
How to deploy
How to edit layers in Core ML Tools
How to build API with GraphQL and Rails
[Rails] How to build an environment with Docker
How to build parquet-tools and merge Parquet files
How to build a Pytorch environment on Ubuntu
How to build the simplest blockchain in Ruby
How to build an executable jar in Maven
How to build Docker + Springboot app (for basic learning)
How to build docker environment with Gradle for intelliJ
How to build Java development environment with VS Code
[Rails] How to edit and customize devise view and controller
I would like to know how to improve redundant code!
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
How to adapt Bootstrap
How to use Twitter4J
How to use active_hash! !!
How to install Docker
How to use MapStruct
How to use hidden_field_tag
How to use TreeSet
How to write dockerfile
How to uninstall Rails
How to install docker-machine
[How to use label]
How to make shaded-jar
How to write docker-compose
How to use identity
How to use hashes
How to write Mockito
How to create docker-compose
How to use JUnit 5
How to install MySQL
How to write migrationfile
How to use Dozer.mapper
How to use Gradle
How to use org.immutables
How to use java.util.stream.Collector
How to use VisualVM
How to use Map
How to install ngrok
How to type backslash \
How to concatenate strings
How to build [TypeScript + Vue + Express + MySQL] environment with Docker ~ Express ~
What happened in "Java 8 to Java 11" and how to build an environment