Re: [MacRuby-devel] programatic binding (undefined bind method on NSTextField)

2011-09-27 Thread Shannon Love
`bind:toObject:withKeyPath` is actually from the `NSKeyValueBindingCreation` category on NSObject which is defined in the Appkit. If it seems to disappear then I would think it is a problem importing `AppKit.framework` somewhere. On Sep 27, 2011, at 3:22 PM, Alex Greif wrote: > I want to bind

Re: [MacRuby-devel] macruby_deploy problem with app having space in name

2011-07-21 Thread Shannon Love
I would recommend spaces, punctation and even two-byte characters from asian languages. People all over the world working in all different languages and text systems will (hopefully) be using macruby. You've got to plane on not having a standard character set. On Jul 21, 2011, at 9:09 AM, Elo

Re: [MacRuby-devel] Need to Write Core Data Accessors in MacRuby?

2011-06-28 Thread Shannon Love
gt; - Matt > > On Mon, Jun 27, 2011 at 3:45 PM, Shannon Love wrote: > Howdy, > > I've Core Data a lot in Objective-c and now I am trying to use it in MacRuby. > It occurs to me that I might need to create the to-many relationship > accessors just like you have to do in

[MacRuby-devel] Need to Write Core Data Accessors in MacRuby?

2011-06-27 Thread Shannon Love
usingObjects:changedObjects]; [changedObjects release]; } Do you have to do the same thing in MacRuby or will the normal ruby set operations suffice? Thanks, Shannon Love a.k.a TechZen ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Re: [MacRuby-devel] Do MacRuby apps take longer to be reviewed on the Mac App Store?

2011-06-23 Thread Shannon Love
It might precisely because there are to many apps with `Mac` in the name that they started rejecting them. They maybe getting complaints from customers who are under the impression that everything that has `Mac` in the title is an Apple product or somebody might have sued. If I've learned noth

[MacRuby-devel] Macruby Current Versions Symlinks

2011-06-07 Thread Shannon Love
method to control Macruby versions (with or without rvm?) Thanks, Shannon Love ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Re: [MacRuby-devel] Macgem path variable

2011-06-03 Thread Shannon Love
circle.com > > > > On 2011-06-03, at 12:19 PM, Shannon Love wrote: > >> Greetings, >> >> Does macgem use the same path variable as standard gem i.e. GEM_HOME and >> GEM_PATH? I'm trying to use rvm and I'm trying to figure

[MacRuby-devel] Macgem path variable

2011-06-03 Thread Shannon Love
Greetings, Does macgem use the same path variable as standard gem i.e. GEM_HOME and GEM_PATH? I'm trying to use rvm and I'm trying to figure out where macgem is actually putting gems. Thanks, Shannon ___ MacRuby-devel mailing list MacRuby-devel@lists

[MacRuby-devel] Using macrubyd in Xcode

2011-06-03 Thread Shannon Love
Xcode. Are there any other debugging options available e.g. injecting the interpreter into the build? thanks, Shannon Love ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby

Re: [MacRuby-devel] How do we center label text?

2011-05-26 Thread Shannon Love
UITextAlignmentCenter is for iOS. Anything starting with "UI" is iOS specific. You want NSTextAlignment. On May 26, 2011, at 8:34 PM, az...@gmx.net wrote: > Couple of quick questions I hope someone can help with. > > 1. How do we center text in labels? > > I have a text label, and it is set to

[MacRuby-devel] Break in Block Fails only in Macruby

2011-05-25 Thread Shannon Love
Greetings, If I run the following under the system ruby 1.8.7: require 'find' starting_directory="/Users/developer/Desktop/Top" file_name_I_want_to_find="target_file.txt" path=Find.find(starting_directory) {|p| break p if p.include?(file_name_I_want_to_find) } puts "path = #{path}" ... I get t

Re: [MacRuby-devel] Does MacRuby Play Well with RVM?

2011-05-20 Thread Shannon Love
at 7:17 PM, Matt Aimonetti > wrote: > The MacRuby team doesn't use RVM and therefore doesn't recommend users to use > it. However, some users reported using RVM and being happy with it. > Was my reply useless? More than likely :p > > -= Matt > > > On Fri, May 20,

[MacRuby-devel] Clean Install of Macruby?

2011-05-20 Thread Shannon Love
Is there an a formal or approved way of performing a clean install of Macruby including gems? I fear that I may have mangled my install with my naive use of RVM and I wanted to try and start fresh. I've already used pkgutil to uninstall all the files associated with the Macruby package and ins

[MacRuby-devel] Does MacRuby Play Well with RVM?

2011-05-20 Thread Shannon Love
Last week I attempted to install RVM on my system so I could use various versions of Ruby including Macruby. I encountered problems including a reinstall of RVM that had incorrect permissions. However, it is quite possible that all the errors were the result of my naviety about the ruby environm

Re: [MacRuby-devel] Rspec Stopped Running Under Macruby

2011-05-20 Thread Shannon Love
I it appears I spoke to soon in my previous mail. Reverting to Rspec 2.5 got me to where I could run basic test but now I get sig fault when I try to use an expectation (should statement.) It even happens with example code I copied from the rspec 2.5 docs. Just for grins, I ran rspec own spec

Re: [MacRuby-devel] Rspec Stopped Running Under Macruby

2011-05-20 Thread Shannon Love
Christian, Reverting to Rspec 2.5 allowed rspec to run under macruby (so far.) However, it is extremely slow compared to running under system ruby. it takes 10+ seconds to run just an empty test and pegs out one of my cores to do so. Macruby should run faster than the system ruby 1.8.7 so I th

[MacRuby-devel] Rspec Stopped Running Under Macruby

2011-05-19 Thread Shannon Love
I had previously had Rspec running under Macruby before I tried to use RVM to manage my ruby installs. Something went awry with RVM and I had to uninstall. After that Rspec stopped working under Macruby. I I found that my RVM had installed Macruby 0.11 dev in or over my 0.10 install and that re