First  |  Prev |  Next  |  Last
Pages: 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192
Where should I put my config file, and how to load it?
Hello all! I have a small app/set of libraries I'm developing at work called Sweet. I'm distributing it internally as a ruby gem, which is working nicely. However I rather foolishly put Sweet's yaml config file in its config/ directory, so now every time the gem gets upgraded, it wipes out the current settings. ... 26 Nov 2009 04:16
[ANN] re_template 0.0.1.2
A very simple template engine based on Regular Expressions. gem install re_template or http://github.com/masover/re_template No meaningful changes, or changelog. From the README: Features ======== * Regular expressions or plain text * Can be used for HTML->HTML (read on) * Tested on Ruby 1.8... 24 Nov 2009 01:15
Blank lines in terminal
I have an IRC bot I wrote, and I would like to have it so that in the console window, the bottom one or two lines are always blank. In other words, I want puts/print to output to the second line from the bottom instead of the bottommost line. I am aware that this could be done with curses/ncurses, but I have be... 22 Nov 2009 16:03
select only taking alternating values?
The problem in question seems to be that only every OTHER line of terminal input is handled by elsif input == STDIN. Here is the complete code, with some masked stuff Code: require 'socket' require 'protocol.rb' #Settings for the server we're connecting too class AmityClient include AmityPackets ... 21 Nov 2009 12:31
Porting in z/OS version Ruby 1.8.7
Function rb_thread_restore_context does not work. Probably to Re-Write it function? -- Posted via http://www.ruby-forum.com/. ... 20 Nov 2009 00:10
Using /usr/sbin/sendmail in Ruby Script
Hi Guys, I'm very new to Ruby, so please bare with me! I'm trying to make a ruby script that runs a command/executable. The command/executable is native to Mac OS X 10.5 and 10.6. It's the sendmail command (found in /usr/sbin/sendmail). The script I have so far is this: ################################### ... 19 Nov 2009 11:41
help with parsing
Hi , i am new to ruby and can anybody tell me way i can parse a tab delimited text file and convert it into a hash. thank you. -- Posted via http://www.ruby-forum.com/. ... 17 Nov 2009 20:50
Special characters in csv header using fastercsv
Hello all, I'm kind of new to fastercsv and only have 2 months with Ruby on Rails. So this my sound a little newbie. First, I read a csv file (approx. 6,000 lines). This file comes from a different department, so I have no control over the headers. Second, while reading or parsing the file, the rows are inputt... 17 Nov 2009 16:18
How to dynamically include a module and update top level?
Hi, I'm new to Ruby programming, and I'm having some trouble to dynamically include a module into another module. This question may have been already posted, I tried to find it without any success, sorry to ask it probably again (I found Ruby really powerful, but there are some obscure behavior that i still don't ... 18 Nov 2009 10:02
something went wrong
hi any one cn solve this problem We're sorry, but something went wrong. We've been notified about this issue and we'll take a look at it shortly. -- Posted via http://www.ruby-forum.com/. ... 18 Nov 2009 07:48
First  |  Prev |  Next  |  Last
Pages: 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192