-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
no such file to load -- glib2.so #81
Comments
Hi @Skyblues, Umm,... strange. How did you install Green Shoes? If you installed Green Shoes by The following is the list of gems on my Windows 7. C:\tmp>ruby -v ruby 1.9.3p448 (2013-06-27) [i386-mingw32] C:\tmp>gem list *** LOCAL GEMS *** atk (2.0.2 x86-mingw32) bigdecimal (1.1.0) cairo (1.12.6 x86-mingw32) gdk_pixbuf2 (2.0.2 x86-mingw32) glib2 (2.0.2 x86-mingw32) green_shoes (1.1.374) gtk2 (2.0.2 x86-mingw32) io-console (0.3) json (1.5.5) minitest (2.5.1) pango (2.0.2 x86-mingw32) pkg-config (1.1.4) rake (0.9.2.2) rdoc (3.9.5) |
Hi ashbb, Thanks for replying, I installed using gem install green_shoes. I checked all the gems you mentioned and the following two were missing: bigdecimal was missing io-console was missing but, apparently, it needs ruby 1.9.3 I also need 'win32ole', 'serialport', 'prawn'. I have been wanting to wrap some of my Ruby programs in a GUI wrapper. I tried wxRuby and although it was nice, when I used OCRA to package it up, it was waaaaaay too slow. So, I tried Shoes which I really liked but, no dice, I can't use the gems I need mentioned above. So I wanted to try green_shoes so I could use the gems I need and package it up with OCRA so would really like to find a solution. Is there a way I can run two versions of Ruby on my machine? The rest were there: Thank you, I really appreciate your help, |
Ok, just as an experiment, I installed ruby-1.9.3-p448, green_shoes and my other needed gems and all seems to works fine. The problem is (and now I remember why I couldn't use ruby-1.9.3) OCRA won't work with ruby-1.9.3. At the end of the OCRA compile, I get the following error: "lzma.exe is not a valid Win32 application." Any suggestions? I really want to get this to work. Thanks, |
Hi Jim, I found my old environment with ruby 1.9.2. C:\tmp>ruby -v ruby 1.9.2p290 (2011-07-09) [i386-mingw32] C:\tmp>gem list *** LOCAL GEMS *** atk (1.0.4 x86-mingw32) bundler (1.0.18) cairo (1.10.1 x86-mingw32) gdk_pixbuf2 (1.0.4 x86-mingw32) git (1.2.5) glib2 (1.0.4 x86-mingw32) green_shoes (1.0.322) gtk2 (1.0.4 x86-mingw32) jeweler (1.6.4) minitest (1.6.0) pango (1.0.4 x86-mingw32) pkg-config (1.1.2) rake (0.8.7) rdoc (2.5.8) rubygems-update (1.8.10) I've not tried the latest version of Green Shoes, though. |
Greetings,
I was trying out Red Shoes but discovered that I can not "require" a few gems I will need for my programs (serialport, prawn) so I decided to try green_shoes. I installed green_shoes and when I ran the 'welcome' script, I get the following error:
"no such file to load -- glib2.so"
Here is the script I am running:
require 'green_shoes'
Shoes.app do
para "Welcome to Shoes"
end
I am using the following:
Windows 7
ruby 1.9.2p290 (2011-07-09) [i386-mingw32]
green_shoes (1.1.374)
gtk2 (2.0.2 x86-mingw32)
Here is the entire error:
no such file to load -- glib2.so
D:/Development/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
'require' D:/Development/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
require'D:/Development/Ruby192/lib/ruby/gems/1.9.1/gems/glib2-2.0.2-x86-mingw32/lib/glib2.rb:101:in
rescue in <top (required)>' D:/Development/Ruby192/lib/ruby/gems/1.9.1/gems/glib2-2.0.2-x86-mingw32/lib/glib2.rb:97:in
<top (required)>'D:/Development/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
require' D:/Development/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
require'D:/Development/Ruby192/lib/ruby/gems/1.9.1/gems/pango-2.0.2-x86-mingw32/lib/pango.rb:9:in
<top (required)>' D:/Development/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
require'D:/Development/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
require' D:/Development/Ruby192/lib/ruby/gems/1.9.1/gems/green_shoes-1.1.374/lib/green_shoes.rb:4:in
<top (required)>'D:/Development/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:57:in
require' D:/Development/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:57:in
rescue in require'D:/Development/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:35:in
require' G:/scripts/shoes/test-3.rb:1:in
D:/Development/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
require': no such file to load -- glib2.so (LoadError) from D:/Development/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
require'from D:/Development/Ruby192/lib/ruby/gems/1.9.1/gems/glib2-2.0.2-x86-mingw32/lib/glib2.rb:101:in
rescue in <top (required)>' from D:/Development/Ruby192/lib/ruby/gems/1.9.1/gems/glib2-2.0.2-x86-mingw32/lib/glib2.rb:97:in
<top (required)>'from D:/Development/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
require' from D:/Development/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
require'from D:/Development/Ruby192/lib/ruby/gems/1.9.1/gems/pango-2.0.2-x86-mingw32/lib/pango.rb:9:in
<top (required)>' from D:/Development/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
require'from D:/Development/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
require' from D:/Development/Ruby192/lib/ruby/gems/1.9.1/gems/green_shoes-1.1.374/lib/green_shoes.rb:4:in
<top (required)>'from D:/Development/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:57:in
require' from D:/Development/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:57:in
rescue in require'from D:/Development/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:35:in
require' from G:/shoes/test-3.rb:1:in
'Thank you for the help,
Jim
The text was updated successfully, but these errors were encountered: