[Résolu] Rake aborted! lors de rake db:create

Bonjour,

J’essai d’installer fabmanager sur Ubuntu 14.0.4 en suivant les instructions sur GitHub - sleede/fab-manager: Fab-Manager is the FabLab management solution. It provides a comprehensive, web-based, open-source tool to simplify your administrative tasks and your marker's projects., mais lorsque j’arrive à l’étape de rake db:create, j’obtiens l’erreur suivante:

rake db:create
rake aborted!
Psych::SyntaxError: (): mapping values are not allowed in this context at line 3 column 15
/home/test/.rvm/gems/ruby-2.3.0@fab-manager/gems/figaro-1.1.0/lib/figaro/application.rb:60:in parse' /home/test/.rvm/gems/ruby-2.3.0@fab-manager/gems/figaro-1.1.0/lib/figaro/application.rb:56:in block in raw_configuration’
/home/test/.rvm/gems/ruby-2.3.0@fab-manager/gems/figaro-1.1.0/lib/figaro/application.rb:56:in raw_configuration' /home/test/.rvm/gems/ruby-2.3.0@fab-manager/gems/figaro-1.1.0/lib/figaro/application.rb:64:in global_configuration’
/home/test/.rvm/gems/ruby-2.3.0@fab-manager/gems/figaro-1.1.0/lib/figaro/application.rb:32:in configuration' /home/test/.rvm/gems/ruby-2.3.0@fab-manager/gems/figaro-1.1.0/lib/figaro/application.rb:42:in each’
/home/test/.rvm/gems/ruby-2.3.0@fab-manager/gems/figaro-1.1.0/lib/figaro/application.rb:36:in load' /home/test/.rvm/gems/ruby-2.3.0@fab-manager/gems/figaro-1.1.0/lib/figaro.rb:23:in load’
/home/test/.rvm/gems/ruby-2.3.0@fab-manager/gems/figaro-1.1.0/lib/figaro/rails/railtie.rb:5:in block in <class:Railtie>' /home/test/.rvm/gems/ruby-2.3.0@fab-manager/gems/activesupport-4.2.5/lib/active_support/lazy_load_hooks.rb:36:in execute_hook’
/home/test/.rvm/gems/ruby-2.3.0@fab-manager/gems/activesupport-4.2.5/lib/active_support/lazy_load_hooks.rb:45:in block in run_load_hooks' /home/test/.rvm/gems/ruby-2.3.0@fab-manager/gems/activesupport-4.2.5/lib/active_support/lazy_load_hooks.rb:44:in each’
/home/test/.rvm/gems/ruby-2.3.0@fab-manager/gems/activesupport-4.2.5/lib/active_support/lazy_load_hooks.rb:44:in run_load_hooks' /home/test/.rvm/gems/ruby-2.3.0@fab-manager/gems/railties-4.2.5/lib/rails/application.rb:148:in run_load_hooks!’
/home/test/.rvm/gems/ruby-2.3.0@fab-manager/gems/railties-4.2.5/lib/rails/application.rb:96:in instance' /home/test/.rvm/gems/ruby-2.3.0@fab-manager/gems/railties-4.2.5/lib/rails/railtie.rb:123:in config’
/home/test/fab-manager/config/application.rb:30:in <class:Application>' /home/test/fab-manager/config/application.rb:22:in module:Fablab
/home/test/fab-manager/config/application.rb:21:in <top (required)>' /home/test/fab-manager/Rakefile:4:in require’
/home/test/fab-manager/Rakefile:4:in <top (required)>' /home/test/.rvm/gems/ruby-2.3.0@fab-manager/gems/rake-11.3.0/exe/rake:27:in <top (required)>’
/home/test/.rvm/gems/ruby-2.3.0@fab-manager/bin/ruby_executable_hooks:15:in eval' /home/test/.rvm/gems/ruby-2.3.0@fab-manager/bin/ruby_executable_hooks:15:in
(See full trace by running task with --trace)

A votre avis, qu’est-ce qui pourrait être la cause de cette erreur ?

Merci,

Antonio

J’ai eu le même soucis. Pour le résoudre, j’ai dû supprimer le premier caractère de chaque ligne (qui était ‹ - ›) du fichier application.yml

Ce bug a été introduit avec le portugais (version 2.5.7), la correction vient d’être publiée sur github. Il sera corrigé dans la prochaine release 2.5.9. Merci.

C’est fait ! la 2.5.9 est dispo https://github.com/LaCasemate/fab-manager/releases/tag/v2.5.9

1 « J'aime »