Getting the actual size of a sparse file9159 (1/5/2011 4:37:07 PM) comp.lang.ruby Hi,
How do you get the true size of a sparse file? Using /var/log/lastlog
on Ubuntu as an example I see this with "ls -lh"
With "ls -sh" I see this:
A File.stat call rev... Daniel
[ANN] mkmf-lite 0.1.00127 (5/25/2010 1:33:44 AM) comp.lang.ruby Greetings,
I'm happy to announce the release of mkmf-lite 0.1.0. This is the
initial release of this library.
= What is it?
A very lite version of mkmf. Unlike mkmf it is designed to be a library,
Making a VALUE visible to multiple source files236 (2/25/2010 5:38:20 PM) comp.lang.ruby Hi, I'm having some trouble pre-declaring some VALUE's. I've got a VALUE cFoo I want to be visible to multiple source files. Say the layout is something like this: foo/ext/stuff/extconf.rb foo/ext/stuff/foo.c... Daniel
SOAP error: Cannot map <class> to SOAP/OM0240 (2/2/2010 4:22:24 PM) comp.lang.ruby Hi,
Linux & Mac
I'm getting an odd error from the soap library while attempting to
connect to a Sympa 5 server in one of our production apps:
A SOAP::Mapping::MappingError occu... Daniel
Delayed evaluation of append_features026 (1/19/2010 4:04:22 PM) comp.lang.ruby Hi, I was just reading this bit: http://judofyr.net/posts/never-gonna-let-you-go.html And that had me wondering about my "interface" implementation. At the moment, users must declare the methods before they ... Daniel
ffi, kerberos6149 (1/12/2010 10:48:13 PM) comp.lang.ruby Hi,
I'm trying to wrap two function calls from kerberos, krb5_init_context
and krb5_free_context. Here are the prototypes for both:
krb5_init_context(krb5_context * context) => krb5_error_code
SystemStackError with gem installs, 1.8.7-p248236 (12/30/2009 1:41:06 PM) comp.lang.ruby Hi, I upgraded to ruby 1.8.7 p248 yesterday. Since then I've started seeing these error messages on gem installs: dberger@globe-madison ~>sudo gem install sys-filesystem Password: Building native extensions. ... Daniel
[ANN] sys-proctable 0.9.0030 (10/16/2009 2:48:19 PM) comp.lang.ruby Hi, sys-proctable 0.9.0 has been released! = What is it? A library for getting process table information, i.e. information about the processes running on your system. = Is that it? It also provides a Sys::... Daniel
Net::Ping::HTTP inconsistencies430 (4/19/2010 9:33:21 PM) comp.lang.ruby I have multiple websites that are "up". That is, they are accessible via
the browser and return to the user content.
>> require 'net/ping'
>> Net::Ping::HTTP.new('somewebsite.com').ping?... rabbitblue(97)
Getting a unique filename?3271 (9/14/2010 9:58:52 AM) comp.lang.ruby
I need to build a Zip-Archive with a unique name that is served by
Apache using its X-SendFile mechanism.
Tempfile doesn't appear to be suitable in this case as it unlinks its
managed file when the Tem... Michael
Net::PingExternal gives an errror545 (9/16/2010 2:22:40 PM) comp.lang.ruby Hello there, I'm having a problem with a tutorial to ping whatever. I have snowleopard and both ruby's both give the same error: uninitialized constant Net::PingExternal (NameError) here is the code i'm usin... w3bwizart.be(5)
Separator in $PATH4197 (10/19/2010 8:02:51 PM) comp.lang.ruby Hello everyone,
Unix-like operating systems use a colon to separate each directory in
the PATH, while Windows uses a semicolon.
The question is: is there some class in the Ruby library that knows
`dir_config': undefined method `split'144 (3/4/2011 8:41:02 PM) comp.lang.ruby Having difficulty installing 'gem install mysql2'. Getting these gem install mysql2 -- --with-mysql-config=/opt/mysql/mysql/bin/mysql_config --with-opt-include Building native extensions. This could take a w... bellcolt(4)
mkmf have_func usage9244 (3/25/2011 5:55:07 AM) comp.lang.ruby Hi,
I'm wondering if I'm using the have_func from lib mkmf correctly, as I =
can't seem to get a `true` out of it?=20
have_func( "iconv_open", =
Ruby Future Or?2725 (5/15/2011 11:31:39 AM) comp.lang.ruby I was thinking today and I was wondering if ruby has a future when python is being to widely accepted. Outside of rails, because I have no want to code in rails. Thanks -- Posted via http://www.ruby-forum.co... piratej74(3)
Writing formulas to excel spreadsheet #22249 (5/19/2011 4:22:23 PM) comp.lang.ruby Hi, everyone. I've just started using ruby a couple of days ago, and I've been using it to read data from text files and write to excel spreadsheets. I also need to be able to write formulas to spreadsheets, bu... ampclj9(8)