Joshua Ballanco | 16 May 02:17
Picon
Gravatar

Github Issues: Now open for your MacRuby bugs!

Hello all,

Quick summary: go to https://github.com/MacRuby/MacRuby/issues to file all your MacRuby bugs from now on.

As had been previously discussed, today we've gone ahead and opened Github issues for the MacRuby project. At the same time, we've frozen the old Trac reporting tool and will no longer be accepting new bug reports there (though existing reports can still be viewed/searched until we manage to move them all over).

One side-effect of this change is that new bug reports (filed with Github Issues) will no longer be reported to the MacRuby-tickets mailing list. We are currently investigating ways that we can bring this back, though I feel like not many people outside of the core team were subscribed to this list in the first place. (If you were and will miss it horribly, please let us know.)

This is just one of the changes coming over the next few days, so be sure to keep an eye on the list!

Cheers,

Josh
_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@...
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Dave Lee | 10 May 23:09
Picon
Gravatar

Double module included

Hi,


Can anyone tell me, is this a MacRuby bug?

module A; end
module B; include A; end
class C; include B; end
p C.ancestors

in Ruby 1.9.3 the results are:

[C, B, A, Object, Kernel, BasicObject]

and in MacRuby 0.11 the results are:

[C, B, A, A, NSObject, Kernel]

Why is the A module included twice?

thanks,
Dave


_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@...
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Rob Ista | 9 May 16:44

Re: Appstore rules on symlinks Macruby framework changed ?

Yes, i have seen that .. i will do some tests to see if i can get a working app with a symlink although a manual
change did not succeed thus far .. either it cannot find macgems (if i hack the binary with "A") or it just
crashes because it can not find "Current" through the simlink any more 

and yes, it seems that apple is really stretching their rules to the limits .. i sensed some disturbance in
the python community as well with similar issues the last few days … the response from the review team was :
- - - - -
Dear developer,

We have discovered one or more issues with your recent delivery for "SubtitleReSync". To process your
delivery, the following issues must be corrected:

Malformed Framework - The framework bundle MacRuby
(SubtitleReSync.app/Contents/Frameworks/MacRuby.framework) 'Versions' directory must contain a
symbolic link 'Current' resolving to a specific version directory. Refer to the Anatomy of Framework
Bundles for more information.
- - - - -

The funny thing is that i have another framework but didn't bother to create a "cute" one so i just dumped the
.dylib into Frameworks. That seems to be allowed and ok :)  

 I will file a bug report as well

cheers, Rob

> 
> macruby_deploy fiddles with the version symlinks on purpose. We changed it in the past for app store
guidelines at some point; you should be able to see it in the history of macruby_deploy. 
> 
> It would be fastest to just revert that change and see if that fixes things. Though if Apple really wants the
version to be A then we will need to do a bit more work. 
> 
> macruby_deploy is fairly straightforward, so it is easy to go through and find what needs to be changed. 
> 
> 
> Sent from my iDevice
> 
> On 2012-05-07, at 9:38, Joshua Ballanco <jballanc@...> wrote:
> 
>> Hi Rob,
>> 
>> I haven't had time to look into it, but hopefully Apple is not looking to restrict versions within
framework bundles to "A", "B", "C", etc. As for "Current" not being a symlink, that does seem like a bug.
Would you mind filing it as such so that we don't loose track of it?
>> 
>> - Josh
>> On Saturday, May 5, 2012 at 8:27 PM, Rob Ista wrote:
>> 
>>> Hi all,
>>> it seems that the Appstore validation has sharpened its control (again) ? submitting an app now is
rejected because the Macruby framework does not comply to the official Anatomy of Framework Bundles ?
There should be a symbolic "Current" resolving to "A" ... in the Macruby Framework this is now a fixed
"Current" .. does anyone have seen this before and is there a workaround for the time being ?
>>> 
>>> Secondly, the code signing of the bundle contents is still a bit shaky although it seems to work on Lion ..
on SL the .rb files create an "argument list too long" message (see below) .. commenting out the .rb files in
macruby_deploy for codesigning makes the deploy come to a proper end but of course now the .rb are not
signed. Daniel has done some great work on this already but are there any other ideas?
>>> 
>>> rgrds, Rob
>>> 
>>>
/Users/robista/Library/Developer/Xcode/DerivedData/SubtitleReSyncBasic-ayrbtqtujxpvspgaanykiwlaojxy/ArchiveIntermediates/Deployment/BuildProductsPath/Release/SubtitleReSyncBasic.app/Contents/Frameworks/MacRuby.framework/Versions/Current/usr/lib/ruby/1.9.2/abbrev.rb:
Argument list too long
>>> _______________________________________________
>>> 
Rob Ista | 5 May 19:27

Appstore rules on symlinks Macruby framework changed ?

Hi all, 
it seems that the Appstore validation has sharpened its control (again) … submitting an app now is
rejected because the Macruby framework does not comply to the official Anatomy of Framework Bundles …
There should be a symbolic "Current" resolving to "A" ... in the Macruby Framework this is now a fixed
"Current" .. does anyone have seen this before and is there a workaround  for the time being ? 

Secondly, the code signing of the bundle contents is still a bit shaky although it seems to work on Lion .. on
SL the .rb files create an "argument list too long" message (see below) .. commenting out the .rb files in
macruby_deploy for codesigning makes the deploy come to a proper end but of course now the .rb are not
signed. Daniel has done some great work on this already but are there any other ideas?  

rgrds, Rob

/Users/robista/Library/Developer/Xcode/DerivedData/SubtitleReSyncBasic-ayrbtqtujxpvspgaanykiwlaojxy/ArchiveIntermediates/Deployment/BuildProductsPath/Release/SubtitleReSyncBasic.app/Contents/Frameworks/MacRuby.framework/Versions/Current/usr/lib/ruby/1.9.2/abbrev.rb:
Argument list too long
bugpowder | 5 May 14:52
Picon

RubyMotion: Ruby for iOS

Hello, new list member here, through I follow through the web for a long time. 


Just a quick question regarding RubyMotion:

In all reviews/mentions I've read, they say that you need to build your UI programmatically.

I understand that there is no XCode IDE integration, but is there something specific preventing an XCode user from creating his UI in XCode/IB and then instantiating the .xib files with RubyMotion?

If so, would that perhaps be possible in the future, or is there something inherent in RubyMotion/MacRuby that prevents it?

Thanks
_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@...
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Jean-Denis MUYS | 4 May 16:10
Favicon

Re: RubyMotion: Ruby for iOS

One solution would be some provision with an escrow, with the commitment that should Laurent's company go
out of business (for business reasons or bus-hit reasons), then the full source code would reverse to be
open-source under such and such license.

But clearly, adopting RubyMotion for a professional product is a significant business risk (even if
shared by other similar products), and that should be addressed somehow. Saying that whatever you
purchase will continue to work "as is" is not enough. As a simple example, RubyMotion's "GC" doesn't
handle retain cycles yet. I suppose it will, sooner than later, but for the time being, the product is not
complete. That's fine for exploring and developing. It's not for releasing.

 In the meantime, many (most?) of us will purchase RubyMotion, if only for the pleasure of hacking with Ruby
on iOS :-)

Jean-Denis
Laurent Sansonetti | 3 May 19:02
Picon

RubyMotion: Ruby for iOS

Hi guys,

I am extremely excited to announce the immediate availability of
RubyMotion, a revolutionary toolchain for iOS development in Ruby.

(RubyMotion is what I have been working on these last 6 months. :))

RubyMotion is a commercial flavor of MacRuby for iOS that includes an
optimized runtime, a brand-new static compiler and memory model, and a
command-line interface.

If you are familiar with MacRuby you should be all set to develop iOS
apps right away.

You can find more information about RubyMotion on its website.

  http://www.rubymotion.com

For a limited time only, RubyMotion can be purchased at a 25% discounted rate.

The developer center features guides, articles and a pointer to the
sample code repository.

  http://www.rubymotion.com/developer-center

Also, the awesome folks at The Pragmatic Studio released an amazing
50-minute screencast on the product. Check it out, it's free!

  http://pragmaticstudio.com/screencasts/rubymotion

If you want to stay connected, make sure to follow @RubyMotion on Twitter.

  http://twitter.com/RubyMotion

Enjoy!

Laurent
stephen horne | 2 May 18:42
Picon

Failing installers

It's been a while since I installed a nightly build because I get a error in the installer ("Installation failed", and "An error occurred while running scripts from the package “macruby_nightly-2012-05-02.pkg”"), and I haven't had the time to look into it.

I've just given it another go, and, to my eyes, it seems to have installed everything it should have:


/Library/Frameworks/MacRuby.framework

/usr/local/bin/macgem
/usr/local/bin/macirb
/usr/local/bin/macrake
/usr/local/bin/macrdoc
/usr/local/bin/macri
/usr/local/bin/macruby
/usr/local/bin/macruby_deploy
/usr/local/bin/macruby_select
/usr/local/bin/macrubyc
/usr/local/bin/macrubyd


Does anyone know if that is everything? Can I just ignore the installer error if the above is in place?

Cheers
--
Fb

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@...
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Josh Voigts | 1 May 22:57
Picon

Multiple enumerations

Is there a way to get multiple enumerations to work, like in the
following example. I know I could be doing this with cocoa, but it's a
small scripting project. (Also I didn't feel like loading a bridge
support file, would that help in this case?)

framework 'ScriptingBridge'

sys = SBApplication.applicationWithBundleIdentifier("com.apple.systemevents")

COMMAND_KEY = 1264807268
OPTION_KEY = 1265594484

sys.keystroke("u", using: COMMAND_KEY|OPTION_KEY)

It seems to only recognize the first enum... I'm probably missing
something logically here...
Matt Aimonetti | 27 Apr 10:58
Picon
Gravatar

migrating tickets to GitHub

So it looks like we are waiting for the tracker tickets to be migrated from MacOS Forge to GitHub to also do the website update and the release.
Who's working on that, what's the status of the migration?

Thanks,

- Matt
_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@...
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Rob Ista | 23 Apr 19:10

Re: App Store

@Daniel, I am a bit confused here .. a few weeks ago the deploy seemed to work including the code signing …
now it just hangs for a while and crashes with "Argument list too long" .. is there something changed? 
Rob

Daniel Westendorf daniel at prowestech.com 
Thu Mar 29 11:50:16 PDT 2012
	• Previous message: [MacRuby-devel] App Store
	• Next message: [MacRuby-devel] App Store
	• Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Finally found the time to do a quick and dirty write up on the process. It
should at least be a good overview and starting point.

https://github.com/MacRuby/MacRuby/wiki/Mac-App-Store-Submission

dw

Gmane