Hi, Out of curiosity, I tried to set up a few IDEs other than Xcode to use for MacRuby development, and I have mostly failed. I would appreciate any advice/suggestion. - TextMate: Success. I found some rather complex recipes on the net. Mine is much simpler: go to Preferences > Advanced > Shell Variables and add a shell variable named TM_RUBY with value of '/usr/local/bin/macruby'. - Komodo IDE: Failure. I chose Preferences > Languages > Ruby, clicked the "Browse" button and selected macruby in '/usr/local/bin/'. Komodo IDE accepted it, but reported the following error: "The Ruby debugger extension does not work with the version of Ruby select or that is on your path. You need to use Ruby version 1.8.2 or later. You can get Ruby from the Ruby home page at http://www.ruby-lang.org" I suspected their debugger extension expects the ruby debugger to be named rubyd and not macrubyd. So I dup'ed macrubyd and renamed the copy to rubyd. However, this didn't improve the situation. My Google fu failed to locate any useful suggestion on the net. - RubyMine: Failure. I chose Preferences > Ruby SDK and Gems, clicked "Add SDK…" > "Specify other" and chose /Library/Frameworks/MacRuby.framework/Versions/0.10/usr/bin/macruby, as per some instructions I found on the net. However, RubyMine then displays an error message in large friendly red letters: "Rubygems not installed for SDK: ruby-1.9.2-p0. Please download and install rubygems." Any suggestion? Or is there no other working option than Xcode and TextMate? Thanks, Jean-Denis PS: I am really a Ruby beginner, and I am not used to Ruby configurations, gems and the like. I will gladly take suggestions to RTFM.
Hello, MacRuby the Bridging concept and language extensions are not designed to work well with other IDE's than Xcode. RubyMine will may offer support in later versions. I already filed a 'bug' which has been changed to a 'feature request'. Please have a look at this URL http://youtrack.jetbrains.net/issue/RUBY-7032 I don't like Xcode at all. But before I got heavily flamed again for posting my opinions about Xcode I'll stop here. But I would be surprised allot if anybody was able to get a native Mac compiled, singed and packed without making use of Xcode. Have a nice day! ________________________________ Von: Jean-Denis MUYS <jdmuys@kleegroup.com> An: "macruby-devel@lists.macosforge.org" <macruby-devel@lists.macosforge.org> Gesendet: 10:54 Donnerstag, 20.Oktober 2011 Betreff: [MacRuby-devel] Configuring IDE to use MacRuby? Hi, Out of curiosity, I tried to set up a few IDEs other than Xcode to use for MacRuby development, and I have mostly failed. I would appreciate any advice/suggestion. - TextMate: Success. I found some rather complex recipes on the net. Mine is much simpler: go to Preferences > Advanced > Shell Variables and add a shell variable named TM_RUBY with value of '/usr/local/bin/macruby'. - Komodo IDE: Failure. I chose Preferences > Languages > Ruby, clicked the "Browse" button and selected macruby in '/usr/local/bin/'. Komodo IDE accepted it, but reported the following error: "The Ruby debugger extension does not work with the version of Ruby select or that is on your path. You need to use Ruby version 1.8.2 or later. You can get Ruby from the Ruby home page at http://www.ruby-lang.org" I suspected their debugger extension expects the ruby debugger to be named rubyd and not macrubyd. So I dup'ed macrubyd and renamed the copy to rubyd. However, this didn't improve the situation. My Google fu failed to locate any useful suggestion on the net. - RubyMine: Failure. I chose Preferences > Ruby SDK and Gems, clicked "Add SDK…" > "Specify other" and chose /Library/Frameworks/MacRuby.framework/Versions/0.10/usr/bin/macruby, as per some instructions I found on the net. However, RubyMine then displays an error message in large friendly red letters: "Rubygems not installed for SDK: ruby-1.9.2-p0. Please download and install rubygems." Any suggestion? Or is there no other working option than Xcode and TextMate? Thanks, Jean-Denis PS: I am really a Ruby beginner, and I am not used to Ruby configurations, gems and the like. I will gladly take suggestions to RTFM. _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
On 20/10/2011, at 7:24 PM, Jean-Denis MUYS wrote:
Any suggestion? Or is there no other working option than Xcode and TextMate?
I submitted a feature request to JetBrains to make their AppCode product work with MacRuby. The request was allocated to a developer, so I'm hopeful. I use IntelliJ for Java, Groovy, Scala, Clojure and Ruby, and like it for all of those languages. Here's hoping they can do a good job with MacRuby in AppCode. Antony Blakey ------------- CTO, Linkuistics Pty Ltd Ph: 0438 840 787 The ultimate measure of a man is not where he stands in moments of comfort and convenience, but where he stands at times of challenge and controversy. -- Martin Luther King
participants (3)
-
Antony Blakey
-
denny trebbin
-
Jean-Denis MUYS