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...
When working with gems try: require 'rubygems' before your other gem requires. djb ... (LoadError) ... (LoadError) ... (LoadError) ... (LoadError) ... ...
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...
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...
Hi Dave, if the demo you were using was running on the command line with irb>, then you have to 'require rubygems' ... 'require rubygems' automatically gets...
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....
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...
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 ...
I haven't tried auto-test, but I just worked out I can run tests from the rails console: D:\User\Code\ruby\prometheus>ruby script\console test Loading test...
I've used it too, It triggers on saves. When you do save, auto-test shells out ruby test\unit\some_test.rb The startup of that shell out is still slow, and I...
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...
... 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...
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? ... ...
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...
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...
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...
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...
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...
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,...
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: ...
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...
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...