Como alterar uma configuração do site via Console

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

How to fix it?