# Ruby

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

[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:** 993

---

## [\[IA-64\]BigDecimal#sqrt $B$N;EMM(B](https://www.ruby-forum.com/t/ia-64-bigdecimal-sqrt-b-n-emm-b/149816)

<div class="topic-metadata">

**Author:** [@TAKANO\_Mitsuhiro](https://www.ruby-forum.com/u/TAKANO_Mitsuhiro)\
**Replies:** 14\
**Last updated:** [October 15, 2008, 6:38am UTC](https://www.ruby-forum.com/t/ia-64-bigdecimal-sqrt-b-n-emm-b/149816 "2008-10-15T06:38:50Z")

</div>

e$B$3$s$K$A$Oe(B e$B9bLn$G$9!#e(B IA-64e$B$N%a%s%F$r$7$F$$$k$N$G$9$,!"e(BBigDecimal#sqrte$B$N%F%9%H$Ge(BFaile$B$7$F$\*$j!“e(B e$B$=$N860x$,$h$/$o$+$j$^$;$s!#e(B e$B\<1\<T$NJ}$N$40U8+$,$$$?$@$1$l$P$H;W$$!”%a!\<%k$5$;$F$$$…

---

## [Compiling Rails app/\*\*/\* to .class files](https://www.ruby-forum.com/t/compiling-rails-app-to-class-files/150556)

<div class="topic-metadata">

**Author:** [@iceburgh](https://www.ruby-forum.com/u/iceburgh)\
**Replies:** 15\
**Last updated:** [October 15, 2008, 3:59am UTC](https://www.ruby-forum.com/t/compiling-rails-app-to-class-files/150556 "2008-10-15T03:59:46Z")

</div>

Does anyone know if compiling rb files to class files using jrubyc works with Rails? Rich

---

## [AOT compile rails apps](https://www.ruby-forum.com/t/aot-compile-rails-apps/150914)

<div class="topic-metadata">

**Author:** [@sam](https://www.ruby-forum.com/u/sam)\
**Replies:** 2\
**Last updated:** [October 15, 2008, 2:24am UTC](https://www.ruby-forum.com/t/aot-compile-rails-apps/150914 "2008-10-15T02:24:24Z")

</div>

Hi, I got a question regarding jruby’s aot compile feature. Is it possible to ship an obfuscated rails app with it? I tried compiling only my controllers but I get an error regarding Invalid characters (see stacktrac…

---

## [Code Review: RubyFloatConversion1](https://www.ruby-forum.com/t/code-review-rubyfloatconversion1/150935)

<div class="topic-metadata">

**Author:** [@curthibbs](https://www.ruby-forum.com/u/curthibbs)\
**Replies:** 1\
**Last updated:** [October 15, 2008, 2:16am UTC](https://www.ruby-forum.com/t/code-review-rubyfloatconversion1/150935 "2008-10-15T02:16:12Z")

</div>

tfpt review “/shelveset:RubyFloatConversion1;REDMOND\\curth” Comment : Support for Float protocol conversion Implement some missing error types Want to do this now so Jim can use the conversions for his math checkin …

---

## [Code Review: mailrb](https://www.ruby-forum.com/t/code-review-mailrb/150940)

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 2\
**Last updated:** [October 15, 2008, 2:00am UTC](https://www.ruby-forum.com/t/code-review-mailrb/150940 "2008-10-15T02:00:59Z")

</div>

tfpt review “/shelveset:mailrb;REDMOND\\jdeville” Comment : Modifies mail.rb to dump the email contents and location of the diff file if Outlook fails to respond JD http://blog.jredville.com

---

## [Re: Code Review: math](https://www.ruby-forum.com/t/re-code-review-math/150929)

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 1\
**Last updated:** [October 14, 2008, 11:58pm UTC](https://www.ruby-forum.com/t/re-code-review-math/150929 "2008-10-14T23:58:04Z")

</div>

Doh, forgot the diff. JD From: Jim D. Sent: Tuesday, October 14, 2008 2:49 PM To: IronRuby External Code R. Cc: removed\_email\_address@domain.invalid Subject: Code Review: math tfpt review “/shelveset:math;REDMOND\\…

---

## [Code Review: math](https://www.ruby-forum.com/t/code-review-math/150930)

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 0\
**Last updated:** [October 14, 2008, 11:53pm UTC](https://www.ruby-forum.com/t/code-review-math/150930 "2008-10-14T23:53:24Z")

</div>

tfpt review “/shelveset:math;REDMOND\\jdeville” Comment : Implements most of the missing math methods. Modifies specs around those. Math.erf and Math.erfc are still unimplemented, and all Math methods still don’t han…

---

## [Stray questions](https://www.ruby-forum.com/t/stray-questions/150918)

<div class="topic-metadata">

**Author:** [@peterkemp](https://www.ruby-forum.com/u/peterkemp)\
**Replies:** 1\
**Last updated:** [October 14, 2008, 10:55pm UTC](https://www.ruby-forum.com/t/stray-questions/150918 "2008-10-14T22:55:21Z")

</div>

Hi, I’ve been googling and go through the forum, and I can’t find the answers so some stray questions. A) If I have a render :partial is there a way to get rid of the trailing newline? \<%- and -%\> don’t work. Is th…

---

## [Get system name](https://www.ruby-forum.com/t/get-system-name/150894)

<div class="topic-metadata">

**Author:** [@Kless](https://www.ruby-forum.com/u/Kless)\
**Replies:** 8\
**Last updated:** [October 14, 2008, 9:55pm UTC](https://www.ruby-forum.com/t/get-system-name/150894 "2008-10-14T21:55:59Z")

</div>

Is there any method that returns the operating sytem being used?

---

## [User home](https://www.ruby-forum.com/t/user-home/150888)

<div class="topic-metadata">

**Author:** [@Kless](https://www.ruby-forum.com/u/Kless)\
**Replies:** 3\
**Last updated:** [October 14, 2008, 9:21pm UTC](https://www.ruby-forum.com/t/user-home/150888 "2008-10-14T21:21:51Z")

</div>

Is there any method to get the value of user home which in Linux would be stored in $HOME? Valid for windows and mac osx too

---

## [Apache / rails / proxy issue](https://www.ruby-forum.com/t/apache-rails-proxy-issue/150747)

<div class="topic-metadata">

**Author:** [@ADADAD](https://www.ruby-forum.com/u/ADADAD)\
**Replies:** 14\
**Last updated:** [October 14, 2008, 9:06pm UTC](https://www.ruby-forum.com/t/apache-rails-proxy-issue/150747 "2008-10-14T21:06:35Z")

</div>

hello, I posted this in Glassfish forum as well, but would see what you guys think. I am having trouble with routes and apache mod\_proxy\_balancer with Glassfish and Jruby rails application. Can anyone share how this…

---

## [What i can change to the design of my site?](https://www.ruby-forum.com/t/what-i-can-change-to-the-design-of-my-site/150907)

<div class="topic-metadata">

**Author:** [@elbandito](https://www.ruby-forum.com/u/elbandito)\
**Replies:** 0\
**Last updated:** [October 14, 2008, 9:03pm UTC](https://www.ruby-forum.com/t/what-i-can-change-to-the-design-of-my-site/150907 "2008-10-14T21:03:03Z")

</div>

http://zilnic.net/ is the website - it is a news website It is good the black bg ?

---

## [Remove only TRAILING whitespace](https://www.ruby-forum.com/t/remove-only-trailing-whitespace/150906)

<div class="topic-metadata">

**Author:** [@adistarmid](https://www.ruby-forum.com/u/adistarmid)\
**Replies:** 4\
**Last updated:** [October 14, 2008, 8:57pm UTC](https://www.ruby-forum.com/t/remove-only-trailing-whitespace/150906 "2008-10-14T20:57:04Z")

</div>

Is there any way to only remove trailing white space from a string. I have tried to use strip but that will also take off leading white space and I want to keep that. any help is appreciated

---

## [Code Review: Misc1](https://www.ruby-forum.com/t/code-review-misc1/150897)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 1\
**Last updated:** [October 14, 2008, 8:19pm UTC](https://www.ruby-forum.com/t/code-review-misc1/150897 "2008-10-14T20:19:32Z")

</div>

tfpt review “/shelveset:Misc1;REDMOND\\tomat” Replaces calls to Expression.Comma/Block with calls to AstFactory.Comma/Block that avoids copying and creating arrays of expressions. Fixes super call with no arguments. …

---

## [Autoload with rubygems?](https://www.ruby-forum.com/t/autoload-with-rubygems/150896)

<div class="topic-metadata">

**Author:** [@matt\_neuburg](https://www.ruby-forum.com/u/matt_neuburg)\
**Replies:** 0\
**Last updated:** [October 14, 2008, 7:46pm UTC](https://www.ruby-forum.com/t/autoload-with-rubygems/150896 "2008-10-14T19:46:36Z")

</div>

I’m sure this has been asked before but I couldn’t find an actual answer. This works: require ‘rubygems’ require ‘ruby-prof’ RubyProf.start This doesn’t: require ‘rubygems’ autoload(:RubyProf, ‘ruby-prof’) RubyP…

---

## [Re: Threads](https://www.ruby-forum.com/t/re-threads/150862)

<div class="topic-metadata">

**Author:** [@Phy\_P](https://www.ruby-forum.com/u/Phy_P)\
**Replies:** 5\
**Last updated:** [October 14, 2008, 7:26pm UTC](https://www.ruby-forum.com/t/re-threads/150862 "2008-10-14T19:26:38Z")

</div>

Never mind, I resolved the issue by reading a bit more. Sorry to waste the thread. Cheers, Phy

---

## [File hidden](https://www.ruby-forum.com/t/file-hidden/150889)

<div class="topic-metadata">

**Author:** [@Kless](https://www.ruby-forum.com/u/Kless)\
**Replies:** 1\
**Last updated:** [October 14, 2008, 6:54pm UTC](https://www.ruby-forum.com/t/file-hidden/150889 "2008-10-14T18:54:56Z")

</div>

Is there any way of create a hidden file without have any problem in windows systems? In linux would be inserting a point as ‘.hide’

---

## [BackgrounDRb release 1.1](https://www.ruby-forum.com/t/backgroundrb-release-1-1/150892)

<div class="topic-metadata">

**Author:** [@gnufied](https://www.ruby-forum.com/u/gnufied)\
**Replies:** 0\
**Last updated:** [October 14, 2008, 6:41pm UTC](https://www.ruby-forum.com/t/backgroundrb-release-1-1/150892 "2008-10-14T18:41:26Z")

</div>

Hi folks, BackgrounDRb 1.1 has been release. A brief rundown of changes include: \* Much better start/stop functioanlity for BackgrounDRb server daemon. Start/stop script should now detect running server and can h…

---

## [Non-Java user; using Java Classes in JRuby](https://www.ruby-forum.com/t/non-java-user-using-java-classes-in-jruby/150795)

<div class="topic-metadata">

**Author:** [@captaffy](https://www.ruby-forum.com/u/captaffy)\
**Replies:** 2\
**Last updated:** [October 14, 2008, 6:12pm UTC](https://www.ruby-forum.com/t/non-java-user-using-java-classes-in-jruby/150795 "2008-10-14T18:12:37Z")

</div>

Although I’m by no means the worlds best coder I’ve managed to get (with the help of several people on here!) JRuby + JDBC and JRuby-LDAP to do almost everything I want now. However I’m looking to replace some legacy …

---

## [Using Net SSH to issue command on remote windows XP](https://www.ruby-forum.com/t/using-net-ssh-to-issue-command-on-remote-windows-xp/150854)

<div class="topic-metadata">

**Author:** [@saritha](https://www.ruby-forum.com/u/saritha)\
**Replies:** 8\
**Last updated:** [October 14, 2008, 5:33pm UTC](https://www.ruby-forum.com/t/using-net-ssh-to-issue-command-on-remote-windows-xp/150854 "2008-10-14T17:33:59Z")

</div>

Hi, I want to issue window’s DOS commands like “dir, cp, del…” on a remote Windows XP machine. I have installed OPENSSH on the remote windows machine and trying to use the Net SSH. I cannot get any of the DOS comman…

---

## [Need help with win32-sapi](https://www.ruby-forum.com/t/need-help-with-win32-sapi/150627)

<div class="topic-metadata">

**Author:** [@alex-osu3](https://www.ruby-forum.com/u/alex-osu3)\
**Replies:** 1\
**Last updated:** [October 14, 2008, 5:05pm UTC](https://www.ruby-forum.com/t/need-help-with-win32-sapi/150627 "2008-10-14T17:05:59Z")

</div>

Hi all, I try to do some ‘text to speach’ stuff using win32-sapi. I run the example from the rdoc but I get the error info. I wonder how to fix it. Thanks, Li C:\\Users\\Alex\>irb irb(main):001:0\> require ‘win32/sapi…

---

## [Rubygame / RUDL / Gosu](https://www.ruby-forum.com/t/rubygame-rudl-gosu/150855)

<div class="topic-metadata">

**Author:** [@Jakub\_PavlSSS\_k](https://www.ruby-forum.com/u/Jakub_PavlSSS_k)\
**Replies:** 1\
**Last updated:** [October 14, 2008, 5:04pm UTC](https://www.ruby-forum.com/t/rubygame-rudl-gosu/150855 "2008-10-14T17:04:42Z")

</div>

Hello, I work on a few ruby games just for fun and use RUDL as my display library. It seems Rubygame and Gosu are more popular than RUDL. Does anybody know why? (When I was trying to use rubygame cca two years ago, i…

---

## [Why the object doesn't respond to its method?](https://www.ruby-forum.com/t/why-the-object-doesnt-respond-to-its-method/150757)

<div class="topic-metadata">

**Author:** [@alex-osu3](https://www.ruby-forum.com/u/alex-osu3)\
**Replies:** 8\
**Last updated:** [October 14, 2008, 4:59pm UTC](https://www.ruby-forum.com/t/why-the-object-doesnt-respond-to-its-method/150757 "2008-10-14T16:59:51Z")

</div>

Hi all, I want to find out if an object responses to a method. while I can tell that the excel object(in this script) responses to method ‘Visible or visible’, my codes DO NOT come true. Any idea? Thank very much, L…

---

## [Scaleout sessionserver](https://www.ruby-forum.com/t/scaleout-sessionserver/150883)

<div class="topic-metadata">

**Author:** [@ADADAD](https://www.ruby-forum.com/u/ADADAD)\
**Replies:** 0\
**Last updated:** [October 14, 2008, 4:58pm UTC](https://www.ruby-forum.com/t/scaleout-sessionserver/150883 "2008-10-14T16:58:13Z")

</div>

anyone use scaleout session for caching with JRuby ? http://www.scaleoutsoftware.com/support/stateServer/soss\_JNCdoc/index.html Looking at some memcache alternatives and came across this. Adam

---

## [How to open a file with win32ole](https://www.ruby-forum.com/t/how-to-open-a-file-with-win32ole/150829)

<div class="topic-metadata">

**Author:** [@alex-osu3](https://www.ruby-forum.com/u/alex-osu3)\
**Replies:** 2\
**Last updated:** [October 14, 2008, 4:53pm UTC](https://www.ruby-forum.com/t/how-to-open-a-file-with-win32ole/150829 "2008-10-14T16:53:16Z")

</div>

Hi all, I want to open a file via win32ole. I find the method ‘Open’ there but always get error feedback. I wonder if anyone can give me a hand. Thanks, Li ######################## require ‘win32ole’ fs=WIN32OLE.n…

---

## [Segmentation fault in eval](https://www.ruby-forum.com/t/segmentation-fault-in-eval/150567)

<div class="topic-metadata">

**Author:** [@Kazuhiro\_NISHIYAMA](https://www.ruby-forum.com/u/Kazuhiro_NISHIYAMA)\
**Replies:** 3\
**Last updated:** [October 14, 2008, 4:28pm UTC](https://www.ruby-forum.com/t/segmentation-fault-in-eval/150567 "2008-10-14T16:28:16Z")

</div>

e$B@\>;3OB9-$G$9!#e(B http://d.hatena.ne.jp/mamamoto/20081007/1223349255 e$B$N%9%/%j%W%H$r85$K$$$8$C$F$$$?$ie(Bs="n=$\*"e$B$GMn$A$^$7$?!#e(B e$B:G\>.$^$G$O9J$C$F$$$^$;$s$,!“$”$kDxEY9J$j$3$s$Ge(B e$B:F8=%9%/%j%W%H$O0J2\<$…

---

## [Visual studio 2005](https://www.ruby-forum.com/t/visual-studio-2005/150811)

<div class="topic-metadata">

**Author:** [@kuyarico](https://www.ruby-forum.com/u/kuyarico)\
**Replies:** 6\
**Last updated:** [October 14, 2008, 3:09pm UTC](https://www.ruby-forum.com/t/visual-studio-2005/150811 "2008-10-14T15:09:59Z")

</div>

Hi guys, I am newbie for ruby, but I used vs studio for long time. I searched this forum for informations about how to build exentions for buy with visual studio 2005 (c++), but I didn’t get a clear answer, could anyo…

---

## [\[Bug #644\] compile error on win32ole with VC++6](https://www.ruby-forum.com/t/bug-644-compile-error-on-win32ole-with-vc-6/150842)

<div class="topic-metadata">

**Author:** [@Usaku\_NAKAMURA](https://www.ruby-forum.com/u/Usaku_NAKAMURA)\
**Replies:** 4\
**Last updated:** [October 14, 2008, 2:47pm UTC](https://www.ruby-forum.com/t/bug-644-compile-error-on-win32ole-with-vc-6/150842 "2008-10-14T14:47:47Z")

</div>

Bug #644: compile error on win32ole with VC++6 http://redmine.ruby-lang.org/issues/show/644 e$B5/I\<\<Te(B: Usaku NAKAMURA e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: High e$B%+%F%4%je(B: ext, Target version: 1.9.x e$BI=Bj$…

---

## [Test\_rubyoptions.rb](https://www.ruby-forum.com/t/test-rubyoptions-rb/150846)

<div class="topic-metadata">

**Author:** [@TAKANO\_Mitsuhiro](https://www.ruby-forum.com/u/TAKANO_Mitsuhiro)\
**Replies:** 4\
**Last updated:** [October 14, 2008, 2:39pm UTC](https://www.ruby-forum.com/t/test-rubyoptions-rb/150846 "2008-10-14T14:39:33Z")

</div>

ã“ã‚“ã«ã¡ã¯ é«˜é‡Žã§ã™ã€‚ test/ruby/test\_rubyoptions.rb ã§Failã—ã¦ã„ãŸã®ã§ã¡ã‚‡ã£ã¨è¦‹ã¦ã¿ã¾ã—ãŸã€‚ ãƒªãƒ†ãƒ©ãƒ«ã®è¨˜è¿°ãƒŸã‚¹ã‹ãªï¼Ÿ

---

## [Actual directory](https://www.ruby-forum.com/t/actual-directory/150876)

<div class="topic-metadata">

**Author:** [@Kless](https://www.ruby-forum.com/u/Kless)\
**Replies:** 1\
**Last updated:** [October 14, 2008, 2:09pm UTC](https://www.ruby-forum.com/t/actual-directory/150876 "2008-10-14T14:09:48Z")

</div>

Why is used File.dirname(FILE) instead of simply ‘.’ ?

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

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