Okay embarrassing question. I just downloaded a gem and installed it, but I am not able to load/require it. Anyone know how to set up the rubypath in fedora? I...
680
davidjburger
Apr 8, 2007 10:28 pm
When working with gems try: require 'rubygems39; before your other gem requires. djb ... (LoadError) ... (LoadError) ... (LoadError) ... (LoadError) ... ...
681
Andy Triboletti
andytriboletti
Apr 9, 2007 6:28 pm
Hi Dave, try putting the line require 'rubygems39; before require "pdf/writer" Andy...
682
Sam Joseph
samrhjoseph
Apr 9, 2007 6:33 pm
Tim trued to post this to honolulu coders, but it accidentally when to a slightly different list, as did my reply. Sorry about the delay CHEERS> SAM...
683
Dave Burns
burnst001
Apr 9, 2007 7:17 pm
Thanks for the pointers, guys. Just curious, if requiring rubygems is, well, required, why have I run across several demo programs that leave that out? Is...
685
dysinger
Apr 9, 2007 8:08 pm
It depends on if the ruby library was installed with rubygems or not. On some systems you may have a ruby library installed on it's own. Linux is like this....
686
Sam Joseph
samrhjoseph
Apr 10, 2007 6:19 am
Hi Jacky, I'm cc-ing this to honolulu coders - you should join: http://tech.groups.yahoo.com/group/honolulu-coders/ Okay, so what language is your web...
687
Sam Joseph
samrhjoseph
Apr 10, 2007 3:21 pm
Hi Jacky, It's difficult to help you if you won't join honolulu coders :-) Anyway, I guess you want to automatically export data from Access. I found ...
688
Sam Joseph
samrhjoseph
Apr 10, 2007 7:07 pm
I haven't tried auto-test, but I just worked out I can run tests from the rails console: D:\User92;Code92;ruby92;prometheus>ruby script\console test Loading test...
689
dysinger
Apr 10, 2007 8:51 pm
I use it while I'm coding sometimes. ... Windows? ... though the ... less ... different ... pointing ... stress ... work for an...
690
Thomas Olausson
latompa
Apr 11, 2007 4:42 am
I've used it too, It triggers on saves. When you do save, auto-test shells out ruby test\unit92;some_test.rb The startup of that shell out is still slow, and I...
691
Sam Joseph
samrhjoseph
Apr 11, 2007 5:01 am
Hmm, autotest failed out of the box in my Rails 1.0 environment today. I think with a little script work, my approach of running in the console could be pretty...
692
dysinger
Apr 11, 2007 8:28 am
Rails 1.0 is pretty old. I would upgrade if you can. Latest is 1.2.3 ... console ... over ... on OSX. ... tests from...
693
Sam Joseph
samrhjoseph
Apr 11, 2007 3:34 pm
... Works pretty damn good though ... I would like to - however it is difficult for one particular project I have ... I know - I have several projects that use...
694
jamesafinn
Apr 11, 2007 5:13 pm
Since access stores everything in one file, why not just copy the .mdb file from one server to another? Copy all the web source files the same way? ... ...
695
Dave Burns
burnst001
Apr 17, 2007 6:06 am
Rake blows up like this: rake (in /root/work/inv) rake aborted! ./db/schema.rb:43: syntax error, unexpected tSTRING_BEG, expecting kEND t.column "departed",...
696
Thomas Olausson
latompa
Apr 17, 2007 6:49 am
Isn't that syntax the "to_s" of a date? Have you tried this? t.column "arrived", :date, :default => Date. new(2005,01,01), :null => false or whatever date you...
697
Dave Burns
burnst001
Apr 17, 2007 7:04 am
I've tried messing with schema.rb, but when I run rake it regenerates it complete with errors. I guess I was hoping there was a way to force rake to behave (or...
698
Daniel Leuck
dpleuck
Apr 18, 2007 2:48 am
In case any of you are interested in WPF, I am doing a short talk tonight: http://www.hawaiidotnet.org/ Sorry for the short notice....
699
Sam Joseph
samrhjoseph
Apr 20, 2007 4:15 pm
Hi All, So we have a meeting scheduled for next Wednesday, however we don't have an invited speaker at present. I could just continue my series of ruby coding...
700
Dave Burns
burnst001
Apr 20, 2007 11:39 pm
HI Sam, I have some very selfish ideas for topics of discussion, which I toss out as a sort of last resort. I have a legacy database that I've been trying to...
701
Sam Joseph
samrhjoseph
Apr 21, 2007 2:02 am
Hi Dave, This sounds like a great topic for ruby/rails surgery. When we moved discourse to rails we used the legacy DB. If you could send me a copy of the db...
702
Sam Joseph
samrhjoseph
Apr 21, 2007 2:23 am
Hmm, maybe we should have talk on ruby/rails IDEs at some point: http://www.ruby-forum.com/topic/104633 ...
703
Dave Burns
burnst001
Apr 21, 2007 6:11 am
Hmmm, easy to give you all the data, or none, but a little.... I'm sending (separately because I'm lazy) just the schema for my own stab at a dev version,...
704
dysinger
Apr 21, 2007 6:27 am
I'd be happy to talk and demo my favorite (which I dropped Eclipse for) http://deadlock.nbextras.org/hudson/job/ruby/?auto_refresh=true ... ...
705
Sam Joseph
samrhjoseph
Apr 24, 2007 11:58 pm
So I'm thinking we'll have a ruby workshop tomorrow, but in the rails/web and patterns vein, I thought I might start working through patterns from this book: ...
706
Sam Joseph
samrhjoseph
Apr 25, 2007 10:25 pm
***************************************************** ****** H O N O L U L U * C O D E R S * M E E T I N G ******** ...
707
Sam Joseph
samrhjoseph
Apr 26, 2007 4:11 pm
Thanks to all those who came to last nights ruby workshop. One thing I forgot to mention is that I open sourced the ruby code for the multi-agent simulation...
708
Dave Burns
burnst001
May 1, 2007 5:45 am
http://www.ruby-doc.org/core/classes/Shell.html describes an interesting class Shell. Since it is in the core, I tried just using it, requiring it, etc. How do...
709
Thomas Olausson
latompa
May 1, 2007 7:35 am
require 'shell39; because require is basically "import file", not "import class by name". /Thomas...