K
K
Ksenia2018-11-30 10:56:42
Ruby on Rails
Ksenia, 2018-11-30 10:56:42

Ruby on Rails server not starting, how to fix?

When starting the rails server , this is the response it gives:

[email protected]:~/workspace/hello_app$ rails server
Traceback (most recent call last):
  10: from bin/rails:4:in `<main>'
   9: from bin/rails:4:in `require'
   8: from /home/xen/.rvm/gems/ruby-2.5.1/gems/railties-4.2.0/lib/rails/commands.rb:17:in `<top (required)>'
   7: from /home/xen/.rvm/gems/ruby-2.5.1/gems/railties-4.2.0/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
   6: from /home/xen/.rvm/gems/ruby-2.5.1/gems/railties-4.2.0/lib/rails/commands/commands_tasks.rb:73:in `server'
   5: from /home/xen/.rvm/gems/ruby-2.5.1/gems/railties-4.2.0/lib/rails/commands/commands_tasks.rb:123:in `require_command!'
   4: from /home/xen/.rvm/gems/ruby-2.5.1/gems/railties-4.2.0/lib/rails/commands/commands_tasks.rb:123:in `require'
   3: from /home/xen/.rvm/gems/ruby-2.5.1/gems/railties-4.2.0/lib/rails/commands/server.rb:1:in `<top (required)>'
   2: from /home/xen/.rvm/gems/ruby-2.5.1/gems/railties-4.2.0/lib/rails/commands/server.rb:1:in `require'
   1: from /home/xen/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/fileutils.rb:88:in `<top (required)>'
/home/xen/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/fileutils.rb:1500:in `<module:FileUtils>': uninitialized constant FileUtils::OPT_TABLE (NameError)

Tell me, please, what to do?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yuri, 2018-11-30
@modestguy

Try like this:

gem uninstall fileutils
gem update --default

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question