First  |  Prev |  Next  |  Last
Pages: 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158
Can't install gems with native extensions
➤ gem install rdiscount Building native extensions. This could take a while... ERROR: Error installing rdiscount: ERROR: Failed to build gem native extension. /usr/local/bin/ruby extconf.rb WARNING: JRuby does not support native extensions or the `mkmf' library. Check wiki.jruby.org for alternative... 15 Mar 2010 11:11
NameError - confused gems?
I have 2 gems installed: ruby-opengl and rubygame. Both gems contain their own gl.rb file. When just ruby-opengl is installed, I can require it fine: require 'opengl' => true Once I install rubygame, I get the NameError require 'opengl' NameError: uninitialized constant Rubygame from C:/ruby/... 11 Mar 2010 17:58
Sequel migrations
Hi. I've just started to use Sequel and discovered that they removed the migration mechanism in the last version of this ORM. What happened with migrations in Sequel? They replaced them with a new technic of building a DB schema during a development process or they simply got rid of the migrations? Any help... 10 Mar 2010 16:25
side-effects from STDIN.reopen ?
I'm encoding videos from a background process and found a video where the audio sync is off ... but only when the encoder is run inside a daemon. After some work boiling down the Daemons code, I was able to reduce the entire problem down to this: http://pastie.org/863675 I haven't simplified the ffmpeg command... 10 Mar 2010 18:40
Float in Spreadsheet
Lars Christensen wrote: On Feb 12, 9:26�am, Jim Burgess <igsnh...(a)rub.de> wrote: The program still writes 34 (without the decimal) to the cell. Excel treats 34 and 34.00 as the same number (and Ruby treat 34.0 and 34.00 the same). fmt = Spreadsheet::Format.new(:number_format => '0.00') sheet1... 10 Mar 2010 09:40
Best / cleanest DSL for manipulating data files?
Hi, At the stage of implementing the interface for a new RubyGem. The main goal is to make something that is intuitive, easy to use. Its a library for manipulating apple plists. So really we are just manipulating a file, BUT its of a certain type and predifined structure. The current feature set includes: *... 13 Mar 2010 07:31
how to test if a file is open ?
i'd like to know how to test if a file is open from another app ? i've read http://www.ruby-forum.com/topic/144114 and have tested with : ruby 1.8.7 (2008-08-11 patchlevel 72) [universal-darwin10.0] and MacRuby version 0.5 (ruby 1.9.0) [universal-darwin10.0, x86_64] the following : f = File.new("/Users/yt/... 10 Mar 2010 09:40
SOCKSSocket working?
Hello, I compiled ruby-1.8.7-p249 with --enable-socks and package libsocks4 installed in Debian lenny. Well, i'm trying to get SOCKS working with Net::FTP. I started "ssh -N -D 8000 user(a)otherhostip" and configured SOCKS_SERVER=127.0.0.1:8000. When i connect to a FTP server in irb, i can see the SOCKSSocket be... 11 Mar 2010 15:41
hash
Hello the code is like this hash_fruit = {} hash_fruit ['mango']='orange' hash_fruit ['banana']='yellow' hash_fruit ['grapes']='green' hash_fruit ['apple'] = 'red' hash_fruit .each do |key , value | puts key + ' '+value end and the answer is apple red banana yellow mango orange grapes green why i... 17 Mar 2010 13:36
[ANN] lorax 0.1.0 Released
[Note: parts of this message were removed to make it a legal post.] lorax version 0.1.0 has been released! * <http://github.com/flavorjones/lorax> The Lorax is a diff and patch library for XML/HTML documents, based on Nokogiri. It can tell you whether two XML/HTML documents are identical, or if they're n... 9 Mar 2010 23:44
First  |  Prev |  Next  |  Last
Pages: 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158