Po 24 godzinach próby znalezienia problemu z moją aplikacją. W końcu znalazłem problem.Pakiety remake pakietu bund: prekompilacja - konfiguracja bazy danych nie określa adaptera
Pobiegłem
rake assets:precompile RAILS_ENV=production
i ciągle na uzyskiwanie ten błąd.
/Users/vezu/.rvm/rubies/ruby-1.9.3-p194/bin/ruby /Users/vezu/.rvm/gems/[email protected]/bin/rake assets:precompile:all RAILS_ENV=production RAILS_GROUPS=assets
rake aborted!
database configuration does not specify adapter
Tasks: TOP => environment
(See full trace by running task with --trace)
rake aborted!
Command failed with status (1): [/Users/vezu/.rvm/rubies/ruby-1.9.3-p194/bi...]
Mój plik database.yml wygląda to
development:
adapter: postgresql
host: localhost
encoding: unicode
database: ndoda_development
pool: 5
username:
password:
test:
adapter: postgresql
encoding: unicode
database: ndoda_test
pool: 5
m8 gdzie jest konfiguracja db produkcyjna?)) –
Nie potrzebujesz tego na Heroku. Heroku sobie z tym poradzi. Przepraszam, zapomniałem wspomnieć, że używam heroku. – Benjamin