jerome jerome
2013-Aug-04 10:36 UTC
simply install and use ruby and wxruby is it possible ?
hello, i followed the way of install wxruby by gem method... but not works for me. I search and download by sourgeforge and install the downloaded gem (2.0.1), but the installation works... but really not in fact... when try to use it in ruby code: "/Library/Ruby/Gems/1.8/gems/wxruby-2.0.1-universal-darwin-9/lib/wxruby2.bundle: dlopen(/Library/Ruby/Gems/1.8/gems/wxruby-2.0.1-universal-darwin-9/lib/wxruby2.bundle, 9): no suitable image found. Did find: (LoadError) /Library/Ruby/Gems/1.8/gems/wxruby-2.0.1-universal-darwin-9/lib/wxruby2.bundle: no matching architecture in universal wrapper - /Library/Ruby/Gems/1.8/gems/wxruby-2.0.1-universal-darwin-9/lib/wxruby2.bundle from /Library/Ruby/Site/1.8/rubygems/core_ext/kernel_require.rb:51:in `require'' from /Library/Ruby/Gems/1.8/gems/wxruby-2.0.1-universal-darwin-9/lib/wx.rb:12 from /Library/Ruby/Site/1.8/rubygems/core_ext/kernel_require.rb:116:in `gem_original_require'' from /Library/Ruby/Site/1.8/rubygems/core_ext/kernel_require.rb:116:in `require'' from hello.rb:3 " so... i search on my osx-10.6.8 system and see that it is really like have no sense: "> which -a ruby => /usr/bin//ruby (i''ve tryed to rm and ln this for take of the double /, but always same result... i don''t understand what''s happen here...)>which -a gem=> /usr/bin//gem>gem env | grep ''RUBY EXECUTABLE''- RUBY EXECUTABLE: /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby>sudo find / -name "rubygems" -print=> /Applications/programmation/Aptana Studio 3/plugins/org.jruby_1.6.0.1300281734/lib/ruby/site_ruby/1.8/rubygems /Applications/programmation/Aptana Studio 3/plugins/org.jruby_1.6.4.1331328108/lib/ruby/site_ruby/1.8/rubygems /Applications/programmation/Unity/MonoDevelop.app/Contents/Frameworks/Mono.framework/Versions/2.10.2/lib/ironruby/Lib/ruby/1.9.1/rubygems find: /dev/fd/3: Not a directory find: /dev/fd/4: Not a directory /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems /Library/Frameworks/MacRuby.framework/Versions/0.11/usr/lib/ruby/1.9.2/rubygems /Library/Frameworks/MacRuby.framework/Versions/0.8/usr/lib/ruby/1.9.2/rubygems /Library/Ruby/Gems/1.8/gems/rubygems-update-1.8.1/lib/rubygems /Library/Ruby/Gems/1.8/gems/rubygems-update-1.8.1/test/rubygems /Library/Ruby/Gems/1.8/gems/rubygems-update-1.8.1/test/rubygems/rubygems /Library/Ruby/Gems/1.8/gems/rubygems-update-2.0.6/lib/rubygems /Library/Ruby/Gems/1.8/gems/rubygems-update-2.0.6/test/rubygems /Library/Ruby/Gems/1.8/gems/rubygems-update-2.0.6/test/rubygems/rubygems /Library/Ruby/Site/1.8/rubygems /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems /Users/jeromelanteri/Library/Application Support/NetBeans/7.3/jruby/lib/ruby/shared/rubygems /Users/jeromelanteri/Library/Application Support/NetBeans/7.3/update/backup/netbeans/jruby/lib/ruby/shared/rubygems so... i no understand nothing. i search on the google (who gives me lot of old link like 2009 posts) and never find somethng clear for me or which can resolve my poroblem. I think i have many ruby (two versus, 1.9.2 and official apple 1.8.something), many gems files... everywhere... looks like it is not my computer and i don''t know how to erase all the bad ruby and gems for only have the right ruby and gems and also wxruby module working simply. lot of time used and lose to follow a way (gem install or port install mode) without having great result, but only have more wrong thinks everywhere (incredible !). is there someone here able to help me for erase all this bullshit and make a great hand installation of ruby and wxruby (and rubygem if works) ? thanks. -- Posted via http://www.ruby-forum.com/.
Bonjour, Je suis actuellement en conges. Je prendrai connaissance de votre message a partir du 19 aout et vous contacterai des que possible. Cordialement
Tetsuya YUASA
2013-Aug-04 13:09 UTC
Re: simply install and use ruby and wxruby is it possible ?
Hi jerome, I recommend you to use rbenv that provide you a environment of multiple Ruby versions. https://github.com/sstephenson/rbenv Probably you don''t need uninstall Rubies and gems. That will be simply ignored. And you can check the version by using following command. $ ruby -v $ gem -v By the way, you must not install a gem wxruby, but wxruby-ruby19 if you use newer version than Ruby 1.9. I hope it helps. -- Tetsuya Yuasa On Sun, Aug 4, 2013 at 7:36 PM, jerome jerome <lists@ruby-forum.com> wrote:> hello, > i followed the way of install wxruby by gem method... but not works for > me. > I search and download by sourgeforge and install the downloaded gem > (2.0.1), but the installation works... but really not in fact... when > try to use it in ruby code: > > "/Library/Ruby/Gems/1.8/gems/wxruby-2.0.1-universal-darwin-9/lib/wxruby2.bundle: > > dlopen(/Library/Ruby/Gems/1.8/gems/wxruby-2.0.1-universal-darwin-9/lib/wxruby2.bundle, > 9): no suitable image found. Did find: (LoadError) > > /Library/Ruby/Gems/1.8/gems/wxruby-2.0.1-universal-darwin-9/lib/wxruby2.bundle: > no matching architecture in universal wrapper - > > /Library/Ruby/Gems/1.8/gems/wxruby-2.0.1-universal-darwin-9/lib/wxruby2.bundle > from /Library/Ruby/Site/1.8/rubygems/core_ext/kernel_require.rb:51:in > `require'' > from > /Library/Ruby/Gems/1.8/gems/wxruby-2.0.1-universal-darwin-9/lib/wx.rb:12 > from /Library/Ruby/Site/1.8/rubygems/core_ext/kernel_require.rb:116:in > `gem_original_require'' > from /Library/Ruby/Site/1.8/rubygems/core_ext/kernel_require.rb:116:in > `require'' > from hello.rb:3 > " > > so... i search on my osx-10.6.8 system and see that it is really like > have no sense: > > "> which -a ruby > => /usr/bin//ruby (i''ve tryed to rm and ln this for take of the double > /, but always same result... i don''t understand what''s happen here...) > > >which -a gem > => /usr/bin//gem > > >gem env | grep ''RUBY EXECUTABLE'' > - RUBY EXECUTABLE: > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby > > >sudo find / -name "rubygems" -print > > => /Applications/programmation/Aptana Studio > 3/plugins/org.jruby_1.6.0.1300281734/lib/ruby/site_ruby/1.8/rubygems > /Applications/programmation/Aptana Studio > 3/plugins/org.jruby_1.6.4.1331328108/lib/ruby/site_ruby/1.8/rubygems > > /Applications/programmation/Unity/MonoDevelop.app/Contents/Frameworks/Mono.framework/Versions/2.10.2/lib/ironruby/Lib/ruby/1.9.1/rubygems > find: /dev/fd/3: Not a directory > find: /dev/fd/4: Not a directory > > /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems > > /Library/Frameworks/MacRuby.framework/Versions/0.11/usr/lib/ruby/1.9.2/rubygems > > /Library/Frameworks/MacRuby.framework/Versions/0.8/usr/lib/ruby/1.9.2/rubygems > /Library/Ruby/Gems/1.8/gems/rubygems-update-1.8.1/lib/rubygems > /Library/Ruby/Gems/1.8/gems/rubygems-update-1.8.1/test/rubygems > /Library/Ruby/Gems/1.8/gems/rubygems-update-1.8.1/test/rubygems/rubygems > /Library/Ruby/Gems/1.8/gems/rubygems-update-2.0.6/lib/rubygems > /Library/Ruby/Gems/1.8/gems/rubygems-update-2.0.6/test/rubygems > /Library/Ruby/Gems/1.8/gems/rubygems-update-2.0.6/test/rubygems/rubygems > /Library/Ruby/Site/1.8/rubygems > > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems > /Users/jeromelanteri/Library/Application > Support/NetBeans/7.3/jruby/lib/ruby/shared/rubygems > /Users/jeromelanteri/Library/Application > Support/NetBeans/7.3/update/backup/netbeans/jruby/lib/ruby/shared/rubygems > > > so... i no understand nothing. > i search on the google (who gives me lot of old link like 2009 posts) > and never find somethng clear for me or which can resolve my poroblem. > > I think i have many ruby (two versus, 1.9.2 and official apple > 1.8.something), many gems files... everywhere... looks like it is not my > computer and i don''t know how to erase all the bad ruby and gems for > only have the right ruby and gems and also wxruby module working simply. > > lot of time used and lose to follow a way (gem install or port install > mode) without having great result, but only have more wrong thinks > everywhere (incredible !). > > is there someone here able to help me for erase all this bullshit and > make a great hand installation of ruby and wxruby (and rubygem if works) > ? > > thanks. > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > wxruby-users mailing list > wxruby-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/wxruby-users >_______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
Bonjour, Je suis actuellement en conges. Je prendrai connaissance de votre message a partir du 19 aout et vous contacterai des que possible. Cordialement
Bonjour, Je suis actuellement en conges. Je prendrai connaissance de votre message a partir du 19 aout et vous contacterai des que possible. Cordialement
Bonjour, Je suis actuellement en conges. Je prendrai connaissance de votre message a partir du 19 aout et vous contacterai des que possible. Cordialement
jerome jerome
2013-Aug-05 09:29 UTC
Re: simply install and use ruby and wxruby is it possible ?
thanks for answer Tetsuya, don''t want let all the bad ruby other lonk, just because i would like that my computer will not be a dirty trash. I''m not in the microsoft spririt, and don''t want any bullshit who serve nothing, data pollution or redondant wich take many places for absolutly nothing logic inside... now i try first to install via "railsinstaller-1.0.4-osx-10.6" and it is not just clic and wait... i just need to create by myself a directory in /private/etc/ (profile.d) and change profile.d to profile.e for this would be possible (so... this package isn''t really ready for run on osx-10.6, because if you not do this, it will be impossible to installl the package...). I hope this will be work this time, because too much time loose for bad installation package, bad linked and dirty codes install files... seems like not really ready in fact. if really know how to clean my computer and trash all the F ck ng unsed bad ruby or other wrong way or code inside my computer, i will be very happy to learn this. thanks again. -- Posted via http://www.ruby-forum.com/.
Bonjour, Je suis actuellement en conges. Je prendrai connaissance de votre message a partir du 19 aout et vous contacterai des que possible. Cordialement
Bonjour, Je suis actuellement en conges. Je prendrai connaissance de votre message a partir du 19 aout et vous contacterai des que possible. Cordialement
Will Merrell
2013-Aug-05 13:11 UTC
Re: simply install and use ruby and wxruby is it possible ?
I just went through installing wxruby and getting it to work. You are right, it is much harder than it should be. The main thing is that the version you install must match the ruby version you are using. ruby 1.8x use wxruby gem ruby1.9x use wxruby-ruby19 ruby2.x There isn''t one So make sure you unistall all old versions of wxruby, make sure you have a working version of ruby 1.9x (use ruby -v to check) and then install wxruby-ruby19 That got me working, although I had to do it several times to get everything to line up properly. -- Will On 08/05/2013 05:29 AM, jerome jerome wrote:> thanks for answer Tetsuya, don''t want let all the bad ruby other lonk, > just because i would like that my computer will not be a dirty trash. > I''m not in the microsoft spririt, and don''t want any bullshit who serve > nothing, data pollution or redondant wich take many places for absolutly > nothing logic inside... > > now i try first to install via "railsinstaller-1.0.4-osx-10.6" and it is > not just clic and wait... i just need to create by myself a directory in > /private/etc/ (profile.d) and change profile.d to profile.e for this > would be possible (so... this package isn''t really ready for run on > osx-10.6, because if you not do this, it will be impossible to installl > the package...). > > I hope this will be work this time, because too much time loose for bad > installation package, bad linked and dirty codes install files... seems > like not really ready in fact. > > if really know how to clean my computer and trash all the F ck ng unsed > bad ruby or other wrong way or code inside my computer, i will be very > happy to learn this. > > thanks again. >
Bonjour, Je suis actuellement en conges. Je prendrai connaissance de votre message a partir du 19 aout et vous contacterai des que possible. Cordialement
jerome jerome
2013-Aug-06 00:51 UTC
Re: simply install and use ruby and wxruby is it possible ?
Will Merrell wrote in post #1117769:> I just went through installing wxruby and getting it to work. You are > right, it is much harder than it should be. The main thing is that the > version you install must match the ruby version you are using. > ruby 1.8x use wxruby gem > ruby1.9x use wxruby-ruby19 > ruby2.x There isn''t one > > So make sure you unistall all old versions of wxruby, make sure you have > a working version of ruby 1.9x (use ruby -v to check) and then install > wxruby-ruby19 > > That got me working, although I had to do it several times to get > everything to line up properly. > > -- Willthanks Will, i just arrived installed rails, ruby, rvm, etc... in last version. Also, arrived to clean other old gems. BUT when i try with rvm or gem to install ruby-1.9.3 (seems to be patch 448), that said me that can not resolve host (http or ftp same...). Sure, it isn''t my internet connection, because i arrived to go and used gem out of this. Seems to be the server or the files not here... really not lucky !! Also, i would like to know something... which arch of osx are you ? I''m on i386 arch compiled, and i think this will add some other problem for using all correctly. pfff.... sure, install ruby and wx on osx isn''t really clear and clean way to do. too much incredible problems. thanks for your help Will. -- Posted via http://www.ruby-forum.com/.
jerome jerome
2013-Aug-08 00:01 UTC
Re: simply install and use ruby and wxruby is it possible ?
ok, with other help here and on irc channel, i find the way... (and now the servers works) 0 update to the last rvm (i do it with jexerlybox) 1 delete all the old bad sources of ruby-1.9.3 from github (bad because they are not UNIVERSAL, but only for x86_64 arch...)where are on /Users/"Your Home dir"/.rvm/src and also /Users/"your home dir"/.rvm/archive 2 CONFIGURE_OPTS="--with-arch=i386" CFLAGS="-arch i386" LDFLAGS="-arch i386" rvm pkg install libyaml (you need this...) 3 rvm get head 4 rvm reload 5 rvm install ruby-1.9.3-p448 -C --with-arch=i386 6 rvm use 1.9.3 7 download this: http://rubyforge.org/frs/download.php/63385/wxruby-ruby19-2.0.1-x86-darwin-9.gem 8 gem list -l (for see if you are other wxruby installed) 8.1 if you have some, erase them (gem uninstall "the bads files) 9 gem install "the gem wxruby files you just download" NOW, that''s work for me. so... you can see here the solution: https://www.ruby-forum.com/topic/212707#1117980 thanks everybody for reading and help, have a good day. -- Posted via http://www.ruby-forum.com/.