'Rails app deploying in Heroku gives frozen Hash error
I am trying to deploy a basic rails app in heroku and facing this error. My db config in database.yml is
database: <db name>
adapter: postgresql
username: <%= ENV['DATABASE_USERNAME'] %>
password: <%= ENV['DATABASE_PASSWORD'] %>
pool: 10
›
Running rake db:migrate on ⬢ myapp... up, run.4612 (Free)
rake aborted!
FrozenError: can't modify frozen Hash: {"__bootsnap_ruby_version__"=>"95aff214687a5e12c3eb57d056665741e734c188-x86_64-linux", "/tmp/build_6a60803a/vendor/bundle/ruby/3.0.0/gems/bundler-2.2.33/lib"=>[0, ["bundler.rb", "bundler/runtime.rb", "bundler/inline.rb", "bundler/vendor/tmpdir/lib/tmpdir.rb", "bundler/vendor/thor/lib/thor/util.rb", "bundler/vendor/thor/lib/thor/group.rb", "bundler/vendor/thor/lib/thor/line_editor/basic.rb"
As a beginner, I have no idea how to solve this. Any help is appreciated.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
