Re: [MacRuby-devel] Towards a compile option for macgem

2011-02-19 Thread Mark Rada
You're right; I don't want to use rubygems in a desktop app, I don't think that is the purpose of Rubygems and is not a good use case. Rubygems is still quite useful when I want to write a quick script that uses a gem, or when I simply want to experiment with a gem in irb, which is one case for

[MacRuby-devel] BridgeSupport build step for framework projects

2011-02-19 Thread Matt Aimonetti
I wrote an extremely short tutorial on how to automatically generate a BridgeSupport file for your Framework Xcode project: http://merbist.com/2011/02/19/bridgesupport-build/ Hopefully that will save some people the headache to figure it out on their own (not that it's hard tho). One thing I didn'

[MacRuby-devel] Using Sequel and Sqlite3

2011-02-19 Thread Craig Williams
I have built an app to quickly find MacVim commands to help me learn MacVim. The app works great on my machine but when I try to use it on another machine I get Sqlite3 errors. I am embedding MacRuby in the project and have tried vendoring Sqlite3 and Sequel as well. Embedding the gems did not fix

Re: [MacRuby-devel] Towards a compile option for macgem

2011-02-19 Thread Matt Aimonetti
Hey Mark, I think this is an interesting concept but I would encourage you to work on the macruby deploy tool instead. The reason why I'm saying that is that you probably don't wantto use rubygems in a desktop app, instead you probably want to unpack a gem and it's deps in the app you ship. Trun

[MacRuby-devel] Towards a compile option for macgem

2011-02-19 Thread Mark Rada
Hey, I recently wrote a small plugin for rubygems that will use the MacRuby compiler to compile *.rb files when you install a gem. It is usable, but very simple right now; I would like to make it more powerful in a few different ways and I'm not sure which would be good. Things I think I could

[MacRuby-devel] dtrace doesn't get sourcefile and line numbers

2011-02-19 Thread Gabriel Ayuso
I ran a dtrace script on the MacRuby samples to print all the info provided to the method_entry probe. The sourcefile was always either empty or "core" and the linenumber was always 0. Do I have to execute the script in some particular way for this information to be received? SCRIPT: --

[MacRuby-devel] About rake, llvm_config and "prefix"

2011-02-19 Thread Huahang Liu
Greetings All, I was trying to build MacRuby. However, I got an error saying that: 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. I do have llvm 2.8 i