ivaldi / brimir

Email helpdesk built using Ruby on Rails and Zurb Foundation
http://getbrimir.com
GNU Affero General Public License v3.0
1.38k stars 299 forks source link

Error at Install part: bin/rake db:schema:load RAILS_ENV=production #410

Closed bforpc closed 6 years ago

bforpc commented 6 years ago

I have everything done like described. At this part bin/rake db:schema:load RAILS_ENV=production i get this error:

rake aborted!
Gem::LoadError: Specified 'postgresql' for database adapter, but the gem is not loaded. Add `gem 'pg'` to your Gemfile (and ensure its version is at the minimum required by ActiveRecord).

I like to use mysql Database.

bfo

frenkel commented 6 years ago

Did you edit config/database.yml? From the README:

After setting up a webserver, you have to create a database for Brimir and modify the config file in config/database.yml to reflect the details.

bforpc commented 6 years ago

Hi,

thx for your replay. Now i run into the next error:

rake aborted!
Devise.secret_key was not set. Please add the following to your Devise initializer:

  config.secret_key = [long key]'

Where i must put this ? I'm not a developer.

bfo

frenkel commented 6 years ago

Please read the readme, it is explained there. You need to fill the secrets.yml file.

bforpc commented 6 years ago

Hi,

i was gone through the readme like described. Again, im not a developer. I had inserted the key to the secrets.yml File with a ":" But, I get always

bin/rake db:migrate RAILS_ENV=production
rake aborted!
Devise.secret_key was not set. Please add the following to your Devise initializer:
  config.secret_key = 'long key ...'

After hours of probing to get this APP running I'm tyred and break now. WHY you make the installation process not easier? Standard Linux VM from scratch (debian) and the the step by stpe procedure.

Make it like the KISS - and you will have more user.

Bfo