First  |  Prev |  Next  |  Last
Pages: 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117
custom rbconfig.rb
On my system some settings for the compiler (Solaris) are wrong and i want to modify these. But since i dont have root access, i cannot modify that file directly. Is it possible to put a copy of that file like in .gem/ or something so ruby/mkmf can access the settings from there and the system-settings get overwri... 28 Apr 2010 03:56
Hpricot files ------
Hi all, I need to make use of "Hpricot gem" files. I don't want to install it as a gem. I copied lib/hpricot/*{all files} and lib/hpricot.rb to my application. below is lib/hpricot.rb begin require 'encoding/character/utf-8' rescue LoadError end #require 'hpricot_scan' require 'hpricot/tag' requi... 27 Apr 2010 15:37
Client server
Hi, in our family, we often play a strongly modified version of Monopoly. But since this sometimes needs a lot of calculations, I'm programming this for Computers with brother. We intended to use a server which handles the game logic and clients which are basically just user interfaces. I never did anything wit... 27 Apr 2010 14:27
local install of sqlite3-ruby
Michael Myers wrote: Hi, i want to install sqlite3-ruby without root on my system. I can compile it and i know how to set a custom path for install but how can my ruby-installation find it? Think sqlite3-ruby puts the native files into the site_ruby folder. How can i have a "local" site_ruby folde... 27 Apr 2010 13:18
Variable number of arguments for methods called with "send"
Hi there, I have a (soooo) dummy class : # -- class Main < XXXXX def time 'Il est ' + Time.now.to_s end def salut ['salut', 'les', 'musclés'] end def test_with_args(arg1, arg2) [arg1, arg2] end def test_with_multiple_args(*args) args end end # /-- ... 27 Apr 2010 11:00
RUBY EVAL FUNCTION
On Apr 27, 8:01 am, Brian Candler <b.cand...(a)pobox.com> wrote: It's pretty reasonable to use eval in the code you provide. I think the method it defines will be faster because there is no closure created. +1 In cases like this, when you can use a string eval, it is usually the best approach. There are ... 27 Apr 2010 15:37
Missing base64 library in Ruby1.9, cannot run cloudkit
Output: require 'base64' LoadError: no such file to load -- base64 from (irb):1:in `require' from (irb):1 from /usr/bin/irb1.9:12:in `<main>' RUBY_DESCRIPTION => "ruby 1.9.0 (2008-06-20 revision 17482) [i486-linux]" I have installed ruby1.9 from debian lenny repositories, it's ... 27 Apr 2010 08:44
Ruby Assocations
Hi in my project i have 2 tables logins and sentitems. these 2 have 1-many relation ship. The primay key in login table is cust_id and i have defined the relational key other than conventional name which is login_id. i want to count the no of records in sentitems which have the cust_id equalled how to ... 27 Apr 2010 08:44
Net::HTTP and numerical adress
if i use : Net::HTTP.start('http://88.183.xyz.uvw') with numerical (i don't have a domain name) i get an error : essais/download_files.rb:16: no .<digit> floating literal anymore; put 0 before dot http://88.183.xyz.uvw ^ does it mean Net:HTTP wants to translate the numbers given ? being someh... 27 Apr 2010 09:52
[ANN] Ember 0.3.0
Ember eRuby template processor http://snk.tuxfamily.org/lib/ember/ Ember (EMBEdded Ruby) is an [1]eRuby template processor that allows debugging, reduces markup, and improves composability of eRuby templates. Version 0.3.0 (2... 26 Apr 2010 21:43
First  |  Prev |  Next  |  Last
Pages: 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117