[MacRuby-devel] macruby_deploy not embedding all of MacRuby

2011-03-11 Thread Kevin Colyar
I'm running the following command to prepare my app to share with testers.

PATH="$PATH:/usr/local/bin" macruby_deploy --embed --compile
"$TARGET_BUILD_DIR/$PROJECT_NAME.app"

On my machine, its says the app directory is ~25MB but testers get the
following error when they try to run it:

dyld: Library not loaded:
@executable_path/../Frameworks/MacRuby.framework/Versions/0.10/usr/lib/libmacruby.dylib
  Referenced from: /Applications/ViKing.app/Contents/MacOS/ViKing
  Reason: no suitable image found.  Did find:

/Applications/ViKing.app/Contents/MacOS/../Frameworks/MacRuby.framework/Versions/0.10/usr/lib/libmacruby.dylib:
unknown file type, first eight bytes: 0x6C 0x69 0x62 0x6D 0x61 0x63 0x72
0x75

/Applications/ViKing.app/Contents/MacOS/../Frameworks/MacRuby.framework/Versions/0.10/usr/lib/libmacruby.dylib:
unknown file type, first eight bytes: 0x6C 0x69 0x62 0x6D 0x61 0x63 0x72
0x75
Trace/BPT trap

When I upload the app directory to a remote server it's ~55MB and works only
other's machines.

I assume this is due to symbolic links.  Has anyone else seen this or have a
fix for it?  Perhaps I'm missing a flag that I need to pass to
macruby_deploy.

Thanks,
Kevin

-- 
Kevin Colyar
http://kevin.colyar.net
___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] macruby_deploy not embedding all of MacRuby

2011-03-11 Thread Kevin Colyar
MD5 hashes match.  I am building my app on an encrypted disk image if that
would matter at all.  I wouldn't think it would affect it.

My tester is on a 64bit machine.  I'll try building it on 0.9 and see if
that helps.

Any idea why the directory size would be so dramatically different?

Kevin

On Fri, Mar 11, 2011 at 4:49 PM, Laurent Sansonetti
wrote:

> Hi Kevin,
>
> It sounds like a data corruption problem, but it could also maybe due to
> running the application on an Intel 32-bit machine (because, as of 0.10,
> i386 support is not built in anymore by default).
>
> I would run md5 hashes on both the embedded dylib and the one in
> /Library/Frameworks to ensure that no data corruption happened.
>
> Laurent
>
> On Mar 11, 2011, at 3:33 PM, Kevin Colyar wrote:
>
> I'm running the following command to prepare my app to share with testers.
>
> PATH="$PATH:/usr/local/bin" macruby_deploy --embed --compile
> "$TARGET_BUILD_DIR/$PROJECT_NAME.app"
>
> On my machine, its says the app directory is ~25MB but testers get the
> following error when they try to run it:
>
> dyld: Library not loaded:
> @executable_path/../Frameworks/MacRuby.framework/Versions/0.10/usr/lib/libmacruby.dylib
>   Referenced from: /Applications/ViKing.app/Contents/MacOS/ViKing
>   Reason: no suitable image found.  Did find:
>
> /Applications/ViKing.app/Contents/MacOS/../Frameworks/MacRuby.framework/Versions/0.10/usr/lib/libmacruby.dylib:
> unknown file type, first eight bytes: 0x6C 0x69 0x62 0x6D 0x61 0x63 0x72
> 0x75
>
> /Applications/ViKing.app/Contents/MacOS/../Frameworks/MacRuby.framework/Versions/0.10/usr/lib/libmacruby.dylib:
> unknown file type, first eight bytes: 0x6C 0x69 0x62 0x6D 0x61 0x63 0x72
> 0x75
> Trace/BPT trap
>
>  When I upload the app directory to a remote server it's ~55MB and works
> only other's machines.
>
> I assume this is due to symbolic links.  Has anyone else seen this or have
> a fix for it?  Perhaps I'm missing a flag that I need to pass to
> macruby_deploy.
>
> Thanks,
> Kevin
>
> --
> Kevin Colyar
> http://kevin.colyar.net
>
> ___
> MacRuby-devel mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
>
>
> ___
> MacRuby-devel mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
>


-- 
Kevin Colyar
http://kevin.colyar.net
___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] macruby_deploy not embedding all of MacRuby

2011-05-11 Thread Kevin Colyar
I was able to fix this problem with the following script:

#!/bin/sh

APP="MyApp"
SOURCE_BUILD_DIR="build/Release"
TARGET_BUILD_DIR="build/Deploy"

LOCAL="$SOURCE_BUILD_DIR/$APP.app/"
REMOTE="$TARGET_BUILD_DIR/$APP.app/"

rsync --progress $* -avzut $LOCAL $REMOTE --exclude .DS_Store --copy-links

PATH="$PATH:/usr/local/bin" macruby_deploy --embed --compile "$REMOTE"


Still not sure with the cause of the bug is, something to do with
macruby_deploy not embedding symbolically linked files.

On Fri, Mar 11, 2011 at 4:56 PM, Kevin Colyar  wrote:

> MD5 hashes match.  I am building my app on an encrypted disk image if that
> would matter at all.  I wouldn't think it would affect it.
>
> My tester is on a 64bit machine.  I'll try building it on 0.9 and see if
> that helps.
>
> Any idea why the directory size would be so dramatically different?
>
> Kevin
>
>
> On Fri, Mar 11, 2011 at 4:49 PM, Laurent Sansonetti  > wrote:
>
>> Hi Kevin,
>>
>> It sounds like a data corruption problem, but it could also maybe due to
>> running the application on an Intel 32-bit machine (because, as of 0.10,
>> i386 support is not built in anymore by default).
>>
>> I would run md5 hashes on both the embedded dylib and the one in
>> /Library/Frameworks to ensure that no data corruption happened.
>>
>> Laurent
>>
>> On Mar 11, 2011, at 3:33 PM, Kevin Colyar wrote:
>>
>> I'm running the following command to prepare my app to share with testers.
>>
>> PATH="$PATH:/usr/local/bin" macruby_deploy --embed --compile
>> "$TARGET_BUILD_DIR/$PROJECT_NAME.app"
>>
>> On my machine, its says the app directory is ~25MB but testers get the
>> following error when they try to run it:
>>
>> dyld: Library not loaded:
>> @executable_path/../Frameworks/MacRuby.framework/Versions/0.10/usr/lib/libmacruby.dylib
>>   Referenced from: /Applications/ViKing.app/Contents/MacOS/ViKing
>>   Reason: no suitable image found.  Did find:
>>
>> /Applications/ViKing.app/Contents/MacOS/../Frameworks/MacRuby.framework/Versions/0.10/usr/lib/libmacruby.dylib:
>> unknown file type, first eight bytes: 0x6C 0x69 0x62 0x6D 0x61 0x63 0x72
>> 0x75
>>
>> /Applications/ViKing.app/Contents/MacOS/../Frameworks/MacRuby.framework/Versions/0.10/usr/lib/libmacruby.dylib:
>> unknown file type, first eight bytes: 0x6C 0x69 0x62 0x6D 0x61 0x63 0x72
>> 0x75
>> Trace/BPT trap
>>
>>  When I upload the app directory to a remote server it's ~55MB and works
>> only other's machines.
>>
>> I assume this is due to symbolic links.  Has anyone else seen this or have
>> a fix for it?  Perhaps I'm missing a flag that I need to pass to
>> macruby_deploy.
>>
>> Thanks,
>> Kevin
>>
>> --
>> Kevin Colyar
>> http://kevin.colyar.net
>>
>> ___
>> MacRuby-devel mailing list
>> [email protected]
>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>>
>>
>>
>> ___
>> MacRuby-devel mailing list
>> [email protected]
>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>>
>>
>
>
> --
> Kevin Colyar
> http://kevin.colyar.net
>
>


-- 
Kevin Colyar
http://kevin.colyar.net
___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] Does everyone do this with their MacRuby apps?

2011-06-17 Thread Kevin Colyar
I'd be interested in contributing.

On Fri, Jun 17, 2011 at 12:15 PM, Laurent Sansonetti
wrote:

> I think we need an "official" tutorial on the website on how to prepare an
> app for submission to the app store.
>
> Is someone here interested in contributing to it?
>
> Laurent
>
> On Jun 17, 2011, at 12:34 AM, Andre Lewis wrote:
>
> I wrote the post at
> http://redwoodapp.posterous.com/macruby-and-xcode-4-build-a-self-contained-ma,
> but I haven't submitted to the app store yet. The post was very much in the
> "just get it working" spirit. If anyone has better steps, would love to see
> them!
>
> Andre
>
>
>  ___
> MacRuby-devel mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
>
>
> ___
> MacRuby-devel mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
>


-- 
Kevin Colyar
http://kevin.colyar.net
___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


[MacRuby-devel] Keymando is now Available in the App Store!

2011-08-01 Thread Kevin Colyar
Hey Guys,

I've finally released my MacRuby app, Keymando, to the App Store!

http://keymando.com

What is Keymando?


Keymando is a full-featured input mapping and automation tool for OSX.

Keymando Uses
-

Keymando is for productivity junkies, programmers, and any else who wants to
start using their Mac more efficiently.  Here are just a few uses:

  - Map familiar shortcuts and hotkeys from one application to another.
  - Use mnemonics to trigger automated tasks.
  - Text Abbreviations.
  - Vi-style hjkl navigation throughout OSX.
  - Automate Skype logins and phone calls.
  - Quickly insert dates, times, and other data.
  - Disable application hotkeys and shortcuts.
  - Pretty much anything you want using Ruby to write your own commands!

Features


  - Map Keys – Allows for the mapping of key presses to other keys or other
arbitrary commands.
  - Filtering – Create a set of key mappings for a single application or
group of applications.
  - Dialogs – Set a global hotkey that prompts for user input then act on
it.
  - Ruby – Use the easy-to-use programming language, Ruby, to configure
Keymando.
  - Plugins – Write your own plugins to command your Mac to do what you
want.

Plays Well with Others
--

Easily integrates with applications like Quicksilver, Divvy, and any other
application on OSX.

  - Quicksilver
  - Divvy
  - Any application in OSX!

History
---

Keymando was originally named ViKing due the ability the application had to
mimic the vi editor's navigation style in OSX, a navigation style that kept
users' hands on the home row instead of the arrow keys.  Over the last few
months ViKing underwent a re-branding effort into its new name, Keymando.
 This was done because the application has matured into a very useful
product that is not only useful to vi(m) users but to everyone.

Future
--

  Version 2 of Keymando is under active development with exicting new
features that include:

  - Recording and playback user interaction.
  - Complete framework to access UI controls.


-- 
Kevin Colyar
http://kevin.colyar.net
___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] Keymando is now Available in the App Store!

2011-08-01 Thread Kevin Colyar
Awesome, thanks Bryan.

On Mon, Aug 1, 2011 at 2:20 PM, Bryan Goines  wrote:

> Just purchased the app and gave positive feedback. I already love this app.
> Nice job Kevin.
>
> --
> Bryan
>
> On Monday, August 1, 2011 at 3:25 PM, [email protected] wrote:
>
> Nice job Kevin - I bet it will interest lots of Vim users.
>
> Aston
> On 1 Aug 2011, at 21:05, Kevin Colyar wrote:
>
> Hey Guys,
>
> I've finally released my MacRuby app, Keymando, to the App Store!
>
> http://keymando.com
>
> What is Keymando?
> 
>
> Keymando is a full-featured input mapping and automation tool for OSX.
>
> Keymando Uses
> -
>
> Keymando is for productivity junkies, programmers, and any else who wants
> to start using their Mac more efficiently.  Here are just a few uses:
>
>   - Map familiar shortcuts and hotkeys from one application to another.
>   - Use mnemonics to trigger automated tasks.
>   - Text Abbreviations.
>   - Vi-style hjkl navigation throughout OSX.
>   - Automate Skype logins and phone calls.
>   - Quickly insert dates, times, and other data.
>   - Disable application hotkeys and shortcuts.
>   - Pretty much anything you want using Ruby to write your own commands!
>
> Features
> 
>
>   - Map Keys – Allows for the mapping of key presses to other keys or other
> arbitrary commands.
>   - Filtering – Create a set of key mappings for a single application or
> group of applications.
>   - Dialogs – Set a global hotkey that prompts for user input then act on
> it.
>   - Ruby – Use the easy-to-use programming language, Ruby, to configure
> Keymando.
>   - Plugins – Write your own plugins to command your Mac to do what you
> want.
>
> Plays Well with Others
> --
>
> Easily integrates with applications like Quicksilver, Divvy, and any other
> application on OSX.
>
>   - Quicksilver
>   - Divvy
>   - Any application in OSX!
>
> History
> ---
>
> Keymando was originally named ViKing due the ability the application had to
> mimic the vi editor's navigation style in OSX, a navigation style that kept
> users' hands on the home row instead of the arrow keys.  Over the last few
> months ViKing underwent a re-branding effort into its new name, Keymando.
>  This was done because the application has matured into a very useful
> product that is not only useful to vi(m) users but to everyone.
>
> Future
> --
>
>   Version 2 of Keymando is under active development with exicting new
> features that include:
>
>   - Recording and playback user interaction.
>   - Complete framework to access UI controls.
>
>
> --
> Kevin Colyar
> http://kevin.colyar.net
>
> ___
> MacRuby-devel mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
>
> ___
> MacRuby-devel mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
>
>
> ___
> MacRuby-devel mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
>


-- 
Kevin Colyar
http://kevin.colyar.net
___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


[MacRuby-devel] ApplicationSupport framework

2011-11-25 Thread Kevin Colyar
All,

I'm unable to access any ApplicationSupport framework constants or methods
( AXAPIEnabled(), AXUIElementCreateApplication(), etc) in my MacRuby 0.10
application.  However, the other developer on the project is able to,
apparently since he is running OSX 10.7.

Anyone know if there is some kind of bridge support difference on 10.7?

Thanks,
Kevin

-- 
Kevin Colyar
http://kevin.colyar.net
___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] ApplicationSupport framework

2011-11-25 Thread Kevin Colyar
Yes!  That did it.

So, does this mean folks who trying to use the App will need to be on Lion
or have Bridge Support Preview 3 installed for it to work, or does does
this just affect the build process?

Thanks,
Kevin

-- 
Kevin Colyar
http://kevin.colyar.net
___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


[MacRuby-devel] Including Bridge Support into App

2012-02-24 Thread Kevin Colyar
Anyone know if there's a way to include Bridge Support Preview 3 into my
MacRuby app so users before 10.7 doing need to install Bridge
Support separately?

-- 
Kevin Colyar
http://kevin.colyar.net
___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] BridgeSupport stack overflow

2012-02-24 Thread Kevin Colyar
Were you able to find a solution for this?  I'm having the same issue...
 including --bs flag and getting Abort Trap on OSX 10.6

-- 
Kevin Colyar
http://kevin.colyar.net
___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


Re: [MacRuby-devel] Including Bridge Support into App

2012-02-26 Thread Kevin Colyar
No problem James.

Maybe you can still help me out.  Even with the --bs option, when 
I run my app on a 10.6 w/o Bridge Suport Preview it segfaults on me.

Any ideas?

Kevin

___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel