Error When Trying To Install a Gem
Axel Etzold wrote: -------- Original-Nachricht -------- Datum: Thu, 3 Sep 2009 01:49:29 +0900 Von: Nathan Campos <nathanjava(a)aol.com> An: ruby-talk(a)ruby-lang.org Betreff: Error When Trying To Install a Gem ubuntu(a)eeepc:~$ ===================================== What is wrong? ... 3 Sep 2009 10:30
Simple New Ruby Programmer Problem with $stdin.gets
[Note: parts of this message were removed to make it a legal post.] Sorry for the typo; I didn't mean "monitor". I'm a retired programmer, a Dilbert dinosaur, and certainly know that inputs don't come from monitors. The first computer I worked on had vacuum tubes and 1K of mainframe memory! Having been in the f... 8 Sep 2009 11:24
How to Know What Exception a Method Will Raise?
How is one supposed to know what exception (if any) a method will raise? The docs for all of the core Ruby classes I've seen fail to mention this. ... 3 Sep 2009 07:30
ERROR: no driver for sqlite3 found (Ruby 1.9.0 + Windows
Nacho Sanchez wrote: Hi everyone, I'm getting this error after I upgraded Ruby from 1.8 to 1.9.0 and it's driving me crazy: "no driver for sqlite3 found" If I do an irb: irb(main):001:0> require 'sqlite3' => true irb(main):002:0> SQLite3::Database.new( 'my_database.sqlite3' ) RuntimeError... 22 Dec 2008 04:13
how to make installing Ruby easier for amateurs
Greetings! As an amateur, and intermittent, programmer, I often run right off the edge of what I know. Sometimes this seems utterly needless. Here's one such case: In the past year I've switched from WindowsXP to Kubuntu Linux. I've had to reload the operating system maybe four times, plus two more due to ... 26 Dec 2008 07:41
DBI:ODBC on Vista: "could not load driver"
The following code, run from NetBeans IDE on Vista SP1 Home Edition: p require('dbi') p require('odbc') p DBI.available_drivers dbh= DBI.connect('dbi:ODBC:cookbook','root') Produces: true true ["dbi:Proxy:", "dbi:ODBC:"] C:/users/gordon/Ruby/lib/ruby/site_ruby/1.8/dbi.rb:368:in `load_driver': Could not load... 22 Dec 2008 04:13
Serious Bug in Rails 2.2 using method "_ids" ...?
Hey Guys, considering the following Model: class User < ActiveRecord::Base has_many :posts, :include => [:comments, :ratings], :dependent => :destroy end This code will raise an ActiveRecord::MissingAttributeError Exception (comment_id is missing): @user.post_ids Can anyone confirm this or does someone... 6 Dec 2008 21:19
I Need to Extract Img tag Using Regular Expressions From The Html Page <\s*img [^\>]*src\s*=\s*(["\'])(.*?)\1 Is This Code Would be ok Can Any One Say Me Some Other regexp For Img Tag Extracing? -- Posted via http://www.ruby-forum.com/. ... 22 Aug 2008 00:45
wsdl2ruby.rb and "certificate verify failed"
1) I installed the most recent httpclient from http://dev.ctor.org/http-access2/wiki#Download. 2) I used wsdl2ruby.rb to generate ruby classes for accessing a particular wsdl. I was hoping that httpclient would take care of certificates for me since I have openssl installed, but I am getting this error: /us... 14 Aug 2008 11:23
Ruby-debug-ide for JRuby
[Note: parts of this message were removed to make it a legal post.] Hello guys, I have installed jruby 1.1.2 and it works ok. I have added it to Eclipse and I cannot install the ruby-debug-ide because it is a native C extension. How can I get the debug-ide for jruby 1.1.2? Thanks, Guillermo ... 9 Jul 2008 04:28