From elitecoder.mukul at gmail.com Sun Oct 3 20:50:14 2010 From: elitecoder.mukul at gmail.com (Mukul Sharma) Date: Sun, 3 Oct 2010 20:50:14 -0400 Subject: [fxruby-users] Ubuntu - Fxruby - require issue Message-ID: Hi Everyone, Just decided to play around with Fxruby and followed the installation steps found @ http://github.com/lylejohnson/fxruby/wiki/Setting-Up-a-Linux-Build-Environment Everything went alright but "require 'fox16'" fails in my script. I have already tried running a "require 'rubygems'" before calling for "require 'fox16'". It still fails with the following error irb(main):001:0> require 'rubygems' => true irb(main):002:0> require 'fox16' LoadError: no such file to load -- fox16.so from /usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require' from /usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in `require' from /var/lib/gems/1.8/gems/fxruby-1.6.20-universal-darwin-10/lib/fox16.rb:6 from /usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require' from /usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in `require' from (irb):2 Any help or ideas are appreciated. Please help. Thanks and Regards, Mukul Sharma "A person who runs from responsibilities, runs from life." -------------- next part -------------- An HTML attachment was scrubbed... URL: From ralphs at dos32.com Sun Oct 3 22:09:19 2010 From: ralphs at dos32.com (Ralph Shnelvar) Date: Sun, 3 Oct 2010 20:09:19 -0600 Subject: [fxruby-users] Ubuntu - Fxruby - require issue In-Reply-To: References: Message-ID: <1196315330.20101003200919@dos32.com> Mukul, Sunday, October 3, 2010, 6:50:14 PM, you wrote: Hi Everyone, Just decided to play around with Fxruby and followed the installation steps found @ http://github.com/lylejohnson/fxruby/wiki/Setting-Up-a-Linux-Build-Environment Everything went alright but "require 'fox16'" fails in my script. I have already tried running a "require 'rubygems'" before calling for "require 'fox16'". It still fails with the following error irb(main):001:0> require 'rubygems' => true irb(main):002:0> require 'fox16' LoadError: no such file to load -- fox16.so from /usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require' from /usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in `require' from /var/lib/gems/1.8/gems/fxruby-1.6.20-universal-darwin-10/lib/fox16.rb:6 from /usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require' from /usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in `require' from (irb):2 Any help or ideas are appreciated. Please help. Thanks and Regards, Mukul Sharma I know this isn't going to help you, but I had the exact same problem under Windows and ... dammit ... I don't remember how I fixed it. I vaguely remember having to download and install the latest version of FXRuby ... but I am not sure. I am sorry. I am running under Windows and this is what I have that works .... #!/usr/bin/env ruby @@rdebug = false # puts $0 @@rdebug = true if $0.to_s.end_with? "rdebug" if @@rdebug require 'rubygems' require 'ruby-debug' Debugger.start end require 'pp' # For pretty printing require 'ftools' # For debugging require 'fox16' require "yaml" include Fox -------------- next part -------------- An HTML attachment was scrubbed... URL: From dglnz at yahoo.com Mon Oct 4 01:50:47 2010 From: dglnz at yahoo.com (dave L) Date: Sun, 3 Oct 2010 22:50:47 -0700 (PDT) Subject: [fxruby-users] Ubuntu - Fxruby - require issue In-Reply-To: References: Message-ID: <38701.78044.qm@web30007.mail.mud.yahoo.com> The error relates to the fact that there is NO PATH to the given file fox16.so. you can add the path into the DOS or CMD environment setting or simply copy and paste the fox16.so / .DLL and put it into the windows directory - c:\windows\system. HTH. ________________________________ From: Mukul Sharma To: fxruby-users at rubyforge.org Sent: Mon, 4 October, 2010 1:50:14 PM Subject: [fxruby-users] Ubuntu - Fxruby - require issue Hi Everyone, Just decided to play around with Fxruby and followed the installation steps found @ http://github.com/lylejohnson/fxruby/wiki/Setting-Up-a-Linux-Build-Environment Everything went alright but "require 'fox16'" fails in my script. I have already tried running a "require 'rubygems'" before calling for "require 'fox16'". It still fails with the following error irb(main):001:0> require 'rubygems' => true irb(main):002:0> require 'fox16' LoadError: no such file to load -- fox16.so from /usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require' from /usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in `require' from /var/lib/gems/1.8/gems/fxruby-1.6.20-universal-darwin-10/lib/fox16.rb:6 from /usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require' from /usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in `require' from (irb):2 Any help or ideas are appreciated. Please help. Thanks and Regards, Mukul Sharma "A person who runs from responsibilities, runs from life." -------------- next part -------------- An HTML attachment was scrubbed... URL: From elitecoder.mukul at gmail.com Mon Oct 4 09:12:27 2010 From: elitecoder.mukul at gmail.com (Mukul Sharma) Date: Mon, 4 Oct 2010 09:12:27 -0400 Subject: [fxruby-users] Ubuntu - Fxruby - require issue (Mukul) Message-ID: Thanks Ralph and Dave, Apparently the problem was entirely unrelated. My rubygems was installed at /var/lib instead of /usr/lib default and thats why fox16.so could not be found. And update of rubygems, fixed the issue. Thanks again for your help. Mukul Sharma "A person who runs from responsibilities, runs from life." On Mon, Oct 4, 2010 at 1:50 AM, wrote: > Send fxruby-users mailing list submissions to > fxruby-users at rubyforge.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://rubyforge.org/mailman/listinfo/fxruby-users > or, via email, send a message with subject or body 'help' to > fxruby-users-request at rubyforge.org > > You can reach the person managing the list at > fxruby-users-owner at rubyforge.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of fxruby-users digest..." > > > Today's Topics: > > 1. FXProgressBar slow update; FXDataTarget (Ralph Shnelvar) > 2. FXMessageBox & Threads (Ralph Shnelvar) > 3. Ubuntu - Fxruby - require issue (Mukul Sharma) > 4. Re: Ubuntu - Fxruby - require issue (Ralph Shnelvar) > 5. Re: Ubuntu - Fxruby - require issue (dave L) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Fri, 24 Sep 2010 06:56:23 -0600 > From: Ralph Shnelvar > To: fxruby-users at rubyforge.org > Subject: [fxruby-users] FXProgressBar slow update; FXDataTarget > Message-ID: <1019198642.20100924065623 at dos32.com> > Content-Type: text/plain; charset="windows-1252" > > This is not a question but a mini-report on an issue (and solution) I had > with FXProgressBar. > > I have some code that puts up an FXProgressBar and then uses > FXDataTarget#value to update the amount of progress. > > I also have an FXLabel object and used FXLabel#text to update the label. > > The LABEL would change "instantly" but the FXProgressBar object being > displayed was very far behind the FXLabel object being displayed. > > The FXProgress bar object reported on the percentage completion of a CPU > intensive thread. > > > I played with priorities. I played with having the CPU intensive thread go > to sleep. > > Nothing worked. > > > > To make a long story short ... the problem is in the FXDataTarget. > > It appears (and this is by observation and not by code inspection) that > FXDataTarget objects get updated somewhat like chores get executed. > > That is, the various objects "connected" to the instantiated FXDataTarget > variable get updated "whenever." > > > Indeed, I am guessing that all the synchronizations occur at SEL_UPDATE > time. SEL_UPDATE on my machine gets triggered about once every 5 seconds > rather that several times a second. > > > Thus, the solution to my problem was to get rid of the FXDataTarget for the > progress bar and do a direct assign to FXProgressBar#progress. > > Works like a champ. > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://rubyforge.org/pipermail/fxruby-users/attachments/20100924/a96d087b/attachment-0001.html > > > > ------------------------------ > > Message: 2 > Date: Mon, 27 Sep 2010 09:44:52 -0600 > From: Ralph Shnelvar > To: fxruby-users at rubyforge.org > Subject: [fxruby-users] FXMessageBox & Threads > Message-ID: <589082004.20100927094452 at dos32.com> > Content-Type: text/plain; charset="windows-1252" > > Is it safe to use FXMessageBox from something other than the main thread? > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://rubyforge.org/pipermail/fxruby-users/attachments/20100927/8f8b0a4c/attachment-0001.html > > > > ------------------------------ > > Message: 3 > Date: Sun, 3 Oct 2010 20:50:14 -0400 > From: Mukul Sharma > To: fxruby-users at rubyforge.org > Subject: [fxruby-users] Ubuntu - Fxruby - require issue > Message-ID: > > Content-Type: text/plain; charset="iso-8859-1" > > Hi Everyone, > > Just decided to play around with Fxruby and followed the installation steps > found @ > > http://github.com/lylejohnson/fxruby/wiki/Setting-Up-a-Linux-Build-Environment > > < > http://github.com/lylejohnson/fxruby/wiki/Setting-Up-a-Linux-Build-Environment > >Everything > went alright but "require 'fox16'" fails in my script. > I have already tried running a "require 'rubygems'" before calling for > "require 'fox16'". It still fails with the following error > > irb(main):001:0> require 'rubygems' > => true > irb(main):002:0> require 'fox16' > LoadError: no such file to load -- fox16.so > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in > `gem_original_require' > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in `require' > from > /var/lib/gems/1.8/gems/fxruby-1.6.20-universal-darwin-10/lib/fox16.rb:6 > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in > `gem_original_require' > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in `require' > from (irb):2 > > Any help or ideas are appreciated. Please help. > > Thanks and Regards, > > Mukul Sharma > > "A person who runs from responsibilities, runs from life." > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://rubyforge.org/pipermail/fxruby-users/attachments/20101003/2d5bff2d/attachment-0001.html > > > > ------------------------------ > > Message: 4 > Date: Sun, 3 Oct 2010 20:09:19 -0600 > From: Ralph Shnelvar > To: Mukul Sharma > Subject: Re: [fxruby-users] Ubuntu - Fxruby - require issue > Message-ID: <1196315330.20101003200919 at dos32.com> > Content-Type: text/plain; charset="iso-8859-1" > > Mukul, > > > > Sunday, October 3, 2010, 6:50:14 PM, you wrote: > > > Hi Everyone, > > Just decided to play around with Fxruby and followed the installation steps > found @ > > > http://github.com/lylejohnson/fxruby/wiki/Setting-Up-a-Linux-Build-Environment > > Everything went alright but "require 'fox16'" fails in my script. > I have already tried running a "require 'rubygems'" before calling for > "require 'fox16'". It still fails with the following error > > irb(main):001:0> require 'rubygems' > => true > irb(main):002:0> require 'fox16' > LoadError: no such file to load -- fox16.so > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in > `gem_original_require' > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in `require' > from > /var/lib/gems/1.8/gems/fxruby-1.6.20-universal-darwin-10/lib/fox16.rb:6 > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in > `gem_original_require' > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in `require' > from (irb):2 > > Any help or ideas are appreciated. Please help. > > Thanks and Regards, > > Mukul Sharma > > > > I know this isn't going to help you, but I had the exact same problem under > Windows and ... dammit ... I don't remember how I fixed it. > > I vaguely remember having to download and install the latest version of > FXRuby ... but I am not sure. I am sorry. > > I am running under Windows and this is what I have that works .... > > > > > #!/usr/bin/env ruby > @@rdebug = false > # puts $0 > @@rdebug = true if $0.to_s.end_with? "rdebug" > > if @@rdebug > require 'rubygems' > require 'ruby-debug' > Debugger.start > end > > require 'pp' # For pretty printing > > require 'ftools' # For debugging > > require 'fox16' > require "yaml" > > include Fox > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://rubyforge.org/pipermail/fxruby-users/attachments/20101003/9d12f516/attachment-0001.html > > > > ------------------------------ > > Message: 5 > Date: Sun, 3 Oct 2010 22:50:47 -0700 (PDT) > From: dave L > To: fxruby-users at rubyforge.org > Subject: Re: [fxruby-users] Ubuntu - Fxruby - require issue > Message-ID: <38701.78044.qm at web30007.mail.mud.yahoo.com> > Content-Type: text/plain; charset="utf-8" > > The error relates to the fact that there is NO PATH to the given file > fox16.so. > > you can add the path into the DOS or CMD environment setting or simply copy > and > paste the fox16.so / .DLL and put it into the windows directory - > c:\windows\system. > > HTH. > > > > > > > ________________________________ > From: Mukul Sharma > To: fxruby-users at rubyforge.org > Sent: Mon, 4 October, 2010 1:50:14 PM > Subject: [fxruby-users] Ubuntu - Fxruby - require issue > > Hi Everyone, > > Just decided to play around with Fxruby and followed the installation steps > found > @ > http://github.com/lylejohnson/fxruby/wiki/Setting-Up-a-Linux-Build-Environment > > Everything went alright but "require 'fox16'" fails in my script. > I have already tried running a "require 'rubygems'" before calling for > "require > 'fox16'". It still fails with the following error > > irb(main):001:0> require 'rubygems' > => true > irb(main):002:0> require 'fox16' > LoadError: no such file to load -- fox16.so > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in > `gem_original_require' > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in `require' > from > /var/lib/gems/1.8/gems/fxruby-1.6.20-universal-darwin-10/lib/fox16.rb:6 > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in > `gem_original_require' > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in `require' > from (irb):2 > > Any help or ideas are appreciated. Please help. > > Thanks and Regards, > > Mukul Sharma > > "A person who runs from responsibilities, runs from life." > > > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://rubyforge.org/pipermail/fxruby-users/attachments/20101003/14ee62ed/attachment.html > > > > ------------------------------ > > _______________________________________________ > fxruby-users mailing list > fxruby-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/fxruby-users > > End of fxruby-users Digest, Vol 72, Issue 1 > ******************************************* > -------------- next part -------------- An HTML attachment was scrubbed... URL: From elitecoder.mukul at gmail.com Mon Oct 4 09:12:27 2010 From: elitecoder.mukul at gmail.com (Mukul Sharma) Date: Mon, 4 Oct 2010 09:12:27 -0400 Subject: [fxruby-users] Ubuntu - Fxruby - require issue (Mukul) Message-ID: Thanks Ralph and Dave, Apparently the problem was entirely unrelated. My rubygems was installed at /var/lib instead of /usr/lib default and thats why fox16.so could not be found. And update of rubygems, fixed the issue. Thanks again for your help. Mukul Sharma "A person who runs from responsibilities, runs from life." On Mon, Oct 4, 2010 at 1:50 AM, wrote: > Send fxruby-users mailing list submissions to > fxruby-users at rubyforge.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://rubyforge.org/mailman/listinfo/fxruby-users > or, via email, send a message with subject or body 'help' to > fxruby-users-request at rubyforge.org > > You can reach the person managing the list at > fxruby-users-owner at rubyforge.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of fxruby-users digest..." > > > Today's Topics: > > 1. FXProgressBar slow update; FXDataTarget (Ralph Shnelvar) > 2. FXMessageBox & Threads (Ralph Shnelvar) > 3. Ubuntu - Fxruby - require issue (Mukul Sharma) > 4. Re: Ubuntu - Fxruby - require issue (Ralph Shnelvar) > 5. Re: Ubuntu - Fxruby - require issue (dave L) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Fri, 24 Sep 2010 06:56:23 -0600 > From: Ralph Shnelvar > To: fxruby-users at rubyforge.org > Subject: [fxruby-users] FXProgressBar slow update; FXDataTarget > Message-ID: <1019198642.20100924065623 at dos32.com> > Content-Type: text/plain; charset="windows-1252" > > This is not a question but a mini-report on an issue (and solution) I had > with FXProgressBar. > > I have some code that puts up an FXProgressBar and then uses > FXDataTarget#value to update the amount of progress. > > I also have an FXLabel object and used FXLabel#text to update the label. > > The LABEL would change "instantly" but the FXProgressBar object being > displayed was very far behind the FXLabel object being displayed. > > The FXProgress bar object reported on the percentage completion of a CPU > intensive thread. > > > I played with priorities. I played with having the CPU intensive thread go > to sleep. > > Nothing worked. > > > > To make a long story short ... the problem is in the FXDataTarget. > > It appears (and this is by observation and not by code inspection) that > FXDataTarget objects get updated somewhat like chores get executed. > > That is, the various objects "connected" to the instantiated FXDataTarget > variable get updated "whenever." > > > Indeed, I am guessing that all the synchronizations occur at SEL_UPDATE > time. SEL_UPDATE on my machine gets triggered about once every 5 seconds > rather that several times a second. > > > Thus, the solution to my problem was to get rid of the FXDataTarget for the > progress bar and do a direct assign to FXProgressBar#progress. > > Works like a champ. > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://rubyforge.org/pipermail/fxruby-users/attachments/20100924/a96d087b/attachment-0001.html > > > > ------------------------------ > > Message: 2 > Date: Mon, 27 Sep 2010 09:44:52 -0600 > From: Ralph Shnelvar > To: fxruby-users at rubyforge.org > Subject: [fxruby-users] FXMessageBox & Threads > Message-ID: <589082004.20100927094452 at dos32.com> > Content-Type: text/plain; charset="windows-1252" > > Is it safe to use FXMessageBox from something other than the main thread? > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://rubyforge.org/pipermail/fxruby-users/attachments/20100927/8f8b0a4c/attachment-0001.html > > > > ------------------------------ > > Message: 3 > Date: Sun, 3 Oct 2010 20:50:14 -0400 > From: Mukul Sharma > To: fxruby-users at rubyforge.org > Subject: [fxruby-users] Ubuntu - Fxruby - require issue > Message-ID: > > Content-Type: text/plain; charset="iso-8859-1" > > Hi Everyone, > > Just decided to play around with Fxruby and followed the installation steps > found @ > > http://github.com/lylejohnson/fxruby/wiki/Setting-Up-a-Linux-Build-Environment > > < > http://github.com/lylejohnson/fxruby/wiki/Setting-Up-a-Linux-Build-Environment > >Everything > went alright but "require 'fox16'" fails in my script. > I have already tried running a "require 'rubygems'" before calling for > "require 'fox16'". It still fails with the following error > > irb(main):001:0> require 'rubygems' > => true > irb(main):002:0> require 'fox16' > LoadError: no such file to load -- fox16.so > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in > `gem_original_require' > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in `require' > from > /var/lib/gems/1.8/gems/fxruby-1.6.20-universal-darwin-10/lib/fox16.rb:6 > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in > `gem_original_require' > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in `require' > from (irb):2 > > Any help or ideas are appreciated. Please help. > > Thanks and Regards, > > Mukul Sharma > > "A person who runs from responsibilities, runs from life." > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://rubyforge.org/pipermail/fxruby-users/attachments/20101003/2d5bff2d/attachment-0001.html > > > > ------------------------------ > > Message: 4 > Date: Sun, 3 Oct 2010 20:09:19 -0600 > From: Ralph Shnelvar > To: Mukul Sharma > Subject: Re: [fxruby-users] Ubuntu - Fxruby - require issue > Message-ID: <1196315330.20101003200919 at dos32.com> > Content-Type: text/plain; charset="iso-8859-1" > > Mukul, > > > > Sunday, October 3, 2010, 6:50:14 PM, you wrote: > > > Hi Everyone, > > Just decided to play around with Fxruby and followed the installation steps > found @ > > > http://github.com/lylejohnson/fxruby/wiki/Setting-Up-a-Linux-Build-Environment > > Everything went alright but "require 'fox16'" fails in my script. > I have already tried running a "require 'rubygems'" before calling for > "require 'fox16'". It still fails with the following error > > irb(main):001:0> require 'rubygems' > => true > irb(main):002:0> require 'fox16' > LoadError: no such file to load -- fox16.so > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in > `gem_original_require' > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in `require' > from > /var/lib/gems/1.8/gems/fxruby-1.6.20-universal-darwin-10/lib/fox16.rb:6 > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in > `gem_original_require' > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in `require' > from (irb):2 > > Any help or ideas are appreciated. Please help. > > Thanks and Regards, > > Mukul Sharma > > > > I know this isn't going to help you, but I had the exact same problem under > Windows and ... dammit ... I don't remember how I fixed it. > > I vaguely remember having to download and install the latest version of > FXRuby ... but I am not sure. I am sorry. > > I am running under Windows and this is what I have that works .... > > > > > #!/usr/bin/env ruby > @@rdebug = false > # puts $0 > @@rdebug = true if $0.to_s.end_with? "rdebug" > > if @@rdebug > require 'rubygems' > require 'ruby-debug' > Debugger.start > end > > require 'pp' # For pretty printing > > require 'ftools' # For debugging > > require 'fox16' > require "yaml" > > include Fox > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://rubyforge.org/pipermail/fxruby-users/attachments/20101003/9d12f516/attachment-0001.html > > > > ------------------------------ > > Message: 5 > Date: Sun, 3 Oct 2010 22:50:47 -0700 (PDT) > From: dave L > To: fxruby-users at rubyforge.org > Subject: Re: [fxruby-users] Ubuntu - Fxruby - require issue > Message-ID: <38701.78044.qm at web30007.mail.mud.yahoo.com> > Content-Type: text/plain; charset="utf-8" > > The error relates to the fact that there is NO PATH to the given file > fox16.so. > > you can add the path into the DOS or CMD environment setting or simply copy > and > paste the fox16.so / .DLL and put it into the windows directory - > c:\windows\system. > > HTH. > > > > > > > ________________________________ > From: Mukul Sharma > To: fxruby-users at rubyforge.org > Sent: Mon, 4 October, 2010 1:50:14 PM > Subject: [fxruby-users] Ubuntu - Fxruby - require issue > > Hi Everyone, > > Just decided to play around with Fxruby and followed the installation steps > found > @ > http://github.com/lylejohnson/fxruby/wiki/Setting-Up-a-Linux-Build-Environment > > Everything went alright but "require 'fox16'" fails in my script. > I have already tried running a "require 'rubygems'" before calling for > "require > 'fox16'". It still fails with the following error > > irb(main):001:0> require 'rubygems' > => true > irb(main):002:0> require 'fox16' > LoadError: no such file to load -- fox16.so > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in > `gem_original_require' > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in `require' > from > /var/lib/gems/1.8/gems/fxruby-1.6.20-universal-darwin-10/lib/fox16.rb:6 > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in > `gem_original_require' > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in `require' > from (irb):2 > > Any help or ideas are appreciated. Please help. > > Thanks and Regards, > > Mukul Sharma > > "A person who runs from responsibilities, runs from life." > > > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://rubyforge.org/pipermail/fxruby-users/attachments/20101003/14ee62ed/attachment.html > > > > ------------------------------ > > _______________________________________________ > fxruby-users mailing list > fxruby-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/fxruby-users > > End of fxruby-users Digest, Vol 72, Issue 1 > ******************************************* > -------------- next part -------------- An HTML attachment was scrubbed... URL: From elitecoder.mukul at gmail.com Mon Oct 4 09:12:27 2010 From: elitecoder.mukul at gmail.com (Mukul Sharma) Date: Mon, 4 Oct 2010 09:12:27 -0400 Subject: [fxruby-users] Ubuntu - Fxruby - require issue (Mukul) Message-ID: Thanks Ralph and Dave, Apparently the problem was entirely unrelated. My rubygems was installed at /var/lib instead of /usr/lib default and thats why fox16.so could not be found. And update of rubygems, fixed the issue. Thanks again for your help. Mukul Sharma "A person who runs from responsibilities, runs from life." On Mon, Oct 4, 2010 at 1:50 AM, wrote: > Send fxruby-users mailing list submissions to > fxruby-users at rubyforge.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://rubyforge.org/mailman/listinfo/fxruby-users > or, via email, send a message with subject or body 'help' to > fxruby-users-request at rubyforge.org > > You can reach the person managing the list at > fxruby-users-owner at rubyforge.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of fxruby-users digest..." > > > Today's Topics: > > 1. FXProgressBar slow update; FXDataTarget (Ralph Shnelvar) > 2. FXMessageBox & Threads (Ralph Shnelvar) > 3. Ubuntu - Fxruby - require issue (Mukul Sharma) > 4. Re: Ubuntu - Fxruby - require issue (Ralph Shnelvar) > 5. Re: Ubuntu - Fxruby - require issue (dave L) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Fri, 24 Sep 2010 06:56:23 -0600 > From: Ralph Shnelvar > To: fxruby-users at rubyforge.org > Subject: [fxruby-users] FXProgressBar slow update; FXDataTarget > Message-ID: <1019198642.20100924065623 at dos32.com> > Content-Type: text/plain; charset="windows-1252" > > This is not a question but a mini-report on an issue (and solution) I had > with FXProgressBar. > > I have some code that puts up an FXProgressBar and then uses > FXDataTarget#value to update the amount of progress. > > I also have an FXLabel object and used FXLabel#text to update the label. > > The LABEL would change "instantly" but the FXProgressBar object being > displayed was very far behind the FXLabel object being displayed. > > The FXProgress bar object reported on the percentage completion of a CPU > intensive thread. > > > I played with priorities. I played with having the CPU intensive thread go > to sleep. > > Nothing worked. > > > > To make a long story short ... the problem is in the FXDataTarget. > > It appears (and this is by observation and not by code inspection) that > FXDataTarget objects get updated somewhat like chores get executed. > > That is, the various objects "connected" to the instantiated FXDataTarget > variable get updated "whenever." > > > Indeed, I am guessing that all the synchronizations occur at SEL_UPDATE > time. SEL_UPDATE on my machine gets triggered about once every 5 seconds > rather that several times a second. > > > Thus, the solution to my problem was to get rid of the FXDataTarget for the > progress bar and do a direct assign to FXProgressBar#progress. > > Works like a champ. > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://rubyforge.org/pipermail/fxruby-users/attachments/20100924/a96d087b/attachment-0001.html > > > > ------------------------------ > > Message: 2 > Date: Mon, 27 Sep 2010 09:44:52 -0600 > From: Ralph Shnelvar > To: fxruby-users at rubyforge.org > Subject: [fxruby-users] FXMessageBox & Threads > Message-ID: <589082004.20100927094452 at dos32.com> > Content-Type: text/plain; charset="windows-1252" > > Is it safe to use FXMessageBox from something other than the main thread? > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://rubyforge.org/pipermail/fxruby-users/attachments/20100927/8f8b0a4c/attachment-0001.html > > > > ------------------------------ > > Message: 3 > Date: Sun, 3 Oct 2010 20:50:14 -0400 > From: Mukul Sharma > To: fxruby-users at rubyforge.org > Subject: [fxruby-users] Ubuntu - Fxruby - require issue > Message-ID: > > Content-Type: text/plain; charset="iso-8859-1" > > Hi Everyone, > > Just decided to play around with Fxruby and followed the installation steps > found @ > > http://github.com/lylejohnson/fxruby/wiki/Setting-Up-a-Linux-Build-Environment > > < > http://github.com/lylejohnson/fxruby/wiki/Setting-Up-a-Linux-Build-Environment > >Everything > went alright but "require 'fox16'" fails in my script. > I have already tried running a "require 'rubygems'" before calling for > "require 'fox16'". It still fails with the following error > > irb(main):001:0> require 'rubygems' > => true > irb(main):002:0> require 'fox16' > LoadError: no such file to load -- fox16.so > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in > `gem_original_require' > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in `require' > from > /var/lib/gems/1.8/gems/fxruby-1.6.20-universal-darwin-10/lib/fox16.rb:6 > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in > `gem_original_require' > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in `require' > from (irb):2 > > Any help or ideas are appreciated. Please help. > > Thanks and Regards, > > Mukul Sharma > > "A person who runs from responsibilities, runs from life." > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://rubyforge.org/pipermail/fxruby-users/attachments/20101003/2d5bff2d/attachment-0001.html > > > > ------------------------------ > > Message: 4 > Date: Sun, 3 Oct 2010 20:09:19 -0600 > From: Ralph Shnelvar > To: Mukul Sharma > Subject: Re: [fxruby-users] Ubuntu - Fxruby - require issue > Message-ID: <1196315330.20101003200919 at dos32.com> > Content-Type: text/plain; charset="iso-8859-1" > > Mukul, > > > > Sunday, October 3, 2010, 6:50:14 PM, you wrote: > > > Hi Everyone, > > Just decided to play around with Fxruby and followed the installation steps > found @ > > > http://github.com/lylejohnson/fxruby/wiki/Setting-Up-a-Linux-Build-Environment > > Everything went alright but "require 'fox16'" fails in my script. > I have already tried running a "require 'rubygems'" before calling for > "require 'fox16'". It still fails with the following error > > irb(main):001:0> require 'rubygems' > => true > irb(main):002:0> require 'fox16' > LoadError: no such file to load -- fox16.so > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in > `gem_original_require' > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in `require' > from > /var/lib/gems/1.8/gems/fxruby-1.6.20-universal-darwin-10/lib/fox16.rb:6 > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in > `gem_original_require' > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in `require' > from (irb):2 > > Any help or ideas are appreciated. Please help. > > Thanks and Regards, > > Mukul Sharma > > > > I know this isn't going to help you, but I had the exact same problem under > Windows and ... dammit ... I don't remember how I fixed it. > > I vaguely remember having to download and install the latest version of > FXRuby ... but I am not sure. I am sorry. > > I am running under Windows and this is what I have that works .... > > > > > #!/usr/bin/env ruby > @@rdebug = false > # puts $0 > @@rdebug = true if $0.to_s.end_with? "rdebug" > > if @@rdebug > require 'rubygems' > require 'ruby-debug' > Debugger.start > end > > require 'pp' # For pretty printing > > require 'ftools' # For debugging > > require 'fox16' > require "yaml" > > include Fox > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://rubyforge.org/pipermail/fxruby-users/attachments/20101003/9d12f516/attachment-0001.html > > > > ------------------------------ > > Message: 5 > Date: Sun, 3 Oct 2010 22:50:47 -0700 (PDT) > From: dave L > To: fxruby-users at rubyforge.org > Subject: Re: [fxruby-users] Ubuntu - Fxruby - require issue > Message-ID: <38701.78044.qm at web30007.mail.mud.yahoo.com> > Content-Type: text/plain; charset="utf-8" > > The error relates to the fact that there is NO PATH to the given file > fox16.so. > > you can add the path into the DOS or CMD environment setting or simply copy > and > paste the fox16.so / .DLL and put it into the windows directory - > c:\windows\system. > > HTH. > > > > > > > ________________________________ > From: Mukul Sharma > To: fxruby-users at rubyforge.org > Sent: Mon, 4 October, 2010 1:50:14 PM > Subject: [fxruby-users] Ubuntu - Fxruby - require issue > > Hi Everyone, > > Just decided to play around with Fxruby and followed the installation steps > found > @ > http://github.com/lylejohnson/fxruby/wiki/Setting-Up-a-Linux-Build-Environment > > Everything went alright but "require 'fox16'" fails in my script. > I have already tried running a "require 'rubygems'" before calling for > "require > 'fox16'". It still fails with the following error > > irb(main):001:0> require 'rubygems' > => true > irb(main):002:0> require 'fox16' > LoadError: no such file to load -- fox16.so > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in > `gem_original_require' > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in `require' > from > /var/lib/gems/1.8/gems/fxruby-1.6.20-universal-darwin-10/lib/fox16.rb:6 > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in > `gem_original_require' > from /usr/lib/ruby/1.8/rubygems/custom_require.rb:36:in `require' > from (irb):2 > > Any help or ideas are appreciated. Please help. > > Thanks and Regards, > > Mukul Sharma > > "A person who runs from responsibilities, runs from life." > > > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://rubyforge.org/pipermail/fxruby-users/attachments/20101003/14ee62ed/attachment.html > > > > ------------------------------ > > _______________________________________________ > fxruby-users mailing list > fxruby-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/fxruby-users > > End of fxruby-users Digest, Vol 72, Issue 1 > ******************************************* > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dglnz at yahoo.com Sat Oct 16 05:22:35 2010 From: dglnz at yahoo.com (dave L) Date: Sat, 16 Oct 2010 02:22:35 -0700 (PDT) Subject: [fxruby-users] key event capturing - help Message-ID: <407866.27901.qm@web30004.mail.mud.yahoo.com> I am using foxGUIb for the gui front end (I don't believe this is where my issue is) but i cannot get a couple of things right. 1st How do I use the keys.rb file within my project? Currently I am doing a require 'keys' and then including it. this then allows me to access constant variables like KEY_Return etc. 2nd I am using within my event handler this type of code.... @textfield1.connect(Fox::SEL_KEYPRESS){|a,b,event| if KEY_Return.to_s == statements end } I've tried... event.state (this gives me 16, 17 for shift, 20 for Ctrl, 24 for Alt, 16 for backspace & tab & delete & insert so it's not the best). a.to_s and this to be compared to the Key_Return.to_s value but this fails too. event.to_s After having a read of lyle's PDF I found that there is another method I hadn't known about call code using this gives me a match to the KEY_Return constant that I was looking for!! So now I have this.... @textfield1.connect(Fox::SEL_KEYPRESS){|a,b,event| if KEY_Return.to_s == event.code.to_s statements in here WILL be actioned ONLY when the keyboard enter key IS pressed!! end } Hope this may help someone down the track. dave. -------------- next part -------------- An HTML attachment was scrubbed... URL: From philippe.lang at attiksystem.ch Mon Oct 18 03:12:33 2010 From: philippe.lang at attiksystem.ch (Philippe Lang) Date: Mon, 18 Oct 2010 09:12:33 +0200 Subject: [fxruby-users] key event capturing - help In-Reply-To: <407866.27901.qm@web30004.mail.mud.yahoo.com> References: <407866.27901.qm@web30004.mail.mud.yahoo.com> Message-ID: <8AE5A725DAF7364F97FF75D99E45B657742E9DEB@SBS1.attiksystem.local> > De?: fxruby-users-bounces at rubyforge.org [mailto:fxruby-users- > bounces at rubyforge.org] De la part de dave L > Envoy??: samedi 16 octobre 2010 11:23 > ??: fxruby > Objet?: [fxruby-users] key event capturing - help > > I am using foxGUIb for the gui front end (I don't believe this is where > my issue is) but i cannot get a couple of things right. > > 1st > How do I use the keys.rb file within my project? > Currently I am doing a require 'keys' and then including it. > > this then allows me to access constant variables like KEY_Return etc. > > 2nd > I am using within my event handler this type of code.... > > @textfield1.connect(Fox::SEL_KEYPRESS){|a,b,event| > > if KEY_Return.to_s == > statements > end > } Hi, You can use event.code, like this: def onKeyPress(sender, sel, data) if data.code == KEY_Tab end > So now I have this.... > > > @textfield1.connect(Fox::SEL_KEYPRESS){|a,b,event| > > if KEY_Return.to_s == event.code.to_s > statements in here WILL be actioned ONLY when the keyboard enter > key IS pressed!! > end > } OK, then in this case you have to use another event: SEL_KEYRELEASE Best regards, ------------------------------------------------------------- Attik System web : http://www.attiksystem.ch Philippe Lang phone: +41 26 422 13 75 rte de la Fonderie 2 gsm : +41 79 351 49 94 1700 Fribourg pgp : http://keyserver.pgp.com -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 474 bytes Desc: not available URL: From dglnz at yahoo.com Wed Oct 20 02:07:04 2010 From: dglnz at yahoo.com (dave L) Date: Tue, 19 Oct 2010 23:07:04 -0700 (PDT) Subject: [fxruby-users] key event capturing - help In-Reply-To: <8AE5A725DAF7364F97FF75D99E45B657742E9DEB@SBS1.attiksystem.local> References: <407866.27901.qm@web30004.mail.mud.yahoo.com> <8AE5A725DAF7364F97FF75D99E45B657742E9DEB@SBS1.attiksystem.local> Message-ID: <18977.13591.qm@web30005.mail.mud.yahoo.com> Thank - you Phillipe, After some scratching around and read Lyle's PDF again I found reference to this and so that has been sorted :). and yes again I'm using the SEL_KEYRELEASE. many thanks for you're time and assistance. Dave ________________________________ From: Philippe Lang To: "fxruby-users at rubyforge.org" Sent: Mon, 18 October, 2010 8:12:33 PM Subject: Re: [fxruby-users] key event capturing - help > De : fxruby-users-bounces at rubyforge.org [mailto:fxruby-users- > bounces at rubyforge.org] De la part de dave L > Envoy? : samedi 16 octobre 2010 11:23 > ? : fxruby > Objet : [fxruby-users] key event capturing - help > > I am using foxGUIb for the gui front end (I don't believe this is where > my issue is) but i cannot get a couple of things right. > > 1st > How do I use the keys.rb file within my project? > Currently I am doing a require 'keys' and then including it. > > this then allows me to access constant variables like KEY_Return etc. > > 2nd > I am using within my event handler this type of code.... > > @textfield1.connect(Fox::SEL_KEYPRESS){|a,b,event| > > if KEY_Return.to_s == > statements > end > } Hi, You can use event.code, like this: def onKeyPress(sender, sel, data) if data.code == KEY_Tab end > So now I have this.... > > > @textfield1.connect(Fox::SEL_KEYPRESS){|a,b,event| > > if KEY_Return.to_s == event.code.to_s > statements in here WILL be actioned ONLY when the keyboard enter > key IS pressed!! > end > } OK, then in this case you have to use another event: SEL_KEYRELEASE Best regards, ------------------------------------------------------------- Attik System web : http://www.attiksystem.ch Philippe Lang phone: +41 26 422 13 75 rte de la Fonderie 2 gsm : +41 79 351 49 94 1700 Fribourg pgp : http://keyserver.pgp.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From mfalcon at me.com Tue Oct 26 17:20:53 2010 From: mfalcon at me.com (Mike Falcon) Date: Tue, 26 Oct 2010 16:20:53 -0500 Subject: [fxruby-users] Problems getting fxruby to work on Mac References: <28DEE7CD6B3C7E47853FD2E40EF12AB7EBCE318E@HDMAIL.brgov.net> Message-ID: <96DF22B9-B85F-4B7C-AD92-B29A95F650F3@me.com> > Hi, > > I?m having problems with Fxruby on my Snow Leopard system. A few months ago I did a custom (a la HiveLogic) install of 1.9.1 in /usr/local. I was working on a project and at the same time trying to familiarize myself with some 1.9+ changes. I have a windows system at work(where I was primarily working on the project) and usually go back and forth between my work system and my home system. I wasn?t using FXruby for this project. I experienced no problems at this point at home or work. So I start a new project and intend to use fxruby. I have the project going and decide to take it home and work on my snow leopard system and it doesn?t recognize fxruby at the require line and won?t run. It?s not the project, as I just went with the ?hello.rb? program from Lyle?s site and it doesn?t recognize fxruby either. FXRUBY was installed with a regular Rubygems install(FXRuby 1.6.20). So I remove and re install FXruby with rubygems. Still doesn?t work. I knew other people have had problems with FXruby and custom builds on Snow Leopard so I did some googling. I came across this article by Lyle, > > http://github.com/lylejohnson/fxruby/wiki/setting-up-a-mac-os-x-build-environment-without-macports > > and followed the directions. There were no problems(as long as I used the exact versions Lyle suggested) with installing Fox from scratch and re-installing fxruby. Still doesn?t work. I really want to get this running and would prefer not to go back to the default ruby build. I am using Textmate. I had FXruby running fine when I was still one Leopard. If anybody can help it would be appreciated. > > Thanks in advance, > > Mike > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dglnz at yahoo.com Thu Oct 28 02:59:32 2010 From: dglnz at yahoo.com (dave L) Date: Wed, 27 Oct 2010 23:59:32 -0700 (PDT) Subject: [fxruby-users] Problems getting fxruby to work on Mac In-Reply-To: <96DF22B9-B85F-4B7C-AD92-B29A95F650F3@me.com> References: <28DEE7CD6B3C7E47853FD2E40EF12AB7EBCE318E@HDMAIL.brgov.net> <96DF22B9-B85F-4B7C-AD92-B29A95F650F3@me.com> Message-ID: <383739.95817.qm@web30003.mail.mud.yahoo.com> Mike unsure how much help this is so take from it what you will. I'm running Kubuntu 10.04. like you I had "issues" getting things to play and fit together. from my repository manager i found a library for fox/fxruby. then I had to be in the physical directory and run ruby fxapp.rb Don't know if this will help the filename islibfox-16.32.2.deb so it a deb package, installs in with the system .SO files meaning I don't have to have fxruby gem installed (but in fact I have more because it works now and I an't going to break it). by finding and installing that file it MAY help you get fxruby running. Dave. ________________________________ From: Mike Falcon To: "fxruby-users at rubyforge.org" Sent: Wed, 27 October, 2010 10:20:53 AM Subject: [fxruby-users] Problems getting fxruby to work on Mac Hi, >I?m having problems with Fxruby on my Snow Leopard system. A few months ago I >did a custom (a la HiveLogic) install of 1.9.1 in /usr/local. I was working on >a project and at the same time trying to familiarize myself with some 1.9+ >changes. I have a windows system at work(where I was primarily working on the >project) and usually go back and forth between my work system and my home >system. I wasn?t using FXruby for this project. I experienced no problems at >this point at home or work. So I start a new project and intend to use fxruby. >I have the project going and decide to take it home and work on my snow leopard >system and it doesn?t recognize fxruby at the require line and won?t run. It?s >not the project, as I just went with the ?hello.rb? program from Lyle?s site and >it doesn?t recognize fxruby either. FXRUBY was installed with a regular >Rubygems install(FXRuby 1.6.20). So I remove and re install FXruby with >rubygems. Still doesn?t work. I knew other people have had problems with >FXruby and custom builds on Snow Leopard so I did some googling. I came across >this article by Lyle, >http://github.com/lylejohnson/fxruby/wiki/setting-up-a-mac-os-x-build-environment-without-macports > >and followed the directions. There were no problems(as long as I used the exact >versions Lyle suggested) with installing Fox from scratch and re-installing >fxruby. Still doesn?t work. I really want to get this running and would prefer >not to go back to the default ruby build. I am using Textmate. I had FXruby >running fine when I was still one Leopard. If anybody can help it would be >appreciated. >Thanks in advance, >Mike > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mitfik at gmail.com Thu Oct 28 04:54:46 2010 From: mitfik at gmail.com (Robert Mitwicki) Date: Thu, 28 Oct 2010 10:54:46 +0200 Subject: [fxruby-users] Fxruby - file (pdf, rtf, doc) viewer Message-ID: Hi all, I have interesting thing to do. I want to create widget for displaying few formats of files (pdf, rtf, doc). Probably it will works like pdf viewer and all other files I will convert to pdf so if User want to open rtf then I convert rtf to pdf then display on screen (this I think will be the easier way). The thing is that I don't know exactly how to create this kind of widget. Because I don't want only display this files but also manipulate them, not modify text or pictures but just select some part of text (highlight) and copy to other place. For sure it must works with few versions of pdf. And the question is how I can start with this, for sure I need create new widget for that, because I didn't find any one which I could modify. (maybe You know some good widget for that) I will be very appreciate for any suggestion how to solve this problem. Or any source of application which have similar functionality. Regards! -- Robert Mitwicki Kontakt: ? ?? jid: mitfik at jabber.org ? ?? e-mail: mitfik at gmail.com ------------------------------------------ www.partiapiratow.blog.pl From mfalcon at me.com Thu Oct 28 23:54:26 2010 From: mfalcon at me.com (Mike Falcon) Date: Thu, 28 Oct 2010 22:54:26 -0500 Subject: [fxruby-users] Problems getting fxruby to work on Mac In-Reply-To: <383739.95817.qm@web30003.mail.mud.yahoo.com> References: <28DEE7CD6B3C7E47853FD2E40EF12AB7EBCE318E@HDMAIL.brgov.net> <96DF22B9-B85F-4B7C-AD92-B29A95F650F3@me.com> <383739.95817.qm@web30003.mail.mud.yahoo.com> Message-ID: Well, I reinstalled all from scratch. Ruby, ruby gems, Fox, & FXruby. Now it runs, but I get segmentation faults. I remembered this being discussed somewhere but can't place it. Anybody else had segmentations faults with fxruby and snow leopard? Mike On Oct 28, 2010, at 1:59 AM, dave L wrote: > Mike unsure how much help this is so take from it what you will. > > I'm running Kubuntu 10.04. > > like you I had "issues" getting things to play and fit together. > > from my repository manager i found a library for fox/fxruby. > then I had to be in the physical directory and run ruby fxapp.rb > > Don't know if this will help the filename is libfox-16.32.2.deb so it a deb package, installs in with the system .SO files meaning I don't have to have fxruby gem installed (but in fact I have more because it works now and I an't going to break it). > > by finding and installing that file it MAY help you get fxruby running. > > > Dave. > > > From: Mike Falcon > To: "fxruby-users at rubyforge.org" > Sent: Wed, 27 October, 2010 10:20:53 AM > Subject: [fxruby-users] Problems getting fxruby to work on Mac > >> Hi, >> >> I?m having problems with Fxruby on my Snow Leopard system. A few months ago I did a custom (a la HiveLogic) install of 1.9.1 in /usr/local. I was working on a project and at the same time trying to familiarize myself with some 1.9+ changes. I have a windows system at work(where I was primarily working on the project) and usually go back and forth between my work system and my home system. I wasn?t using FXruby for this project. I experienced no problems at this point at home or work. So I start a new project and intend to use fxruby. I have the project going and decide to take it home and work on my snow leopard system and it doesn?t recognize fxruby at the require line and won?t run. It?s not the project, as I just went with the ?hello.rb? program from Lyle?s site and it doesn?t recognize fxruby either. FXRUBY was installed with a regular Rubygems install(FXRuby 1.6.20). So I remove and re install FXruby with rubygems. Still doesn?t work. I knew other people have had problems with FXruby and custom builds on Snow Leopard so I did some googling. I came across this article by Lyle, >> >> http://github.com/lylejohnson/fxruby/wiki/setting-up-a-mac-os-x-build-environment-without-macports >> >> and followed the directions. There were no problems(as long as I used the exact versions Lyle suggested) with installing Fox from scratch and re-installing fxruby. Still doesn?t work. I really want to get this running and would prefer not to go back to the default ruby build. I am using Textmate. I had FXruby running fine when I was still one Leopard. If anybody can help it would be appreciated. >> >> Thanks in advance, >> >> Mike >> >> >> > > > _______________________________________________ > fxruby-users mailing list > fxruby-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/fxruby-users -------------- next part -------------- An HTML attachment was scrubbed... URL: