Installed Rails 5. Thought things were fine, but can't create a db or start server. I get this error:
DEPRECATION WARNING: Accessing mime types via constants is deprecated. Please change:
Mime::HTML
to:
Mime[:html] . (called from at /usr/local/rvm/gems/ruby-2.2.3/gems/web-console-2.2.1/lib/web_console/request.rb:7) DEPRECATION WARNING: Accessing mime types via constants is deprecated. Please change:
Mime::TEXT
to:
Mime[:text] . (called from at /usr/local/rvm/gems/ruby-2.2.3/gems/web-console-2.2.1/lib/web_console/request.rb:7) DEPRECATION WARNING: Accessing mime types via constants is deprecated. Please change:
Mime::URL_ENCODED_FORM
to:
Mime[:url_encoded_form] . (called from at /usr/local/rvm/gems/ruby-2.2.3/gems/web-console-2.2.1/lib/web_console/request.rb:7)
Not quite sure what to do here. Not sure where to change Mime::HTML
. Any ideas as to why I'm getting this error? Or how to fix it?
change Gemfile:
gem 'web-console', '~> 3.0'
bundle update
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With