Closed petrk94 closed 6 years ago
Try ruby 2.1.0 , latest version of ruby is not compatible
@tachyons I think I will break it up. ruby 2.1.0 is not longer support by my shared hosting provider, due End of Life, I tried the oldest one available, ruby 2.2, but it need to change the rake from 12.3.0 to 10.4.2, rake db:create works without a problem, but rake db:migrate fails due Mysql2::Error: Access denied for user 'root'@'localhost' (using password: NO)
Just saw now that it needs root, but its only short in the text, so meh, doesnt work, shame, I really liked the design of it.
That is just default, you can set your own MySQL username and password in config/database.yml. infact it is recommended to change it than using the default credentials
I have used the mysql credentials and put the mysql + version into gem file. Getting the same error, what can I do?
[digiharz@norma config]$ rake db:migrate (in /var/www/virtual/xxx/xxx.de) /var/www/virtual/xxx/xxx.de/vendor/bundle/gems/activesupport-4.0.3/lib/active_support/values/time_zone.rb:282: warning: circular argument reference - now rake aborted! Mysql2::Error: Access denied for user 'root'@'localhost' (using password: NO)
Not in gentile, password is to be set in config/database.yml file
You are missing this step given in the readme
Update the credentials in database.yml with actual values.
I have already used the database.yml, but get the same error
ENV is for reading from shell environment variables, if you want to specify MySQL credentials directly there, then no need to use ENV
password: 'yourmysqlpasswordhere' will be enough
@tachyons thanks now it works, but as admin Im unable to create tasks and this is not really great
Hello,
Im trying to install fluxday on my server, but it interrupt while rake db:migrate (even bundle exec rake db:migrate fails)
Gems:
Ruby Version: $ ruby -v ruby 2.4.3p205 (2017-12-14 revision 61247) [x86_64-linux]
This is the error message I get: /vendor/bundle/gems/activesupport-4.0.3/lib/active_support/values/time_zone.rb:282: warning: circular argument reference - now rake aborted! Bundler::GemRequireError: There was an error while trying to load the gem 'devise'. Gem Load Error is: ActiveSupport::Duration can't be coerced into Integer Backtrace for gem load error is: vendor/bundle/gems/activesupport-4.0.3/lib/active_support/core_ext/numeric/time.rb:50:in'
vendor/bundle/gems/devise-3.2.4/lib/devise.rb:8:in `<top (required)>'
*' vendor/bundle/gems/activesupport-4.0.3/lib/active_support/core_ext/numeric/time.rb:50:in
days' vendor/bundle/gems/activesupport-4.0.3/lib/active_support/core_ext/numeric/time.rb:55:inweeks' vendor/bundle/gems/devise-3.2.4/lib/devise.rb:131:in
I hope you can help Im not able to use docker on my shared host Server
thanks