[#354233] Ruby & IRC — Rajinder Yadav <devguy.ca@...>

Hi I am thinking about playing around with IRC Internert Relay Chat

16 messages 2010/01/01

[#354265] "Dummy" IO object to push and pull data? — Shay Hawkins <gohegdeh@...>

Hello,

35 messages 2010/01/02
[#354266] Re: "Dummy" IO object to push and pull data? — Ryan Davis <ryand-ruby@...> 2010/01/02

[#354273] Re: "Dummy" IO object to push and pull data? — Shay Hawkins <gohegdeh@...> 2010/01/02

Ryan Davis wrote:

[#354303] Re: "Dummy" IO object to push and pull data? — Brian Candler <b.candler@...> 2010/01/02

Shay Hawkins wrote:

[#354308] Re: "Dummy" IO object to push and pull data? — Brian Candler <b.candler@...> 2010/01/02

Oh, and there is also IO.pipe, which is unidirectional under most Unix

[#354309] Re: "Dummy" IO object to push and pull data? — Shay Hawkins <gohegdeh@...> 2010/01/02

Brian Candler wrote:

[#354311] Re: "Dummy" IO object to push and pull data? — Caleb Clausen <vikkous@...> 2010/01/03

On 1/2/10, Shay Hawkins <gohegdeh@comcast.net> wrote:

[#354352] Re: "Dummy" IO object to push and pull data? — Shay Hawkins <gohegdeh@...> 2010/01/03

Caleb Clausen wrote:

[#354354] Re: "Dummy" IO object to push and pull data? — Tony Arcieri <tony@...> 2010/01/03

On Sun, Jan 3, 2010 at 3:07 PM, Shay Hawkins <gohegdeh@comcast.net> wrote:

[#354358] Re: "Dummy" IO object to push and pull data? — Shay Hawkins <gohegdeh@...> 2010/01/04

Tony Arcieri wrote:

[#354383] Re: "Dummy" IO object to push and pull data? — Brian Candler <b.candler@...> 2010/01/04

Shay Hawkins wrote:

[#354402] Re: "Dummy" IO object to push and pull data? — Shay Hawkins <gohegdeh@...> 2010/01/04

Brian Candler wrote:

[#354381] Is ruby's regex slower? — Ruby Newbee <rubynewbee@...>

Hi,

33 messages 2010/01/04
[#354384] Re: Is ruby's regex slower? — Josh Cheek <josh.cheek@...> 2010/01/04

On Mon, Jan 4, 2010 at 2:54 AM, Ruby Newbee <rubynewbee@gmail.com> wrote:

[#354387] Re: Is ruby's regex slower? — Wybo Dekker <wybo@...> 2010/01/04

[#354433] Re: Is ruby's regex slower? — Roger Pack <rogerpack2005@...> 2010/01/04

[#354448] Re: Is ruby's regex slower? — Kornelius Kalnbach <murphy@...> 2010/01/05

Roger Pack wrote:

[#354453] Re: Is ruby's regex slower? — Marnen Laibow-Koser <marnen@...> 2010/01/05

Kornelius Kalnbach wrote:

[#354461] Re: Is ruby's regex slower? — Robert Klemme <shortcutter@...> 2010/01/05

On 01/05/2010 12:37 PM, Marnen Laibow-Koser wrote:

[#354519] group in the array — Kolya17 Kolya17 <lastdrv@...>

Hi!

15 messages 2010/01/06

[#354619] Non-blocking communication between Ruby processes — Iñaki Baz Castillo <ibc@...>

Hi, I run Unicorn which is a Rack http server using N forked worker process=

30 messages 2010/01/07
[#354622] Re: Non-blocking communication between Ruby processes — Robert Klemme <shortcutter@...> 2010/01/07

On 01/07/2010 02:18 PM, I=F1aki Baz Castillo wrote:

[#354625] Re: Non-blocking communication between Ruby processes — Iki Baz Castillo <ibc@...> 2010/01/07

El Jueves, 7 de Enero de 2010, Robert Klemme escribi=F3:

[#354640] Re: Non-blocking communication between Ruby processes — Robert Klemme <shortcutter@...> 2010/01/07

On 01/07/2010 03:07 PM, I=F1aki Baz Castillo wrote:

[#354643] Re: Non-blocking communication between Ruby processes — Iki Baz Castillo <ibc@...> 2010/01/07

El Jueves, 7 de Enero de 2010, Robert Klemme escribi=F3:

[#354645] Re: Non-blocking communication between Ruby processes — Iki Baz Castillo <ibc@...> 2010/01/07

El Jueves, 7 de Enero de 2010, I=F1aki Baz Castillo escribi=F3:

[#354656] Stopping String Escaping. — Phil Cooper-king <phil@...>

Hi,

14 messages 2010/01/07
[#354664] Re: Stopping String Escaping. — Brian Candler <b.candler@...> 2010/01/07

Phil Cooper-king wrote:

[#354746] Ruby editing style rules and recommendation? — Nathan Oyama <nate@...>

I asked a question 'Decimal in for loop?' and two members were kind

12 messages 2010/01/09

[#354781] The Ruby GUI debacle — Ruby Student <ruby.student@...>

Team,

40 messages 2010/01/10
[#354794] Re: The Ruby GUI debacle — James Britt <james.britt@...> 2010/01/10

Ruby Student wrote:

[#354803] Re: The Ruby GUI debacle — Ruby Student <ruby.student@...> 2010/01/11

James, I don't remember if the problems was with Netbeans or something

[#354825] Re: The Ruby GUI debacle — Florian Gilcher <flo@...> 2010/01/11

>=20

[#354874] bellhop 1.0.0 released — Gregory Brown <gregory.t.brown@...>

Hi folks,

12 messages 2010/01/11

[#354901] How to close a TCP socket? (TCPSocket#close doesn't close it) — Iñaki Baz Castillo <ibc@...>

Hi, perhaps I miss something but when I close a TCP connection using=20

8 messages 2010/01/12

[#354910] Is 'rescue' expensive ? — "R. Kumar" <sentinel.2001@...>

If i use something like:

12 messages 2010/01/12

[#354915] 3D with Ruby (Ogre ?) — Marc-antoine Kruzik <kadelfek@...>

Hello, I'm french, sorry for my mistakes.

24 messages 2010/01/12
[#354920] Re: 3D with Ruby (Ogre ?) — Brian Candler <b.candler@...> 2010/01/12

Marc-antoine Kruzik wrote:

[#354945] NOOB Question on Instance Variable — BlueHandTalking <jet@...>

I have a class photo. It belongs_to a project.

13 messages 2010/01/12

[#354974] WIN32OLE memory leaks — Chuck Remes <cremes.devlist@...>

In my ruby code I am making a call out to a COM object that is

21 messages 2010/01/12
[#354979] Re: WIN32OLE memory leaks — Luis Lavena <luislavena@...> 2010/01/12

On Jan 12, 6:19=A0pm, Chuck Remes <cremes.devl...@mac.com> wrote:

[#355014] Re: WIN32OLE memory leaks — Chuck Remes <cremes.devlist@...> 2010/01/13

[#355002] Ruby Regex — Sriram Varahan <sriram.varahan@...>

Hello,

15 messages 2010/01/13

[#355036] Recommended Reading (also: Arrays/Hashes) — Zach Bartels <no@...>

Hi all,

20 messages 2010/01/13

[#355085] How to know the OS architecture (32 or 64 bits)? — Iñaki Baz Castillo <ibc@...>

Hi, is there a reliable way under Ruby to know the OS architecture (32 or 6=

27 messages 2010/01/14
[#355136] Re: How to know the OS architecture (32 or 64 bits)? — Walton Hoops <walton@...> 2010/01/15

On 1/14/2010 4:12 PM, I単aki Baz Castillo wrote:

[#355138] Re: How to know the OS architecture (32 or 64 bits)? — Walton Hoops <walton@...> 2010/01/15

On 1/15/2010 9:36 AM, Walton Hoops wrote:

[#355142] Re: How to know the OS architecture (32 or 64 bits)? — Iñaki Baz Castillo <ibc@...> 2010/01/15

El Viernes, 15 de Enero de 2010, Walton Hoops escribi=C3=B3:

[#355143] Re: How to know the OS architecture (32 or 64 bits)? — Iñaki Baz Castillo <ibc@...> 2010/01/15

El Viernes, 15 de Enero de 2010, I=C3=B1aki Baz Castillo escribi=C3=B3:

[#355159] Re: How to know the OS architecture (32 or 64 bits)? — Walton Hoops <walton@...> 2010/01/15

On 1/15/2010 9:59 AM, I単aki Baz Castillo wrote:

[#355102] Float Points error — "THAKUR PRASHANT SINGH" <Prashant_Singh.Thakur@...>

Hi,

13 messages 2010/01/15

[#355228] GPGME gem - cannot figure out how to decrypt data — Daniel Frank <ruby-talk-2597@...>

Hello,

11 messages 2010/01/17

[#355266] Can't install gems (Windows) — Sal <salbass575@...>

I am unable to install any gems now on my Windows 7 machine running

25 messages 2010/01/17

[#355281] basic question: passing a modifiable argument to a routine — lalawawa <usenet@...>

Arguments to subroutines seem to be passed by value in ruby

10 messages 2010/01/18

[#355392] Creating GUI applications with Ruby 1.9.1 — Alpha Blue <jdezenzio@...>

I'm wanting to port over a GUI app I created into ruby so that it

24 messages 2010/01/19

[#355461] Looking for object.inherits?(Classname) — Xeno Campanoli <xeno.campanoli@...>

I'm looking for a way to make sure an object being passed is in some class

13 messages 2010/01/20

[#355487] Best practices when writing destructive code — Adam Akhtar <adamtemporary@...>

Im going to be making and removing lots of directories using ruby and Im

10 messages 2010/01/20

[#355530] ruby bounties--list of bounties — Roger Pack <rogerdpack2@...>

Fifth time's a charm (durn spam filters)

34 messages 2010/01/21
[#355574] Re: [ANN] ruby bounties--list of bounties — Charles Oliver Nutter <headius@...> 2010/01/21

On Thu, Jan 21, 2010 at 12:07 AM, Roger Pack <rogerdpack2@gmail.com> wrote:

[#355739] Re: ruby bounties--list of bounties — Roger Pack <rogerpack2005@...> 2010/01/24

[#355742] Re: ruby bounties--list of bounties — Charles Oliver Nutter <headius@...> 2010/01/24

On Sat, Jan 23, 2010 at 11:49 PM, Roger Pack <rogerpack2005@gmail.com> wrote:

[#355766] Re: ruby bounties--list of bounties — Aaron Patterson <aaron@...> 2010/01/25

On Sun, Jan 24, 2010 at 09:15:56PM +0900, Charles Oliver Nutter wrote:

[#355784] Re: ruby bounties--list of bounties — Charles Oliver Nutter <headius@...> 2010/01/25

On Mon, Jan 25, 2010 at 6:29 AM, Aaron Patterson

[#355795] Re: ruby bounties--list of bounties — Mike Dalessio <mike.dalessio@...> 2010/01/25

On Mon, Jan 25, 2010 at 7:37 AM, Charles Oliver Nutter

[#355802] Re: ruby bounties--list of bounties — Charles Oliver Nutter <headius@...> 2010/01/25

On Mon, Jan 25, 2010 at 6:25 PM, Mike Dalessio <mike.dalessio@gmail.com> wrote:

[#355547] Unexpected Hash#first return under Ruby1.9 — Iñaki Baz Castillo <ibc@...>

Hi, Ruby 1.9 implements "first" method for Hash (as Hash are ordered now).

12 messages 2010/01/21

[#355563] Rails ADODB.Connection Error — gregarican <greg.kujawa@...>

I know this isn't exclusively a Rails list, so I apologize in advance.

12 messages 2010/01/21

[#355600] Ruby c extensions on windows — Philliam Auriemma <phil.auriemma@...>

Hey guys,

15 messages 2010/01/22

[#355638] Argh?! :) kEND, $end and kELSE in a simple program — Jet Koten <jetkoten@...>

Hi,

15 messages 2010/01/22

[#355667] How to use WIN32OLE to Save As PDF — Joe Peck <joep@...>

Hi,

12 messages 2010/01/22

[#355797] Nested hash with arrays for default value — Glen Holcomb <damnbigman@...>

I'm trying to find a "nice" way to make a nested hash with an empty array a=

12 messages 2010/01/25
[#355803] Re: Nested hash with arrays for default value — Jes俍 Gabriel y Gal疣 <jgabrielygalan@...> 2010/01/25

On Mon, Jan 25, 2010 at 6:48 PM, Glen Holcomb <damnbigman@gmail.com> wrote:

[#355891] Open Source Subversion Hosting — Intransition <transfire@...>

Looking for Rubyist's recommendations for free open-source Subversion

21 messages 2010/01/26
[#355892] Re: Open Source Subversion Hosting — Marnen Laibow-Koser <marnen@...> 2010/01/26

Thomas Sawyer wrote:

[#355939] can't update and install gem — Johny ben <joh13ny@...>

os:win xp

11 messages 2010/01/27

[#355962] Why does `source .bashrc` complain "command not found"? — Adam Akhtar <adamtemporary@...>

Is it just me or is this something that just cant be done?

10 messages 2010/01/27

[#356010] Use Non-Java Version of Gem — Bryan Richardson <btrichardson@...>

Hello all,

12 messages 2010/01/27

[#356042] gsub not working to replace a 'Chinese' Charater. — Ryan Smith <sunraise2005@...>

gsub not works for me when replace 'DBCS'(double byte character set)

12 messages 2010/01/28

[#356076] rdoc_osx_dictionary 1.0.1 Released — Ryan Davis <ryand-ruby@...>

rdoc_osx_dictionary version 1.0.1 has been released!

19 messages 2010/01/28
[#356082] Re: rdoc_osx_dictionary 1.0.1 Released — hi there <johnsonqu@...> 2010/01/29

If installed gems share the same class name, eg. mime-types mimetype-fu

[#356084] Re: rdoc_osx_dictionary 1.0.1 Released — Ryan Davis <ryand-ruby@...> 2010/01/29

[#356120] Re: rdoc_osx_dictionary 1.0.1 Released — Ryan Davis <ryand-ruby@...> 2010/01/29

[#356122] Re: rdoc_osx_dictionary 1.0.1 Released — Ryan Davis <ryand-ruby@...> 2010/01/29

[#356153] "require 'rubygems'" In Your Library/App/Tests Is Wrong? — Joe Wangkauf <tmo1138@...>

16 messages 2010/01/30
[#356154] Re: "require 'rubygems'" In Your Library/App/Tests Is Wrong? — Xavier Noria <fxn@...> 2010/01/30

On Sat, Jan 30, 2010 at 6:05 PM, Joe Wangkauf

[#356158] Re: "require 'rubygems'" In Your Library/App/Tests Is Wrong? — Josh Cheek <josh.cheek@...> 2010/01/30

I wonder how many people _don't_ use rubygems. What creates more work,

[#356162] Refining the use of file joins or file expand_path — Alpha Blue <jdezenzio@...>

Both bits of code process the same result which is finding .rb file

26 messages 2010/01/30
[#356177] Re: Refining the use of file joins or file expand_path — pharrington <xenogenesis@...> 2010/01/31

On Jan 30, 9:24=A0pm, Alpha Blue <jdezen...@gmail.com> wrote:

[#356179] Re: Refining the use of file joins or file expand_path — Alpha Blue <jdezenzio@...> 2010/01/31

pharrington wrote:

[#356182] Re: Refining the use of file joins or file expand_path — Ryan Davis <ryand-ruby@...> 2010/01/31

[#356183] Re: Refining the use of file joins or file expand_path — Alpha Blue <jdezenzio@...> 2010/01/31

Ryan Davis wrote:

[#356190] Inheritance related problem — "R. Kumar" <sentinel.2001@...>

Note: this is *not* a ruby bug. its a general query.

20 messages 2010/01/31

Re: Rails ADODB.Connection Error

From: gregarican <greg.kujawa@...>
Date: 2010-01-22 16:05:06 UTC
List: ruby-talk #355644
On Jan 22, 10:47=A0am, gregarican <greg.kuj...@gmail.com> wrote:
> On Jan 21, 9:07=A0pm, gregarican <greg.kuj...@gmail.com> wrote:
>
>
>
>
>
> > On Jan 21, 8:45=A0pm, Luis Lavena <luislav...@gmail.com> wrote:
>
> > > On 21 ene, 22:18, gregarican <greg.kuj...@gmail.com> wrote:
>
> > > > On Jan 21, 5:55=A0pm, Luis Lavena <luislav...@gmail.com> wrote:
>
> > > > > On Jan 21, 5:59=A0pm, gregarican <greg.kuj...@gmail.com> wrote:
>
> > > > > > On Jan 21, 3:24=A0pm, Luis Lavena <luislav...@gmail.com> wrote:
>
> > > > > > > On Jan 21, 2:03=A0pm, gregarican <greg.kuj...@gmail.com> wrot=
e:
>
> > > > > > > > I know this isn't exclusively a Rails list, so I apologize =
in advance.
> > > > > > > > Since this is the main list I work with I hope someone migh=
t have some
> > > > > > > > insight into a particularly nagging error message I have be=
en getting.
>
> > > > > > > > The scenario is I have to move a working Rails setup to a n=
ew server.
> > > > > > > > So I installed Ruby/Rails/Apache/FastCGI on the new server =
as well as
> > > > > > > > a SQL Server instance. Then I copied over the Rails applica=
tion
> > > > > > > > directory to the new box. Figuring that pointing Rails to t=
he new SQL
> > > > > > > > Server instance would just involve modifying the database.y=
ml file, I
> > > > > > > > changed the host name to the new SQL Server instance.
>
> > > > > > > > I can get the default Rails welcome page fine on the new se=
rver. But
> > > > > > > > when I try to launch my Rails app I get the error below. An=
y
> > > > > > > > suggestions about what specifically is the issue? Using IRB=
 I can open
> > > > > > > > up the new SQL Server instance and query its Employee table=
 fine on
> > > > > > > > the new server (which is what my Rails app is doing below).
>
> > > > > > > > DBI::DatabaseError in Employee#signIn
>
> > > > > > > > failed to create WIN32OLE object from `ADODB.Connection'
> > > > > > > > =A0 =A0 HRESULT error code:0x8007007e
> > > > > > > > =A0 =A0 =A0 The specified module could not be found.
> > > > > > > > app/controllers/employee_controller.rb:111:in `signIn'
>
> > > > > > > > Show framework trace
>
> > > > > > > Basically Win32OLE, the backend used to connect using SQLServ=
er, is
> > > > > > > telling you that cannot find ADODB.Connection module
>
> > > > > > > Most likely, you don't have ADODB installed in your computer.
>
> > > > > > > Searching google for HRESULT 0x8007007e indicates that maybe =
a missing
> > > > > > > DLL or a DLL used by it.
>
> > > > > > > Please ensure SQLServer and required libraries installed prop=
erly.
>
> > > > > > > --
> > > > > > > Luis Lavena- Hide quoted text -
>
> > > > > > > - Show quoted text -
>
> > > > > > AFAIK that shouldn't be a problem. I have SQL Server 2008 insta=
lled on
> > > > > > the same box and from an IRB command line I was able to create =
a new
> > > > > > ADODB.Connection object and query this database I need for Rail=
s to
> > > > > > talk to. It worked fine in that regard.
>
> > > > > > Wonder if it's something about the new box being 64-bit Windows=
 Server
> > > > > > 2008? This is something I didn't thoroughly research in advance=
 due to
> > > > > > being forced to pull the trigger quicker than I'd have liked. T=
he
> > > > > > Rails version is _ancient_ too. From 2005 I believe. Version 0.=
12.0
> > > > > > IIRC :-/
>
> > > > > "on the same box" means?
>
> > > > > Can you perform the exact same Win32OLE request to create a
> > > > > ADODB.Connection on your 64bits server?
>
> > > > > I haven't encountered issues on this topic about mxing 32bits
> > > > > executables and connect them using OLE with 64bits. Basically, Wi=
ndows
> > > > > handle those.
>
> > > > > The only thing Windows do not handle or allow is you loading a 64=
bits
> > > > > DLL in a 32bits process. AFAIK is not the issue.
>
> > > > > Let just eliminate Rails of the equation for a second.
>
> > > > > Also, a full version of Ruby (ruby -v) and the ADO library being =
used
> > > > > will be helpful.
> > > > > --
> > > > > Luis Lavena- Hide quoted text -
>
> > > > > - Show quoted text -
>
> > > > On the same box means that I can start up IRB on the 64-bit server,
> > > > create a new ADODB.Connection object and query the SQL Server 2008
> > > > database. It works fine, although that Rails cannot accomplish the
> > > > same thing. Looking at what's going on it has to be a Rails issue a=
s
> > > > far as I can tell. When I changed the database.yml back to point to
> > > > the old, 32-bit SQL Server 2000 box I get the same error traceback.=
 So
> > > > it's not like the new SQL Server 2008 instance it throwing things o=
ff.
>
> > > > The Ruby version is i386-mswin32 1.8.2. The ADO version is 1.6...
>
> > > Excellent!
>
> > > I mean, not the error, but that the issue can be reproduced and is no=
t
> > > related to 32/64 bits.
>
> > > In your local machine, under which version of Ruby, ADODB (of Ruby)
> > > and version of Rails are you running?
>
> > > Ruby 1.8.2 seems VERY old to me, that is what "ruby -v" reports?
>
> > > If is a newer version of Rails on top of an old version of Ruby and
> > > ADODB ruby adapter, then the problem could be there.
>
> > > We need details of the working environment versus the broken one. It
> > > seems rails 0.12.0 with ActionPack 1.8.0 and ActiveRecord 1.10.0
>
> > > Now we need to know which version of Ruby and your local/working
> > > environment.
>
> > > --
> > > Luis Lavena- Hide quoted text -
>
> > > - Show quoted text -
>
> > That's it. Ruby 1.8.2 and Rails 0.12.0 with those supporting versions
> > you have mentioned. I'm trying a local install on my testing laptop
> > now. I have the same Ruby and Rails versions on my laptop, along with
> > SQL Server 2008 Developer Edition and 64-bit Windows 7 Pro. We'll
> > see...- Hide quoted text -
>
> > - Show quoted text -
>
> I restored the DB to my 64-bit Windows 7 laptop's SQL Server 2008
> Developer install. Then I copied over the whole Rails directory
> structure from the non-working server to my laptop. All I did was
> change the config/database.yml file so that the host was my laptop.
> When I fired up WEBrick locally I was able to navigate the various
> Rails pages fine on my laptop. This was with the same versions of
> Ruby, Rails, the Rails supporting files, and SQL Server. The only
> minor tweak I had to do was rename the columns in the DB since for
> some reason the case-sensitivity wasn't maintained when restoring it
> to my laptop.
>
> Something is definitely odd on that 64-bit Windows 2008 Server I'm
> thinking. Because my laptop is running things fine...- Hide quoted text -
>
> - Show quoted text -

Here's an exact list of the installed gems on both the "good" server
and the "bad" server. Appear to be identical :-/


*** BAD SERVER'S GEMS ***

actionmailer (0.9.0)
    Service layer for easy email delivery and testing.

actionpack (1.8.0)
    Web-flow and rendering framework putting the VC in MVC.

actionwebservice (0.7.0)
    Web service support for Action Pack.

activerecord (1.10.0)
    Implements the ActiveRecord pattern for ORM.

activesupport (1.0.4)
    Support and utility classes used by the Rails framework.

builder (2.1.2)
    Builders for MarkUp.

rails (0.12.0)
    Web-application framework with template engine, control-flow
layer,
    and ORM.

rake (0.5.3)
    Ruby based make-like utility.

sources (0.0.1)
    This package provides download sources for remote gem installation



*** GOOD SERVER'S GEMS ***

actionmailer (0.9.0)
    Service layer for easy email delivery and testing.

actionpack (1.8.0)
    Web-flow and rendering framework putting the VC in MVC.

actionwebservice (0.7.0)
    Web service support for Action Pack.

activerecord (1.10.0)
    Implements the ActiveRecord pattern for ORM.

activesupport (1.0.4)
    Support and utility classes used by the Rails framework.

builder (2.1.2)
    Builders for MarkUp.

rails (0.12.0)
    Web-application framework with template engine, control-flow
layer,
    and ORM.

rake (0.5.3)
    Ruby based make-like utility.

sources (0.0.1)
    This package provides download sources for remote gem installation

In This Thread