No errors found after upgrading to Rails 3.1, how to fix it?

I get this warning every time I load my rail server after I upgraded to rails 3.1 with rails 3.0. Not sure what it is. I tried reinstalling all of rvm and ruby โ€‹โ€‹into all my gems. I assume that some stone is not supported in rails 3.1, but I can not find which one or for some reason I do not have dependencies installed for a particular gem.

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 
+7
source share
1 answer

This comes from using the libnotify in OSX. You can get around this by specifying the OS in your Gemfile like this:

 gem 'libnotify' if /linux/ =~ RUBY_PLATFORM gem 'growl' if /darwin/ =~ RUBY_PLATFORM 
+21
source

All Articles