Come modificare una impostazione del sito tramite la console

After running : “bundle exec rails c”
I’m getting an error : “Could not locate Gemfile”

How to fix it?