Ruby on Rails
Tuesday, August 7, 2018
Hi,
Thanks for replying me back
Now I am facing this
when I run this command
rake db:create
FATAL: role "root" is not permitted to log in
Couldn't create database for {"adapter"=>"postgresql", "encoding"=>"unicode", "database"=>"bookingsaround_diy_development", "pool"=>5, "username"=>"root", "password"=>"root12345678", "host"=>"localhost", "port"=>5432}
rake aborted!
PG::ConnectionBad: FATAL: role "root" is not permitted to log in
Tasks: TOP => db:create
FATAL: role "root" is not permitted to log in
Couldn't create database for {"adapter"=>"postgresql", "encoding"=>"unicode", "database"=>"bookingsaround_diy_development", "pool"=>5, "username"=>"root", "password"=>"root12345678", "host"=>"localhost", "port"=>5432}
rake aborted!
PG::ConnectionBad: FATAL: role "root" is not permitted to log in
Tasks: TOP => db:create
not permitted to log in?
On Tue, Aug 7, 2018 at 2:02 PM, Mike <mike.simkins@gmail.com> wrote:
Not sure I understand all of this but
As long as you can send some-new-app.com to your IP address and some-old-app.com to the same address it should not be a problem
You could use a CNAME record to forward both of these to myrouter.asuscomm.com which is your actual device
Once it gets there I assume you forward the traffic to your web host where it should still be receiving requests (Host: headers) for some-old-app.com and some-new-app.com.
Then your web server should be directing the traffic to the correct rails app
It's a bit difficult to diagnose without more information but hopefully this is a pointer
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com .
To post to this group, send email to rubyonrails-talk@googlegroups.com .
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/ .c551662c-7fc2-4dda-967a- fe8e8fd7d2e0%40googlegroups. com
For more options, visit https://groups.google.com/d/optout .
--
Thanks & Regards
Piyush Chowhan
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CACL5Wfa4uB%3DU6zC%3Dd6%2B-XYAkoP3LFGJtcOiznNdUhnq8LJdKdQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment