So i am trying to deploy a project which i am not familiar with, I use to always run with localhost:3000/abc in development and my app will successfully load.
Then after configuring apachee/passengers , and my database.yml ,
i ran the site with the dns i provided
eg; ec2-11-111-xxx-xx.ap-southeast-1.compute.amazonaws.com/abc
How i run my server
rails s
=> Booting WEBrick
=> Rails 4.2.4 application starting in development on http://localhost:3000
=> Run `rails server -h` for more startup options
=> Ctrl-C to shutdown server
[2017-03-15 16:01:16] INFO WEBrick 1.3.1
[2017-03-15 16:01:16] INFO ruby 2.3.3 (2016-11-21) [x86_64-linux]
[2017-03-15 16:01:16] INFO WEBrick::HTTPServer#start: pid=20856 port=3000
UPDATE 1# : ok have misunderstand how it works. So apparantly running rail s is making my system run on WEBRICK, which not what i want. My apachee is already running, but i keep getting the error same as the screen shot above after chmod 777 the tmp files , replacing a new tmp file.