First  |  Prev |  Next  |  Last
Pages: 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180
extending ruby: ruby_init() instacloses process
Hey guys, I am extending ruby in a C++ program. I have all the headers set up and stuff so it compiles without error, but I do get one warning (MSVC Express 2008): c:\visual studio 2008\projects\remoteexec\remoteexec\rubyheaders\ruby/ missing.h(154) : warning C4273: 'vsnprintf' : inconsistent dll linkage C:\Prog... 20 Jan 2010 23:00
Solar System (#227)
Lovely maths! I found the Horizons web site too - I was hoping to implement an application to extract the necessary data via net::telnet library but couldn't see how to get the data I needed! - there's an awful lot of it! ... 2 Feb 2010 15:06
string to int
[Note: parts of this message were removed to make it a legal post.] Is there a nice way to convert a string to an integer if it is in fact an integer, and to return nil or even an error if it's not? The method to_i returns 0 if the string is not an integer, which isn't hugely helpful, as I want to be able to di... 19 Jan 2010 13:30
ruby for TT
Hello, Is there any ruby wrapper which can make ruby scripts access Perl's TT (Template::Toolkit) files? Coz we have many old template files which were made by TT. Thanks. ... 18 Jan 2010 08:36
Ruby Array to Java Script Array
Hi, How can we use an array created in Ruby in Java script ? Regards, Prashant ... 18 Jan 2010 04:15
Can't install gems (Windows)
I am unable to install any gems now on my Windows 7 machine running Ruby 1.9.1. Earlier today I was updating a gem and it failed. Since then, I can't install or update ANY gems. I tried un/reinstalling ruby with no luck. The error is: ERROR: While executing gem... (Errno(EEXIST) File exists - C: ... 2 Feb 2010 15:06
Notifying via Terminal in Linux
So I've got this idea for a linux CLI program, and one of the things I want the program to do is notify Users of an event via the terminal. Is there something out there I can use to do this? I was thinking of using the WALL command, but that seems sloppy and requires reading from a file (for ubuntu). -- Posted... 15 Jan 2010 09:20
Building mysql extension/gem with MinGW (was Re: Gem build issuesUbuntu 9.10 64 bit)
On Thu, Jan 14, 2010 at 5:26 PM, Eric Christopherson <echristopherson(a)> wrote: Since people are talking about the mysql gem, I thought I'd ask how you can build it under MinGW. I can't seem to make any combination of extconf switches work. I have the standard Windows mysql-5.1.42-win32 installe... 14 Jan 2010 20:16
How to know the OS architecture (32 or 64 bits)?
Hi, is there a reliable way under Ruby to know the OS architecture (32 or 64 bits)? I've just found RUBY_PLATFORM constant which returns "x86_64-linux" under 64 bits, however it doesn't send very reliable for me. I need a way working under Linux and BSD. Thanks for any suggestion. -- Iñaki Baz Castillo ... 16 Jan 2010 05:10
[ANN] os gem: initial release: easier platform management
Initial release of the OS gem. The OS gem allows for some easy telling if you're on windows or not. require 'os' => true OS.bits => 32 => true OS.ruby_exe => "c:\ruby18\bin\ruby.exe" # or "/usr/local/bin/ruby" or what not OS.posix? => false If there are a... 14 Jan 2010 16:54
First  |  Prev |  Next  |  Last
Pages: 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180