# Ruby

**URL:** https://www.ruby-forum.com/c/ruby/7.md?page=940

[Latest](https://www.ruby-forum.com/latest.md) · [Categories](https://www.ruby-forum.com/categories.md) · [Tags](https://www.ruby-forum.com/tags.md)

**Page:** 941

---

## [RAWR can't find jruby\_fetch](https://www.ruby-forum.com/t/rawr-cant-find-jruby-fetch/155986)

<div class="topic-metadata">

**Author:** [@leslieviljoen](https://www.ruby-forum.com/u/leslieviljoen)\
**Replies:** 5\
**Last updated:** [December 19, 2008, 8:25pm UTC](https://www.ruby-forum.com/t/rawr-cant-find-jruby-fetch/155986 "2008-12-19T20:25:08Z")

</div>

Hi people! I am trying to use RAWR to package a netbeans/monkeybars project, but am running into some bugs. First (on version 1.1.1) I was getting: undefined local variable or method \`processed\_file’ for main:Object …

---

## [JRuby 1.1.4 to 1.1.6: invokeSuper throwing NPE](https://www.ruby-forum.com/t/jruby-1-1-4-to-1-1-6-invokesuper-throwing-npe/156039)

<div class="topic-metadata">

**Author:** [@wolfmanjm](https://www.ruby-forum.com/u/wolfmanjm)\
**Replies:** 3\
**Last updated:** [December 19, 2008, 7:55pm UTC](https://www.ruby-forum.com/t/jruby-1-1-4-to-1-1-6-invokesuper-throwing-npe/156039 "2008-12-19T19:55:13Z")

</div>

The short version: I’m calling RuntimeHelpers.invokeSuper and see an NPE. This is because the call to context.getFrameKlazz() is returning null. Why??? The long version: I’m trying to upgrade from JRuby 1.1.4 to JR…

---

## [.profile in UNIX](https://www.ruby-forum.com/t/profile-in-unix/155974)

<div class="topic-metadata">

**Author:** [@adistarmid](https://www.ruby-forum.com/u/adistarmid)\
**Replies:** 9\
**Last updated:** [December 19, 2008, 7:34pm UTC](https://www.ruby-forum.com/t/profile-in-unix/155974 "2008-12-19T19:34:41Z")

</div>

Does anyone know how to access and use the .profile in UNIX while using NET::SSH in Ruby? Thanks for the help

---

## [How do I file a JIRA bug?](https://www.ruby-forum.com/t/how-do-i-file-a-jira-bug/156044)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 1\
**Last updated:** [December 19, 2008, 6:55pm UTC](https://www.ruby-forum.com/t/how-do-i-file-a-jira-bug/156044 "2008-12-19T18:55:57Z")

</div>

I’m embarrassed to have to ask, but I can’t figure out how to create a new JIRA issue for JRuby. I can filter all day, I’ve established an account, but I can’t see where to create a new issue. Sorry guys… Thanks, W…

---

## [Never mind](https://www.ruby-forum.com/t/never-mind/156047)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 0\
**Last updated:** [December 19, 2008, 6:30pm UTC](https://www.ruby-forum.com/t/never-mind/156047 "2008-12-19T18:30:10Z")

</div>

ok, the giant CREATE NEW ISSUE menu item might help…sorry. FWIW, I didn’t even notice that it was there after I logged in. WG To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage\_email

---

## [Ruby Prototype/Scriptaculous Wrapper](https://www.ruby-forum.com/t/ruby-prototype-scriptaculous-wrapper/156036)

<div class="topic-metadata">

**Author:** [@roxah](https://www.ruby-forum.com/u/roxah)\
**Replies:** 0\
**Last updated:** [December 19, 2008, 5:28pm UTC](https://www.ruby-forum.com/t/ruby-prototype-scriptaculous-wrapper/156036 "2008-12-19T17:28:53Z")

</div>

Hello all, Does anyone know of any Ruby Prototype/Scriptaculous JavaScript wrapper libraries outside of the Rails ActionPack/ActionView project? I’d like to find something similar that I could use with Sinatra… – T…

---

## [Off nahi@ctor.org](https://www.ruby-forum.com/t/off-nahi-ctor-org/156035)

<div class="topic-metadata">

**Author:** [@NAKAMURAS\_Hiroshi](https://www.ruby-forum.com/u/NAKAMURAS_Hiroshi)\
**Replies:** 0\
**Last updated:** [December 19, 2008, 5:19pm UTC](https://www.ruby-forum.com/t/off-nahi-ctor-org/156035 "2008-12-19T17:19:10Z")

</div>

off removed\_email\_address@domain.invalid

---

## [Re: RE: Rack Error](https://www.ruby-forum.com/t/re-re-rack-error/156002)

<div class="topic-metadata">

**Author:** [@Jay\_McGaffigan](https://www.ruby-forum.com/u/Jay_McGaffigan)\
**Replies:** 3\
**Last updated:** [December 19, 2008, 4:46pm UTC](https://www.ruby-forum.com/t/re-re-rack-error/156002 "2008-12-19T16:46:12Z")

</div>

Going to Rails 2.2 may have it's own issues though. Just today we had to back rev to 2.1 for our first "beta" sight as we are getting a pariticular multithreaded problem. (we are getting the body of our request set …

---

## [How to implement drag and drop](https://www.ruby-forum.com/t/how-to-implement-drag-and-drop/156024)

<div class="topic-metadata">

**Author:** [@arati](https://www.ruby-forum.com/u/arati)\
**Replies:** 2\
**Last updated:** [December 19, 2008, 3:57pm UTC](https://www.ruby-forum.com/t/how-to-implement-drag-and-drop/156024 "2008-12-19T15:57:30Z")

</div>

Hi, I have a set of draggable objects inside a span. I tried to implement drag n drop using win32ole library. I used ‘’ function. This funtion requires x and y coordinates of soucre and destination. I was sucessfuly …

---

## [Can we shut down system through ruby code ? if yes, How?](https://www.ruby-forum.com/t/can-we-shut-down-system-through-ruby-code-if-yes-how/156027)

<div class="topic-metadata">

**Author:** [@sgudibanda](https://www.ruby-forum.com/u/sgudibanda)\
**Replies:** 5\
**Last updated:** [December 19, 2008, 3:07pm UTC](https://www.ruby-forum.com/t/can-we-shut-down-system-through-ruby-code-if-yes-how/156027 "2008-12-19T15:07:07Z")

</div>

Can Ruby code be used to automatically shut down a windows machine. If yes, how it can be achieved. I tried several searches but didn’t got anything relevant.

---

## [Online INTERNET JOBS](https://www.ruby-forum.com/t/online-internet-jobs/156017)

<div class="topic-metadata">

**Author:** [@hotkatrina4u](https://www.ruby-forum.com/u/hotkatrina4u)\
**Replies:** 0\
**Last updated:** [December 19, 2008, 11:06am UTC](https://www.ruby-forum.com/t/online-internet-jobs/156017 "2008-12-19T11:06:01Z")

</div>

Start Your Own INTERNET JOBS AT http://megalinesolutions.googlepages.com/ No Fee Required

---

## [Ruby on mobiles](https://www.ruby-forum.com/t/ruby-on-mobiles/155812)

<div class="topic-metadata">

**Author:** [@Werner\_Schuster\_Smu](https://www.ruby-forum.com/u/Werner_Schuster_Smu)\
**Replies:** 6\
**Last updated:** [December 19, 2008, 10:09am UTC](https://www.ruby-forum.com/t/ruby-on-mobiles/155812 "2008-12-19T10:09:10Z")

</div>

Seems like XRuby beat JRuby in the race to mobile platforms: murphee To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage\_email

---

## [When to use default\_internal](https://www.ruby-forum.com/t/when-to-use-default-internal/155950)

<div class="topic-metadata">

**Author:** [@Yugui\_SYuki\_S.S](https://www.ruby-forum.com/u/Yugui_SYuki_S.S)\
**Replies:** 3\
**Last updated:** [December 19, 2008, 9:28am UTC](https://www.ruby-forum.com/t/when-to-use-default-internal/155950 "2008-12-19T09:28:10Z")

</div>

Yuguie$B$G$9!#e(B default\_internale$B$r;XDj$7$?\>uBV$G!"e(B:internal\_encoding =\> nile$B$r;XDj$7$Fe(B e$B%U%!%$%k$r3+$/$H!"e(Binternal\_encodinge$B$Ke(Bdefault\_internale$B$,3d$jEv$F$i$l$F$$e(B e$B$^$9!#e(B e$B;d$H$7$F$…

---

## [Show newest file in directory?](https://www.ruby-forum.com/t/show-newest-file-in-directory/155971)

<div class="topic-metadata">

**Author:** [@mmcolli00](https://www.ruby-forum.com/u/mmcolli00)\
**Replies:** 6\
**Last updated:** [December 19, 2008, 9:24am UTC](https://www.ruby-forum.com/t/show-newest-file-in-directory/155971 "2008-12-19T09:24:02Z")

</div>

If you have a directory full of files, how can you get the newest file and oldest file from that directory? require ‘fileutils’ require ‘find’ require ‘ftools’ require ‘enumerator’ Dir.entries(“C:/New”).each do |fi…

---

## [JRuby 1.1.5 introduces unusual plugin dependencies in Rails](https://www.ruby-forum.com/t/jruby-1-1-5-introduces-unusual-plugin-dependencies-in-rails/156015)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 0\
**Last updated:** [December 19, 2008, 8:06am UTC](https://www.ruby-forum.com/t/jruby-1-1-5-introduces-unusual-plugin-dependencies-in-rails/156015 "2008-12-19T08:06:42Z")

</div>

Hopefully I will explain this correctly. We have an application that we are running as an engine in Rails, which means that all of the application code is really contained in a plugin. Under JRuby 1.1.5, when we start…

---

## [How to check endianess using ruby?](https://www.ruby-forum.com/t/how-to-check-endianess-using-ruby/156004)

<div class="topic-metadata">

**Author:** [@flowerborn](https://www.ruby-forum.com/u/flowerborn)\
**Replies:** 2\
**Last updated:** [December 19, 2008, 6:55am UTC](https://www.ruby-forum.com/t/how-to-check-endianess-using-ruby/156004 "2008-12-19T06:55:54Z")

</div>

Hi, What’s the right way to check the endianess(big/little endian) of the machine on which the ruby code run? Thanks Jan

---

## [\[ANN\] Warbler 0.9.12 released, includes JRuby 1.1.6](https://www.ruby-forum.com/t/ann-warbler-0-9-12-released-includes-jruby-1-1-6/156007)

<div class="topic-metadata">

**Author:** [@nicksnels](https://www.ruby-forum.com/u/nicksnels)\
**Replies:** 0\
**Last updated:** [December 19, 2008, 5:51am UTC](https://www.ruby-forum.com/t/ann-warbler-0-9-12-released-includes-jruby-1-1-6/156007 "2008-12-19T05:51:35Z")

</div>

Hello JRubyists, I finally got around to releasing the next version of Warbler. I try to keep pace with JRuby releases but 1.1.5 had some bugs that I wanted to wait out. As many of you know, Warbler uses a bundled cop…

---

## [Shoes Can I add color to a button](https://www.ruby-forum.com/t/shoes-can-i-add-color-to-a-button/156003)

<div class="topic-metadata">

**Author:** [@Edward\_R](https://www.ruby-forum.com/u/Edward_R)\
**Replies:** 0\
**Last updated:** [December 19, 2008, 5:20am UTC](https://www.ruby-forum.com/t/shoes-can-i-add-color-to-a-button/156003 "2008-12-19T05:20:36Z")

</div>

This sounds like a silly question. I have not seen anywhere how I can color a button. I have a button "@clear = “button “C”, :width =\> 50, :height =\> 50” I want to add color to the button so the background is red. C…

---

## [About qt4-ruby](https://www.ruby-forum.com/t/about-qt4-ruby/155827)

<div class="topic-metadata">

**Author:** [@Magicloud](https://www.ruby-forum.com/u/Magicloud)\
**Replies:** 4\
**Last updated:** [December 19, 2008, 5:06am UTC](https://www.ruby-forum.com/t/about-qt4-ruby/155827 "2008-12-19T05:06:33Z")

</div>

Hi, Today I compiled qt4-ruby in my rhel5 box. And have a little test. Well, when the .rb runs, it says something wrong from qtruby4.so, libsmokeqt.so.2 does not have symbol of \_ZN8QWebView11qt\_metacastEPKc. I recomp…

---

## [1.8$B$N(BCGI::Session$B$N%P%0=$@5(B](https://www.ruby-forum.com/t/1-8-b-n-bcgi-session-b-n-p-0-5-b/155989)

<div class="topic-metadata">

**Author:** [@Fujioka](https://www.ruby-forum.com/u/Fujioka)\
**Replies:** 1\
**Last updated:** [December 19, 2008, 1:36am UTC](https://www.ruby-forum.com/t/1-8-b-n-bcgi-session-b-n-p-0-5-b/155989 "2008-12-19T01:36:29Z")

</div>

xibbare$B$G$9!#e(B e$B$:$$$V$sA0$K$"$,$C$F$$$?%P%0$J$N$G$9$,!“e(B http://redmine.ruby-lang.org/issues/show/605 e$B$H$$$&$N$,$”$j$^$9!#e(B trunke$B$NJ}$O=$@5$7$?$N$G$9$,!"e(B1.8e$B$NJ}$be(Bbug fixe$B$7$F$h$m$7$$$G$7$…

---

## [Mix and Match (#186)](https://www.ruby-forum.com/t/mix-and-match-186/155513)

<div class="topic-metadata">

**Author:** [@mansfiem](https://www.ruby-forum.com/u/mansfiem)\
**Replies:** 3\
**Last updated:** [December 19, 2008, 12:18am UTC](https://www.ruby-forum.com/t/mix-and-match-186/155513 "2008-12-19T00:18:04Z")

</div>

\-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- The three rules of Ruby Q. 2: Please do not post any solutions or spoiler discussion for this quiz until 48 hours have passed from the time on th…

---

## [Rails 2.2.2 upgrade (threadsafe and connection pooling)](https://www.ruby-forum.com/t/rails-2-2-2-upgrade-threadsafe-and-connection-pooling/154797)

<div class="topic-metadata">

**Author:** [@iceburgh](https://www.ruby-forum.com/u/iceburgh)\
**Replies:** 13\
**Last updated:** [December 18, 2008, 11:38pm UTC](https://www.ruby-forum.com/t/rails-2-2-2-upgrade-threadsafe-and-connection-pooling/154797 "2008-12-18T23:38:11Z")

</div>

Hi all. I’ve been upgrading one of my apps to Rails 2.2.2 and started playing with the threadsafety option. I had to modify a fair bit of how certain ruby files load since Rails’ threadsafety option means that you h…

---

## [Standard Console for GUI interactive applications?](https://www.ruby-forum.com/t/standard-console-for-gui-interactive-applications/155929)

<div class="topic-metadata">

**Author:** [@Maurice\_Diamantini](https://www.ruby-forum.com/u/Maurice_Diamantini)\
**Replies:** 2\
**Last updated:** [December 18, 2008, 11:01pm UTC](https://www.ruby-forum.com/t/standard-console-for-gui-interactive-applications/155929 "2008-12-18T23:01:10Z")

</div>

(re)bonjour, I there a standard and maintained way to add a JRuby console class for building interactive GUI applications (like in Matlab or other CAD tools). Such a class could be used as an advanced text (or one li…

---

## [Ruby based Discussion forum](https://www.ruby-forum.com/t/ruby-based-discussion-forum/155874)

<div class="topic-metadata">

**Author:** [@rubydevl](https://www.ruby-forum.com/u/rubydevl)\
**Replies:** 3\
**Last updated:** [December 18, 2008, 10:45pm UTC](https://www.ruby-forum.com/t/ruby-based-discussion-forum/155874 "2008-12-18T22:45:54Z")

</div>

Hello All- I’m looking for a ruby based discussion forum(BB) software to integrate with my project. The ones I’ve seen are RubyBB and Thetis Open-Source Groupware. What are your thoughts on the above products and …

---

## [Mtime - search directory for modified time](https://www.ruby-forum.com/t/mtime-search-directory-for-modified-time/155964)

<div class="topic-metadata">

**Author:** [@mmcolli00](https://www.ruby-forum.com/u/mmcolli00)\
**Replies:** 1\
**Last updated:** [December 18, 2008, 9:26pm UTC](https://www.ruby-forum.com/t/mtime-search-directory-for-modified-time/155964 "2008-12-18T21:26:49Z")

</div>

I am trying to extract an exact filename so that I can use mtime method. It appears to be needing an exact filename and maybe I am getting other artifacts when iterating through this directory. Would you know how to f…

---

## [Rack Error](https://www.ruby-forum.com/t/rack-error/155862)

<div class="topic-metadata">

**Author:** [@ADADAD](https://www.ruby-forum.com/u/ADADAD)\
**Replies:** 18\
**Last updated:** [December 18, 2008, 8:25pm UTC](https://www.ruby-forum.com/t/rack-error/155862 "2008-12-18T20:25:52Z")

</div>

has anyone seen this error on rack 0.9.3 ? Using jruby 1.1.4 and rack 0.9.3 RackInitializationException: timeout: all listeners busy Thx Adam

---

## [Rubygems environment in vista](https://www.ruby-forum.com/t/rubygems-environment-in-vista/155975)

<div class="topic-metadata">

**Author:** [@taylorstrait](https://www.ruby-forum.com/u/taylorstrait)\
**Replies:** 2\
**Last updated:** [December 18, 2008, 8:02pm UTC](https://www.ruby-forum.com/t/rubygems-environment-in-vista/155975 "2008-12-18T20:02:41Z")

</div>

I’m having trouble loading RubyGems into my Vista32 environment. It will only run from ruby/bin. See below: C:\\Rails\\rails\_apps\>gem -v The filename, directory name, or volume label syntax is incorrect. C:\\Rails\\rai…

---

## [Embedded Ruby](https://www.ruby-forum.com/t/embedded-ruby/155972)

<div class="topic-metadata">

**Author:** [@Rolando\_A](https://www.ruby-forum.com/u/Rolando_A)\
**Replies:** 2\
**Last updated:** [December 18, 2008, 7:11pm UTC](https://www.ruby-forum.com/t/embedded-ruby/155972 "2008-12-18T19:11:56Z")

</div>

Hello all, I’m trying to embedd ruby, so far this is what I have: ruby\_init(); ruby\_init\_loadpath(); ruby\_script(“embedded”); rb\_load\_file(“my\_script.rb”); ruby\_run(); /\* rest of my app here \*/ However, ruby is t…

---

## [Get Status Code of URL](https://www.ruby-forum.com/t/get-status-code-of-url/155963)

<div class="topic-metadata">

**Author:** [@desingurajan](https://www.ruby-forum.com/u/desingurajan)\
**Replies:** 3\
**Last updated:** [December 18, 2008, 5:51pm UTC](https://www.ruby-forum.com/t/get-status-code-of-url/155963 "2008-12-18T17:51:08Z")

</div>

url = URI.parse(“http://www.google.com/”) @req = Net::HTTP.new(url.host) @req.start() do |req| x = req.head(url.path) print x end It will print #Net::HTTPFound:0xe70e30 From Object x i am not able to get only the…

---

## [Define objects from classes in different files](https://www.ruby-forum.com/t/define-objects-from-classes-in-different-files/155917)

<div class="topic-metadata">

**Author:** [@leveille](https://www.ruby-forum.com/u/leveille)\
**Replies:** 3\
**Last updated:** [December 18, 2008, 5:30pm UTC](https://www.ruby-forum.com/t/define-objects-from-classes-in-different-files/155917 "2008-12-18T17:30:40Z")

</div>

Could someone help me with this little problem? I have a file called fruit2.rb which contains: class Fruit2 def taste “sweet” end end I want to use this class in a different file called fruit1.rb which contains: …

[Previous page](https://www.ruby-forum.com/c/ruby/7.md?page=939)

[Next page](https://www.ruby-forum.com/c/ruby/7.md?page=941)
