I’m a newbie and I have many about how to publish my website made in
Ruby.
I developed a simple site in Ruby with MySQL for learning, in
development environment work fine, now I will publish in my site hosted
on HostGator, my site work in Linux with Apache web server with support
for Ruby on Rails, I have some questions for publish:
-
I need upload all created folders (app, components, config, db, doc,
lib, log, public, script, test, tmp, vendor)? -
How Ruby will know what database will be used ‘development’ or
‘production’?
I uploaded my entire website folder to a folder ‘test’ in my website and
when I access /mydomain.com/test/public I get the error below:
Application error
Rails application failed to start properly"