0

I'm trying to run rails g controller app and I receive this error in terminal
also no 'rails ----' commands work they all receive this error

here

em install minitest
    WARNING: Nokogiri was built against LibXML version 2.7.3, but has dynamically loaded 2.7.8
    Could not open library 'libgtk-x11-2.0': dlopen(libgtk-x11-2.0, 13): image not found.
    Could not open library 'libgtk-x11-2.0.dylib': dlopen(libgtk-x11-2.0.dylib, 13): image not found.
    Could not open library 'libgtk-x11-2.0.so.0': dlopen(libgtk-x11-2.0.so.0, 13): image not found.
    Could not open library 'libgtk-x11-2.0.so.0.dylib': dlopen(libgtk-x11-2.0.so.0.dylib, 13): image not found.
    Could not open library 'libgtk-x11-2.0.so': dlopen(libgtk-x11-2.0.so, 13): image not found.
    Could not open library 'libgtk-x11-2.0.so.dylib': dlopen(libgtk-x11-2.0.so.dylib, 13): image not found.
    Could not open library 'libgtk-3': dlopen(libgtk-3, 13): image not found.
    Could not open library 'libgtk-3.dylib': dlopen(libgtk-3.dylib, 13): image not found.
    Could not open library 'libgtk-3.so.0': dlopen(libgtk-3.so.0, 13): image not found.
    Could not open library 'libgtk-3.so.0.dylib': dlopen(libgtk-3.so.0.dylib, 13): image not found.
    Could not open library 'libgtk-3.so': dlopen(libgtk-3.so, 13): image not found.
    Could not open library 'libgtk-3.so.dylib': dlopen(libgtk-3.so.dylib, 13): image not found
Ethan
  • 1
  • 2
  • 1
    have you seen this: http://stackoverflow.com/questions/5901400/warning-nokogiri-was-built-against-libxml-version-2-7-7-but-has-dynamically-lo – David West Jun 02 '13 at 21:55

1 Answers1

0

try gem uninstall nokogiri then gem install nokogiri. Or try gem update nokogiri. Also, try looking at this post Image Not Found Errors after Upgrade to Rails 3.1, how to fix? .

Community
  • 1
  • 1
David West
  • 2,256
  • 6
  • 32
  • 62
  • still get the error: 'WARNING: Nokogiri was built against LibXML version 2.7.3, but has dynamically loaded 2.7.8 Could not open library 'libgtk-x11-2.0': dlopen(libgtk-x11-2.0, 13): image not found.' – Ethan Jun 02 '13 at 22:01
  • still receive Could not open library 'libgtk-x11-2.0': dlopen(libgtk-x11-2.0, 13): image not found. – Ethan Jun 02 '13 at 22:04
  • also nothing to update – Ethan Jun 02 '13 at 22:12