Description:
The Ruby dynamic OO programming language.
|
|
|
ruby gem update issue in macos 10.5.7
|
| |
i was trying to update the rubygem preinstalled in macos 10.5.7 by:sudo gem update --system or gem update --system. but i am getting this: ...Updating RubyGems... ERROR: While executing gem ... (Gem::RemoteSourceException) HTTP Response 403 fetching [link] Any idea? my gem is 1.0.1, and ruby 1.8.6 (2008-08-11 patchlevel 287)... more »
|
|
Something like puts
|
| |
Newbie question: I need/want a function like puts ... that is, a function known globally. I have read the Pickaxe section on mixins and [link] and I'm going nuts. Specifically I am trying to do module ApplicationHelper puts "Hearyee ApplicationHelper" def at_file_line_msg(file, line, msg)... more »
|
|
RubyGems current load paths
|
| |
Hi-- I need to get a list of the "current" gem load paths. I learned that I can get a list of all the latest load paths via: Gem.latest_load_paths which is great. But lets say I specify an older version of a lib, eg: gem "RubyInline", "= 3.7.0" Gem.latest_load_paths doesn't change. How can I get a list of latest... more »
|
|
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' ...class AmityClient include AmityPackets def initialize #Bool to check if we've received a Ctrl-C, so we can shut down and... more »
|
|
oneline:strip_tags
|
| |
text=strip_tags(html) can you just using oneline ruby code define the strip_tags methods? def strip_tags(html) //oneline here end
|
|
RubyInline - passing pointer from one function to another
|
| |
Hi, I'm trying to write ruby interface to JACK audio library. I've chosen RubyInline due it's simplicity. What I want to achieve is to have ruby code like this: client = JACK::Client.new "my_name" puts client.get_sample_rate To achieve that I need to pass pointer to variable of jack_client_t* from libjack from one function to another. What I tried to do is... more »
|
|
RCAP 0.2
|
| |
I'm pleased to announce the release of RCAP 0.2. RCAP is a Ruby implementation of the Common Alerting Protocol(CAP). This release is release is aimred at developers and adds YAML generation and parsing support as well as functionality allowing RCAP objects to be displayed easily in the IRb command console.... more »
|
|
新新人類論壇
|
| |
<a href=[link] target="_blank">0401線上遊戲</a> -<font color=red size=3>←點我進入~^^</font><BR> <a href=[link] target="_blank">免費交友隨身碼</a> -<font color=red size=3>←點我進入~^^</font><BR> <a href=[link] target="_blank">遊戲線上時空英雄</a> -<font... more »
|
|
Reg: REXML
|
| |
While i am migrating the database i got this error. please help me out to solve this problem (in C:/Documents and Settings/246265/My Documents/NetBeansProjects/Ope n) Requiring REXML rake aborted! no such file to load -- RMagick rake aborted! invalid meta-code syntax: /C:\Documents and Settings\246265\My... more »
|
|
|