[MacRuby-devel] `bytesize' does not work on NSStrings

2010-08-27 Thread Alexander v. Below
Hello List, I am using MacRuby/Control Tower and have another stupid question. In somthing like this def call(env) res = @delegate.testEnvironment(env['REQUEST_PATH']) [200, { 'Content-Type' => 'text/html' }, res ] end I get the run time error: # And indeed, "testEnvironment" does

[MacRuby-devel] ControlTower/Rack question

2010-08-25 Thread Alexander v. Below
Hello, if there is a better list to ask this question, please point me to it ... I have a -- possibly silly -- question on ControlTower/Rack. I should admit that I am kinda new to this whole thing My rack script has something like this: map '/foo' do $text = "foo" print $te

Re: [MacRuby-devel] [MacRuby] Require RubyGems quesions

2010-08-18 Thread Alexander v. Below
> > Laurent > > On Aug 18, 2010, at 3:53 AM, Alexander v. Below wrote: > >> Hello, >> >> I have a MacRuby script which, among other things, requires rubygems. >> >> It works very nice when I call it in the terminal (i.e. "macruby test.rb"

[MacRuby-devel] [MacRuby] Require RubyGems quesions

2010-08-18 Thread Alexander v. Below
Hello, I have a MacRuby script which, among other things, requires rubygems. It works very nice when I call it in the terminal (i.e. "macruby test.rb"), but when I try to execute it in a Cocoa App using [[MacRuby sharedRuntime] evaluateFileAtPath:path];, I get a LoadError exception: /Users/bel

Re: [MacRuby-devel] Debugging MacRuby?

2010-07-09 Thread Alexander v. Below
Thank you very much for the debugging instructions! Also, thank you very much for giving me an idea about the difficulty of that issue... indeed, I probably underestimated the issue (but after reading some source code, I already had second thoughts). However, if there is anything that you would

[MacRuby-devel] Debugging MacRuby?

2010-07-09 Thread Alexander v. Below
Hello, dear list, allow me another stupid question: I want to go into MacRuby's guts, and throw gdb at it. Attempting to look at issue #753, I did the naive thing: % gdb macruby (gdb) break dispatcher.cpp:1343 The answer here was: "No symbol table is loaded. Use the "file" command. Make brea

Re: [MacRuby-devel] llvm-config?

2010-07-09 Thread Alexander v. Below
> Please watch a REAME.rdoc in detail : > http://github.com/masterkain/macruby/blob/master/README.rdoc > > 2010/7/9 Alexander v. Below : >> Hello, >> >> I am attempting to build MacRuby-trunk (rev 4338), and when I call rake I >> get the error: >> >>

[MacRuby-devel] llvm-config?

2010-07-09 Thread Alexander v. Below
Hello, I am attempting to build MacRuby-trunk (rev 4338), and when I call rake I get the error: "The llvm-config executable was not located as /usr/local/bin/llvm-config. Please make sure LLVM is correctly installed on your machine and pass the llvm_config option to rake if necessary." Can I

[MacRuby-devel] Ticket #753

2010-07-09 Thread Alexander v. Below
Hello, we are using MacRuby to run a Webrick server, and I would like to know if there is any help I can offer with issue 753. (1) I will gladly dive into the source, but it would make things a lot easier if somebody -- who knows the project better than me -- had a suspicion where I should loo