Has anyone seen this error, or knows the solution?
root@MakerPortal:/usr/bin/fab-manager# rake db:setup --trace
rake aborted!
NoMethodError: undefined method dump' for nil:NilClass (erb):22:in
’
/usr/local/rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/erb.rb:863:in eval' /usr/local/rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/erb.rb:863:in
result’
/usr/bin/fab-manager/vendor/bundle/ruby/2.2.0/gems/railties-4.2.5/lib/rails/application.rb:391:in secrets' /usr/bin/fab-manager/config/application.rb:28:in
class:Application’
/usr/bin/fab-manager/config/application.rb:21:in <module:Fablab>' /usr/bin/fab-manager/config/application.rb:20:in
<top (required)>’
/usr/local/rvm/rubies/ruby-2.2.3/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in require' /usr/local/rvm/rubies/ruby-2.2.3/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in
require’
/usr/bin/fab-manager/Rakefile:4:in <top (required)>' /usr/local/rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rake/rake_module.rb:28:in
load’
/usr/local/rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rake/rake_module.rb:28:in load_rakefile' /usr/local/rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rake/application.rb:689:in
raw_load_rakefile’
Hi Brian,
Have you created the config/database.yml
file before running rake db:setup
? You must also follow the steps described in the chapter Setup the FabManager database in PostgreSQL before being able to run that command.
I’ve just updated the README.md file in the repository to clarify this point.
1 « J'aime »
There are 3 of us each installing the Fab-Manager. 1 of the other two has gotten pretty far. I made the mistake of trying to get this running on a Raspberry Pi Zero. libv8, some Ruby gems, have big issues.I may look for a spare machine to run debian with…
Hello Brian,
Let us know if you’ve made any improvement. Looking forward to see Fab Manager live at the Maker Depot soon
Hi,
To anyone who get this error, make sur that the env variable D3_DATE_FORMAT is set.
my error is this one :
postgres@fab-manager:/fab-manager/fab-manager$ rake db:setup --trace
rake aborted!
Psych::SyntaxError: (): could not find expected ‹ : › while scanning a simple key at line 24 column 1
/usr/local/rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/psych.rb:377:in parse' /usr/local/rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/psych.rb:377:in
parse_stream’
/usr/local/rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/psych.rb:325:in parse' /usr/local/rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/psych.rb:252:in
load’
/usr/local/rvm/gems/ruby-2.3.0@fab-manager/gems/figaro-1.1.0/lib/figaro/application.rb:60:in parse' /usr/local/rvm/gems/ruby-2.3.0@fab-manager/gems/figaro-1.1.0/lib/figaro/application.rb:56:in
block in raw_configuration’
/usr/local/rvm/gems/ruby-2.3.0@fab-manager/gems/figaro-1.1.0/lib/figaro/application.rb:56:in raw_configuration' /usr/local/rvm/gems/ruby-2.3.0@fab-manager/gems/figaro-1.1.0/lib/figaro/application.rb:64:in
global_configuration’
/usr/local/rvm/gems/ruby-2.3.0@fab-manager/gems/figaro-1.1.0/lib/figaro/application.rb:32:in configuration' /usr/local/rvm/gems/ruby-2.3.0@fab-manager/gems/figaro-1.1.0/lib/figaro/application.rb:42:in
each’
/usr/local/rvm/gems/ruby-2.3.0@fab-manager/gems/figaro-1.1.0/lib/figaro/application.rb:36:in load' /usr/local/rvm/gems/ruby-2.3.0@fab-manager/gems/figaro-1.1.0/lib/figaro.rb:23:in
load’
/usr/local/rvm/gems/ruby-2.3.0@fab-manager/gems/figaro-1.1.0/lib/figaro/rails/railtie.rb:5:in block in <class:Railtie>' /usr/local/rvm/gems/ruby-2.3.0@fab-manager/gems/activesupport-4.2.5/lib/active_support/lazy_load_hooks.rb:36:in
execute_hook’
/usr/local/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' /usr/local/rvm/gems/ruby-2.3.0@fab-manager/gems/activesupport-4.2.5/lib/active_support/lazy_load_hooks.rb:44:in
each’
/usr/local/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' /usr/local/rvm/gems/ruby-2.3.0@fab-manager/gems/railties-4.2.5/lib/rails/application.rb:148:in
run_load_hooks!’
/usr/local/rvm/gems/ruby-2.3.0@fab-manager/gems/railties-4.2.5/lib/rails/application.rb:96:in instance' /usr/local/rvm/gems/ruby-2.3.0@fab-manager/gems/railties-4.2.5/lib/rails/railtie.rb:123:in
config’
/fab-manager/fab-manager/config/application.rb:30:in <class:Application>' /fab-manager/fab-manager/config/application.rb:22:in
module:Fablab’
/fab-manager/fab-manager/config/application.rb:21:in <top (required)>' /fab-manager/fab-manager/Rakefile:4:in
require’
/fab-manager/fab-manager/Rakefile:4:in <top (required)>' /usr/local/rvm/gems/ruby-2.3.0@fab-manager/gems/rake-11.1.2/lib/rake/rake_module.rb:28:in
load’
/usr/local/rvm/gems/ruby-2.3.0@fab-manager/gems/rake-11.1.2/lib/rake/rake_module.rb:28:in load_rakefile' /usr/local/rvm/gems/ruby-2.3.0@fab-manager/gems/rake-11.1.2/lib/rake/application.rb:689:in
raw_load_rakefile’
/usr/local/rvm/gems/ruby-2.3.0@fab-manager/gems/rake-11.1.2/lib/rake/application.rb:94:in block in load_rakefile' /usr/local/rvm/gems/ruby-2.3.0@fab-manager/gems/rake-11.1.2/lib/rake/application.rb:176:in
standard_exception_handling’
/usr/local/rvm/gems/ruby-2.3.0@fab-manager/gems/rake-11.1.2/lib/rake/application.rb:93:in load_rakefile' /usr/local/rvm/gems/ruby-2.3.0@fab-manager/gems/rake-11.1.2/lib/rake/application.rb:77:in
block in run’
/usr/local/rvm/gems/ruby-2.3.0@fab-manager/gems/rake-11.1.2/lib/rake/application.rb:176:in standard_exception_handling' /usr/local/rvm/gems/ruby-2.3.0@fab-manager/gems/rake-11.1.2/lib/rake/application.rb:75:in
run’
/usr/local/rvm/gems/ruby-2.3.0@fab-manager/gems/rake-11.1.2/bin/rake:33:in <top (required)>' /usr/local/rvm/gems/ruby-2.3.0@fab-manager/bin/rake:23:in
load’
/usr/local/rvm/gems/ruby-2.3.0@fab-manager/bin/rake:23:in <main>' /usr/local/rvm/gems/ruby-2.3.0@fab-manager/bin/ruby_executable_hooks:15:in
eval’
/usr/local/rvm/gems/ruby-2.3.0@fab-manager/bin/ruby_executable_hooks:15:in `’
what i have to do ?