Hello, I have a problem with the installation of openfoodnetwork, I followed the procedure on your page, but when I want to start the server it displays an error,
i can’t install openfoodnework on my local machine i have a bug can you help me? I send you the message that I receive when I start the server,please help me solve the problem thank you
Message Error :
yves@yves-VirtualBox:~$ sudo -i
[sudo] Mot de passe de yves :
root@yves-VirtualBox:~# cd openfoodnetwork
RVM used your Gemfile for selecting Ruby, it is all fine - Heroku does that too,
you can ignore these warnings with ‘rvm rvmrc warning ignore /root/openfoodnetwork/Gemfile’.
To ignore the warning for all files run ‘rvm rvmrc warning ignore allGemfiles’.
Creating alias current for ruby-2.5.8…
Ruby enVironment Manager 1.29.12 (latest) (c) 2009-2020 Michal Papis, Piotr Kuczynski, Wayne E. Seguin
Wrapper
Show/regenerate wrappers.
NOTE: This command delegates to ‘gem wrapper’ => https://github.com/rvm/gem-wrappers
Usage
Show paths and generated wrappers:
rvm wrapper show
Show path to generated wrapper:
rvm wrapper show executable_name
Where executable_name
is something like ruby
or rake
.
It is also possible to generate a wrapper for external scripts that require ruby:
rvm wrapper /full/path/to/script
Where /full/path/to/script
is full path to existing script
Wrappers are generated automatically, but it is possible to rerun the process:
rvm wrapper regenerate
Documentation:
rvm wrapper [help]
For additional documentation please visit https://rvm.io
root@yves-VirtualBox:~/openfoodnetwork# bundle exec rails server
=> Booting Unicorn
=> Rails 5.0.7.2 application starting in development on http://localhost:3000
=> Run rails server -h
for more startup options
Exiting
Traceback (most recent call last):
56: from script/rails:6:in <main>' 55: from script/rails:6:in
require’
54: from /usr/local/rvm/gems/ruby-2.5.8/gems/railties-5.0.7.2/lib/rails/commands.rb:18:in <top (required)>' 53: from /usr/local/rvm/gems/ruby-2.5.8/gems/railties-5.0.7.2/lib/rails/commands/commands_tasks.rb:49:in
run_command!’
52: from /usr/local/rvm/gems/ruby-2.5.8/gems/railties-5.0.7.2/lib/rails/commands/commands_tasks.rb:85:in server' 51: from /usr/local/rvm/gems/ruby-2.5.8/gems/railties-5.0.7.2/lib/rails/commands/commands_tasks.rb:85:in
tap’
50: from /usr/local/rvm/gems/ruby-2.5.8/gems/railties-5.0.7.2/lib/rails/commands/commands_tasks.rb:90:in block in server' 49: from /usr/local/rvm/gems/ruby-2.5.8/gems/railties-5.0.7.2/lib/rails/commands/server.rb:102:in
start’
48: from /usr/local/rvm/gems/ruby-2.5.8/gems/railties-5.0.7.2/lib/rails/commands/server.rb:148:in log_to_stdout' 47: from /usr/local/rvm/gems/ruby-2.5.8/gems/rack-2.2.3/lib/rack/server.rb:422:in
wrapped_app’
46: from /usr/local/rvm/gems/ruby-2.5.8/gems/railties-5.0.7.2/lib/rails/commands/server.rb:84:in app' 45: from /usr/local/rvm/gems/ruby-2.5.8/gems/rack-2.2.3/lib/rack/server.rb:249:in
app’
44: from /usr/local/rvm/gems/ruby-2.5.8/gems/rack-2.2.3/lib/rack/server.rb:349:in build_app_and_options_from_config' 43: from /usr/local/rvm/gems/ruby-2.5.8/gems/rack-2.2.3/lib/rack/builder.rb:66:in
parse_file’
42: from /usr/local/rvm/gems/ruby-2.5.8/gems/rack-2.2.3/lib/rack/builder.rb:105:in load_file' 41: from /usr/local/rvm/gems/ruby-2.5.8/gems/rack-2.2.3/lib/rack/builder.rb:116:in
new_from_string’
40: from /usr/local/rvm/gems/ruby-2.5.8/gems/rack-2.2.3/lib/rack/builder.rb:116:in eval' 39: from /root/openfoodnetwork/config.ru:18:in
block in ’
38: from /usr/local/rvm/gems/ruby-2.5.8/gems/activesupport-5.0.7.2/lib/active_support/dependencies.rb:293:in require' 37: from /usr/local/rvm/gems/ruby-2.5.8/gems/activesupport-5.0.7.2/lib/active_support/dependencies.rb:259:in
load_dependency’
36: from /usr/local/rvm/gems/ruby-2.5.8/gems/activesupport-5.0.7.2/lib/active_support/dependencies.rb:293:in block in require' 35: from /usr/local/rvm/gems/ruby-2.5.8/gems/activesupport-5.0.7.2/lib/active_support/dependencies.rb:293:in
require’
34: from /root/openfoodnetwork/config/environment.rb:5:in <top (required)>' 33: from /usr/local/rvm/gems/ruby-2.5.8/gems/railties-5.0.7.2/lib/rails/railtie.rb:193:in
method_missing’
32: from /usr/local/rvm/gems/ruby-2.5.8/gems/railties-5.0.7.2/lib/rails/railtie.rb:193:in public_send' 31: from /usr/local/rvm/gems/ruby-2.5.8/gems/railties-5.0.7.2/lib/rails/application.rb:352:in
initialize!’
30: from /usr/local/rvm/gems/ruby-2.5.8/gems/railties-5.0.7.2/lib/rails/initializable.rb:54:in run_initializers' 29: from /usr/local/rvm/rubies/ruby-2.5.8/lib/ruby/2.5.0/tsort.rb:205:in
tsort_each’
28: from /usr/local/rvm/rubies/ruby-2.5.8/lib/ruby/2.5.0/tsort.rb:226:in tsort_each' 27: from /usr/local/rvm/rubies/ruby-2.5.8/lib/ruby/2.5.0/tsort.rb:347:in
each_strongly_connected_component’
26: from /usr/local/rvm/rubies/ruby-2.5.8/lib/ruby/2.5.0/tsort.rb:347:in call' 25: from /usr/local/rvm/rubies/ruby-2.5.8/lib/ruby/2.5.0/tsort.rb:347:in
each’
24: from /usr/local/rvm/rubies/ruby-2.5.8/lib/ruby/2.5.0/tsort.rb:349:in block in each_strongly_connected_component' 23: from /usr/local/rvm/rubies/ruby-2.5.8/lib/ruby/2.5.0/tsort.rb:415:in
each_strongly_connected_component_from’
22: from /usr/local/rvm/rubies/ruby-2.5.8/lib/ruby/2.5.0/tsort.rb:415:in call' 21: from /usr/local/rvm/gems/ruby-2.5.8/gems/railties-5.0.7.2/lib/rails/initializable.rb:44:in
tsort_each_child’
20: from /usr/local/rvm/gems/ruby-2.5.8/gems/railties-5.0.7.2/lib/rails/initializable.rb:44:in each' 19: from /usr/local/rvm/rubies/ruby-2.5.8/lib/ruby/2.5.0/tsort.rb:421:in
block in each_strongly_connected_component_from’
18: from /usr/local/rvm/rubies/ruby-2.5.8/lib/ruby/2.5.0/tsort.rb:431:in each_strongly_connected_component_from' 17: from /usr/local/rvm/rubies/ruby-2.5.8/lib/ruby/2.5.0/tsort.rb:422:in
block (2 levels) in each_strongly_connected_component_from’
16: from /usr/local/rvm/rubies/ruby-2.5.8/lib/ruby/2.5.0/tsort.rb:350:in block (2 levels) in each_strongly_connected_component' 15: from /usr/local/rvm/rubies/ruby-2.5.8/lib/ruby/2.5.0/tsort.rb:228:in
block in tsort_each’
14: from /usr/local/rvm/gems/ruby-2.5.8/gems/railties-5.0.7.2/lib/rails/initializable.rb:55:in block in run_initializers' 13: from /usr/local/rvm/gems/ruby-2.5.8/gems/railties-5.0.7.2/lib/rails/initializable.rb:30:in
run’
12: from /usr/local/rvm/gems/ruby-2.5.8/gems/railties-5.0.7.2/lib/rails/initializable.rb:30:in instance_exec' 11: from /usr/local/rvm/gems/ruby-2.5.8/gems/railties-5.0.7.2/lib/rails/engine.rb:611:in
block in class:Engine’
10: from /usr/local/rvm/gems/ruby-2.5.8/gems/railties-5.0.7.2/lib/rails/engine.rb:611:in each' 9: from /usr/local/rvm/gems/ruby-2.5.8/gems/railties-5.0.7.2/lib/rails/engine.rb:612:in
block (2 levels) in class:Engine’
8: from /usr/local/rvm/gems/ruby-2.5.8/gems/railties-5.0.7.2/lib/rails/engine.rb:647:in load_config_initializer' 7: from /usr/local/rvm/gems/ruby-2.5.8/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:166:in
instrument’
6: from /usr/local/rvm/gems/ruby-2.5.8/gems/railties-5.0.7.2/lib/rails/engine.rb:648:in block in load_config_initializer' 5: from /usr/local/rvm/gems/ruby-2.5.8/gems/activesupport-5.0.7.2/lib/active_support/dependencies.rb:287:in
load’
4: from /usr/local/rvm/gems/ruby-2.5.8/gems/activesupport-5.0.7.2/lib/active_support/dependencies.rb:259:in load_dependency' 3: from /usr/local/rvm/gems/ruby-2.5.8/gems/activesupport-5.0.7.2/lib/active_support/dependencies.rb:287:in
block in load’
2: from /usr/local/rvm/gems/ruby-2.5.8/gems/activesupport-5.0.7.2/lib/active_support/dependencies.rb:287:in load' 1: from /root/openfoodnetwork/config/initializers/money.rb:2:in
<top (required)>’
/usr/local/rvm/gems/ruby-2.5.8/gems/money-6.14.1/lib/money/currency.rb:40:in `new’: Unknown currency ‘’ (Money::Currency::UnknownCurrency)
root@yves-VirtualBox:~/openfoodnetwork#