| Phenax | thanks Though I'll have to implement a few things in the ebuild because of a few appearant 'problems' or 'changes' in the svn wtf is this in ruby's svn rm -f ruby19 ruby ./tool/insns2vm.rb --srcdir="." /bin/sh: ruby: command not found lol I guess it expects me to have another version of Ruby installed because it wants to run a script before it's done compiling;) |
| flgr | wow, dhaka looks insanely cool |
| Phenax | flgr: The capital of bangladesh? Oh, I see |
| flgr | the parser generator: http://dhaka.rubyforge.org/index.html I'm looking at http://dhaka.rubyforge.org/example2.html right now |
| Phenax | i am too awesome :) ruby 1.9.0 (2007-04-08 patchlevel 0) [x86_64-linux] |
| jtbandes | How can I make ruby write the output to a file? Is there an option on the "ruby" command in the command line? |
| libc | jtbandes, ruby file.rb > file ? |
| jtbandes | Ah, right. |
| libc | jtbandes, it's shell feature ) |
| jtbandes | I think I may have known that at one point. :P |
| apeiros | jtbandes, of course you can always parse command line arguments and do it within your script |
| jtbandes | Yeah, this was just a temporary thing, > worked. |
| rane_ | shouldn't scan return nil or something if it doesn't match? empty array isn't exactly a nice result i might have missed some better alternative, however |
| manveru | rane_: depends on what you want |
| rane_ | match string and capture |
| johnw188 | hey, so I've been trying to upgrade ruby on my mac os 10.4 box ruby seems to update fine, ruby -v returns the correct value and all that however, when I go into irb and check RUBY_VERSION it's still stuck on the old ruby version in the whole upgrade progress I also installed rubygems, as I wanted wirble for irb syntax hilighting |
| cdcarter | johnw188: try ruby -e "print RUBY_VERSION" |
| manveru | ruby -v :) uh oh |
| cdcarter | manveru: he already did taht ;) |
| manveru | well, erm |
| johnw188 | johns-computer:~ john$ ruby -e "print RUBY_VERSION" |