# Ruby

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

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

---

## [Re net::http and htaccess](https://www.ruby-forum.com/t/re-net-http-and-htaccess/95794)

<div class="topic-metadata">

**Author:** [@beachguy82](https://www.ruby-forum.com/u/beachguy82)\
**Replies:** 0\
**Last updated:** [June 13, 2006, 9:07pm UTC](https://www.ruby-forum.com/t/re-net-http-and-htaccess/95794 "2006-06-13T21:07:53Z")

</div>

I should of googled authentication instead of htaccess. Sorry for the noise. Here is the solution Basic Authentication require 'net/http' Net::HTTP.start('www.example.com') {|http| req = Net::HTTP::Get.new('/secr…

---

## [Net::http and htaccess](https://www.ruby-forum.com/t/net-http-and-htaccess/63279)

<div class="topic-metadata">

**Author:** [@beachguy82](https://www.ruby-forum.com/u/beachguy82)\
**Replies:** 0\
**Last updated:** [June 13, 2006, 9:04pm UTC](https://www.ruby-forum.com/t/net-http-and-htaccess/63279 "2006-06-13T21:04:28Z")

</div>

I’m writing a script to parse a web page that’s protected by htaccess ( my stats page on my web host) and I’m not sure how to get in if the page requires htaccess. Can someone point me to a guide for this? I’m fine …

---

## [Emacs extension?](https://www.ruby-forum.com/t/emacs-extension/63243)

<div class="topic-metadata">

**Author:** [@pgundlach](https://www.ruby-forum.com/u/pgundlach)\
**Replies:** 2\
**Last updated:** [June 13, 2006, 8:28pm UTC](https://www.ruby-forum.com/t/emacs-extension/63243 "2006-06-13T20:28:18Z")

</div>

Hello Rubyists, I code ruby within emacs and I sometimes run scripts within emacs by running (shell-command-on-region (point-min) (point-max) “ruby -w”) When the script throws errors, emacs outputs lines like these i…

---

## [Understanding net/imap and multi-part e-mails](https://www.ruby-forum.com/t/understanding-net-imap-and-multi-part-e-mails/63222)

<div class="topic-metadata">

**Author:** [@edlau](https://www.ruby-forum.com/u/edlau)\
**Replies:** 2\
**Last updated:** [June 13, 2006, 7:40pm UTC](https://www.ruby-forum.com/t/understanding-net-imap-and-multi-part-e-mails/63222 "2006-06-13T19:40:02Z")

</div>

Hello: I would like to use Net::IMAP to connect to an IMAP server and produce a list of unread mail messages. For each message, I would like to know 1) the sender, 2) the subject and 3) a snippet of the body (i.e., fi…

---

## [Ruby for Highschoolers?](https://www.ruby-forum.com/t/ruby-for-highschoolers/63082)

<div class="topic-metadata">

**Author:** [@Nicholas\_E](https://www.ruby-forum.com/u/Nicholas_E)\
**Replies:** 68\
**Last updated:** [June 13, 2006, 7:30pm UTC](https://www.ruby-forum.com/t/ruby-for-highschoolers/63082 "2006-06-13T19:30:35Z")

</div>

Howdy list, I’m a highschool student with a very high chance of ending up student-teaching the Programming I course during the 07-08 schoolyear. This year was the first year for the course, and Scheme was used. Howev…

---

## [Net::IMAP && http://rubyforge.org/projects/rubyntlm/](https://www.ruby-forum.com/t/net-imap-http-rubyforge-org-projects-rubyntlm/63274)

<div class="topic-metadata">

**Author:** [@lycanthrope](https://www.ruby-forum.com/u/lycanthrope)\
**Replies:** 0\
**Last updated:** [June 13, 2006, 7:18pm UTC](https://www.ruby-forum.com/t/net-imap-http-rubyforge-org-projects-rubyntlm/63274 "2006-06-13T19:18:05Z")

</div>

Has anyone successfully incorporated http://rubyforge.org/projects/rubyntlm/ with Net::IMAP? I’d like to utilize a ruby script to background some IMAP searches on my mailbox. Thanks, reid

---

## [Getting a list of aliases](https://www.ruby-forum.com/t/getting-a-list-of-aliases/63072)

<div class="topic-metadata">

**Author:** [@danielb](https://www.ruby-forum.com/u/danielb)\
**Replies:** 5\
**Last updated:** [June 13, 2006, 6:54pm UTC](https://www.ruby-forum.com/t/getting-a-list-of-aliases/63072 "2006-06-13T18:54:55Z")

</div>

Hi all, Is there a way to get a list of instance method aliases somehow? Hypothetical syntax Array.instance\_method\_aliases # \[‘size’, ‘map’, …\] If not, I think it would be a nice little bit of extra inspection I coul…

---

## [Http#get return 404 error](https://www.ruby-forum.com/t/http-get-return-404-error/63263)

<div class="topic-metadata">

**Author:** [@Lian\_Y](https://www.ruby-forum.com/u/Lian_Y)\
**Replies:** 3\
**Last updated:** [June 13, 2006, 6:41pm UTC](https://www.ruby-forum.com/t/http-get-return-404-error/63263 "2006-06-13T18:41:55Z")

</div>

Hi, I tried to use http#get(“About the MLA | Modern Language Association”) to obtain the page, but it returns a 404 error. However, using browser works fine. I guess the server uses “struts” or similar framework. Wo…

---

## [Rockit 0.8.0](https://www.ruby-forum.com/t/rockit-0-8-0/95784)

<div class="topic-metadata">

**Author:** [@goku2](https://www.ruby-forum.com/u/goku2)\
**Replies:** 0\
**Last updated:** [June 13, 2006, 5:43pm UTC](https://www.ruby-forum.com/t/rockit-0-8-0/95784 "2006-06-13T17:43:10Z")

</div>

Does anyone know when is rockit 0.8.0 going to be released? I’ve been playing around with 0.7.2 and it look great but it looks like it doesn’t have error reporting or some kind of error recovery mechanism… Packrat par…

---

## [PDF with different encoding than default](https://www.ruby-forum.com/t/pdf-with-different-encoding-than-default/95782)

<div class="topic-metadata">

**Author:** [@bmihelac](https://www.ruby-forum.com/u/bmihelac)\
**Replies:** 0\
**Last updated:** [June 13, 2006, 4:36pm UTC](https://www.ruby-forum.com/t/pdf-with-different-encoding-than-default/95782 "2006-06-13T16:36:35Z")

</div>

Hi, sorry for double posting this but Has ANYONE succeeded creating with PDF::Writer which includes other characters than adobe default encodings (I need Latin2 characters ¹ðèæ¾ but I guess the process is the same for…

---

## [Re: Problem with win32ole, sapi5](https://www.ruby-forum.com/t/re-problem-with-win32ole-sapi5/63248)

<div class="topic-metadata">

**Author:** [@kivle](https://www.ruby-forum.com/u/kivle)\
**Replies:** 0\
**Last updated:** [June 13, 2006, 4:01pm UTC](https://www.ruby-forum.com/t/re-problem-with-win32ole-sapi5/63248 "2006-06-13T16:01:10Z")

</div>

Hi, Thanks for the reply. Glad it wasn’t me messing up something. It had me scratching my head for a long time. :wink: I’ll fall back to using the command line application for now. Luckily win32ole has no problem fun…

---

## [Gtk:::Dialog#run blocks updates](https://www.ruby-forum.com/t/gtk-dialog-run-blocks-updates/63246)

<div class="topic-metadata">

**Author:** [@Farrel\_L](https://www.ruby-forum.com/u/Farrel_L)\
**Replies:** 0\
**Last updated:** [June 13, 2006, 3:54pm UTC](https://www.ruby-forum.com/t/gtk-dialog-run-blocks-updates/63246 "2006-06-13T15:54:44Z")

</div>

Hi all, I’m busy using Ruby/GTK to popup a window showing a progress bar. The Gtk::ProgressBar object is inside a Gtk::Dialog. I run the dialog in one thread and then update it’s progress in another (calling progress…

---

## [Problem with win32ole, sapi5](https://www.ruby-forum.com/t/problem-with-win32ole-sapi5/54545)

<div class="topic-metadata">

**Author:** [@danielb](https://www.ruby-forum.com/u/danielb)\
**Replies:** 5\
**Last updated:** [June 13, 2006, 3:25pm UTC](https://www.ruby-forum.com/t/problem-with-win32ole-sapi5/54545 "2006-06-13T15:25:26Z")

</div>

Hi all, Ruby 1.8.4 (both installer and hand built) win32-sapi 0.1.3 Why does my attempt to set the voice fail? C:\\eclipse\\workspace\\win32-sapi\>c:\\ruby184\\bin\\irb irb(main):001:0\> require ‘win32/sapi5’ =\> true irb(…

---

## [Troubles Extending IRB](https://www.ruby-forum.com/t/troubles-extending-irb/63242)

<div class="topic-metadata">

**Author:** [@mhinton](https://www.ruby-forum.com/u/mhinton)\
**Replies:** 0\
**Last updated:** [June 13, 2006, 2:44pm UTC](https://www.ruby-forum.com/t/troubles-extending-irb/63242 "2006-06-13T14:44:14Z")

</div>

Hi, I’m having troubles extending IRB and the purpose for me trying to extend to IRB is so that I can integrate it into a GTK widget. If anyone has seen the infamous Python console in gedit and Epiphany (http://rapha…

---

## [Ugly ruby code](https://www.ruby-forum.com/t/ugly-ruby-code/95774)

<div class="topic-metadata">

**Author:** [@arnaud](https://www.ruby-forum.com/u/arnaud)\
**Replies:** 13\
**Last updated:** [June 13, 2006, 2:38pm UTC](https://www.ruby-forum.com/t/ugly-ruby-code/95774 "2006-06-13T14:38:00Z")

</div>

Hello! When I look at this method and when I think to pursuit of beauty thanks Ruby, I think I could do a nicer bunch of code… I would like to seperate racks already added in the showed room and the others Here is t…

---

## [Can you build large applications using Ruby?](https://www.ruby-forum.com/t/can-you-build-large-applications-using-ruby/95776)

<div class="topic-metadata">

**Author:** [@lassethomsen](https://www.ruby-forum.com/u/lassethomsen)\
**Replies:** 1\
**Last updated:** [June 13, 2006, 2:27pm UTC](https://www.ruby-forum.com/t/can-you-build-large-applications-using-ruby/95776 "2006-06-13T14:27:29Z")

</div>

Hi. I have been reading all this hype about Rails, and as a webframe it is quiet promising. And we are consindering basing more of our products on Rails, but since some of our products are used as both web and standa…

---

## [Re: Getting a list of Processes](https://www.ruby-forum.com/t/re-getting-a-list-of-processes/95779)

<div class="topic-metadata">

**Author:** [@PeSSSSaS\_Botp](https://www.ruby-forum.com/u/PeSSSSaS_Botp)\
**Replies:** 1\
**Last updated:** [June 13, 2006, 1:50pm UTC](https://www.ruby-forum.com/t/re-getting-a-list-of-processes/95779 "2006-06-13T13:50:19Z")

</div>

fr Reggie Mr: Here it is…I think this is what you were looking for. It displays all of the properties for a WMI Class. require ‘win32ole’ class MyClass def get\_process\_info() procs = WIN32OLE.connect(“winmgmts:\\\\.”) r…

---

## [Win32](https://www.ruby-forum.com/t/win32/95738)

<div class="topic-metadata">

**Author:** [@Romuald\_du\_Song](https://www.ruby-forum.com/u/Romuald_du_Song)\
**Replies:** 2\
**Last updated:** [June 13, 2006, 11:35am UTC](https://www.ruby-forum.com/t/win32/95738 "2006-06-13T11:35:12Z")

</div>

Hye, I’m looking for a way to log off a user in windows XP through a ruby script. The script is a windows service running with ruby win32/service package. I was not able to find any win32 module handling this functio…

---

## [Several problems on the big commit](https://www.ruby-forum.com/t/several-problems-on-the-big-commit/63074)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 3\
**Last updated:** [June 13, 2006, 11:31am UTC](https://www.ruby-forum.com/t/several-problems-on-the-big-commit/63074 "2006-06-13T11:31:56Z")

</div>

e$B7o$NBg$-$J%3%%C%H$r$6$C$HD/$a$F$$?$N$G$9$,!"e(B % ./ruby -ve ’ def m(a, b=:b, \*c, d) p \[a,b,c,d\] end m(:x, :y) ’ ruby 1.9.0 (2006-06-11) \[i686-linux\] -e:2:in \`m’: wrong number of arguments (ArgumentError) fro…

---

## [Re: win32-open3 module: giving a name to a Process](https://www.ruby-forum.com/t/re-win32-open3-module-giving-a-name-to-a-process/63206)

<div class="topic-metadata">

**Author:** [@Jatinder\_S](https://www.ruby-forum.com/u/Jatinder_S)\
**Replies:** 2\
**Last updated:** [June 13, 2006, 10:16am UTC](https://www.ruby-forum.com/t/re-win32-open3-module-giving-a-name-to-a-process/63206 "2006-06-13T10:16:42Z")

</div>

Hi, Now I need to create a process with a name(the process is an instance of webrick server). I can create a webrick instance using following command,(this is not a blocking call, it returns immediately…thats what I …

---

## [Unsubscribe](https://www.ruby-forum.com/t/unsubscribe/95773)

<div class="topic-metadata">

**Author:** [@Shubhra](https://www.ruby-forum.com/u/Shubhra)\
**Replies:** 1\
**Last updated:** [June 13, 2006, 9:02am UTC](https://www.ruby-forum.com/t/unsubscribe/95773 "2006-06-13T09:02:06Z")

</div>

unsubscribe – Intelligence is the ability to avoid doing work, yet getting the work done. -Linus Torvalds

---

## [Milwaukee RUG Meeting July 12th at 5:30 - 7:30 pm](https://www.ruby-forum.com/t/milwaukee-rug-meeting-july-12th-at-5-30-7-30-pm/63213)

<div class="topic-metadata">

**Author:** [@tomjerry](https://www.ruby-forum.com/u/tomjerry)\
**Replies:** 0\
**Last updated:** [June 13, 2006, 8:46am UTC](https://www.ruby-forum.com/t/milwaukee-rug-meeting-july-12th-at-5-30-7-30-pm/63213 "2006-06-13T08:46:37Z")

</div>

The Milwaukee Ruby U.'s Group had a great kick-off meeting. Meeting Notes =\> http://tinyurl.com/eg78h You are invited to our July Meeting. Date: July 12, 2006 - Wednesday Time: 5:30 - 7:30 p.m. Location: SpiderLogic…

---

## [Re: Getting a list of Processes](https://www.ruby-forum.com/t/re-getting-a-list-of-processes/63097)

<div class="topic-metadata">

**Author:** [@PeSSSSaS\_Botp](https://www.ruby-forum.com/u/PeSSSSaS_Botp)\
**Replies:** 2\
**Last updated:** [June 13, 2006, 8:41am UTC](https://www.ruby-forum.com/t/re-getting-a-list-of-processes/63097 "2006-06-13T08:41:39Z")

</div>

fr Brad: Sure, no problem… also, you can list more than the process name. I like to show the PID and the executablepath, etc. Here are other process items you might like to examine: class Win32\_Process : CIM\_Process { s…

---

## [(no subject)](https://www.ruby-forum.com/t/no-subject/95770)

<div class="topic-metadata">

**Author:** [@Hidetsugu\_Tomita](https://www.ruby-forum.com/u/Hidetsugu_Tomita)\
**Replies:** 0\
**Last updated:** [June 13, 2006, 8:18am UTC](https://www.ruby-forum.com/t/no-subject/95770 "2006-06-13T08:18:30Z")

</div>

unsubscribe

---

## [IRB and Eclipse](https://www.ruby-forum.com/t/irb-and-eclipse/63150)

<div class="topic-metadata">

**Author:** [@rpw](https://www.ruby-forum.com/u/rpw)\
**Replies:** 3\
**Last updated:** [June 13, 2006, 6:12am UTC](https://www.ruby-forum.com/t/irb-and-eclipse/63150 "2006-06-13T06:12:17Z")

</div>

How can I setup an Interactive Ruby (irb) console within Eclipse? I know one already exist with RadRails, but I need one with plain old Eclipse. Thanks

---

## [Emulating Browser Session (like Curl)?](https://www.ruby-forum.com/t/emulating-browser-session-like-curl/63194)

<div class="topic-metadata">

**Author:** [@joe](https://www.ruby-forum.com/u/joe)\
**Replies:** 2\
**Last updated:** [June 13, 2006, 5:52am UTC](https://www.ruby-forum.com/t/emulating-browser-session-like-curl/63194 "2006-06-13T05:52:17Z")

</div>

I have a process that I want to emulate: login (and remember cookies set) access pages that require being logged in With Curl, it’s pretty easy: curl -c cookies -d “username=joe&password=12345” secret.com/login curl…

---

## [Re: Getting a list of Processes](https://www.ruby-forum.com/t/re-getting-a-list-of-processes/95769)

<div class="topic-metadata">

**Author:** [@PeSSSSaS\_Botp](https://www.ruby-forum.com/u/PeSSSSaS_Botp)\
**Replies:** 0\
**Last updated:** [June 13, 2006, 4:54am UTC](https://www.ruby-forum.com/t/re-getting-a-list-of-processes/95769 "2006-06-13T04:54:15Z")

</div>

fr Brad: I do it in Python (with the wmi module) like this: c = wmi.WMI() for item in c.Win32\_Process(): print item great. maybe you can peep in thru the py code and see how they do it. I don’t know who to contact abou…

---

## [Re: Ruby and Windows Vista](https://www.ruby-forum.com/t/re-ruby-and-windows-vista/63198)

<div class="topic-metadata">

**Author:** [@Barry\_B](https://www.ruby-forum.com/u/Barry_B)\
**Replies:** 0\
**Last updated:** [June 13, 2006, 4:53am UTC](https://www.ruby-forum.com/t/re-ruby-and-windows-vista/63198 "2006-06-13T04:53:42Z")

</div>

I got Ruby on Rails running successfully on Vista Beta 2 a few weeks ago. (I had no luck with Beta 1.) Recently my copy of Vista Beta 2 is telling me that the activation (online with Microsoft) isn’t working, so now I…

---

## [Self nesting array \[\[...\]\]](https://www.ruby-forum.com/t/self-nesting-array/95717)

<div class="topic-metadata">

**Author:** [@Meinrad\_R](https://www.ruby-forum.com/u/Meinrad_R)\
**Replies:** 4\
**Last updated:** [June 13, 2006, 3:25am UTC](https://www.ruby-forum.com/t/self-nesting-array/95717 "2006-06-13T03:25:31Z")

</div>

Dear list, I had the crazy idea to infinitely nest an array. At first I did expect to get an overflow of some sort or a strang error message when trying to inspect it but none of it happened: a=\[\]; a\[0\]=a =\> \[\[…\]\] …

---

## [Ruby and Windows Vista](https://www.ruby-forum.com/t/ruby-and-windows-vista/63189)

<div class="topic-metadata">

**Author:** [@rjlyders](https://www.ruby-forum.com/u/rjlyders)\
**Replies:** 1\
**Last updated:** [June 13, 2006, 2:58am UTC](https://www.ruby-forum.com/t/ruby-and-windows-vista/63189 "2006-06-13T02:58:11Z")

</div>

Is anyone running Ruby on the new Windows Vista beta? Any gotchas? My laptop came back today and I’m in the process of installing Vista on it to try it out and would be nice if it played nice with Ruby and Rails etc… …

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

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