`vagrant up` error message on "ohai" gem

==> default: stdin: is not a tty ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/ohai-7.0.4/lib/ohai/loader.rb:188: warning: character class has \[\' without escape ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/ohai-7.0.4/lib/ohai/loader.rb:188: warning: regexp has `]\' without escape`

I think the first line is its own error unrelated to the "ohai" gem error, but I added it in there, just in case. It appears twice, once earlier on, then again right before the "ohai" gem error.

Sorry You must be a logged in, registered user to answer a question.

Answers

I've read elsewhere ( https://github.com/mitchellh/vagrant/issues/1673 ) that your first error occurs due to a bug in Ubunto, and that it is safe to ignore the error message.

I'm experiencing the same other two warnings as well: ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/ohai-7.0.4/lib/ohai/loader.rb:188: warning: character class has [' without escape ==> default: /opt/vagrant_ruby/lib/ruby/gems/1.8/gems/ohai-7.0.4/lib/ohai/loader.rb:188: warning: regexp has]' without escape

If you've fixed them, let me know!

Gah, it's really annoying that I can't edit the question, as I have incorrectly escaped characters.