From ruby-noreply at macosforge.org Wed May 2 06:09:15 2012 From: ruby-noreply at macosforge.org (MacRuby) Date: Wed, 02 May 2012 13:09:15 +0000 Subject: [MacRuby] #1499: Can't install MacRuby in Lion In-Reply-To: <058.04b99b152b1c3f2e34d27058ee58cd8e@macosforge.org> References: <058.04b99b152b1c3f2e34d27058ee58cd8e@macosforge.org> Message-ID: <067.6714af64b3e662c26b7bd38d3dd05752@macosforge.org> #1499: Can't install MacRuby in Lion -----------------------------------------+---------------------------------- Reporter: manfredigiordano@? | Owner: lsansonetti@? Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: macruby -----------------------------------------+---------------------------------- Comment(by joshua.ballanco@?): By default, the MacRuby installer will install binaries to /usr/local/bin. Do you have that directory in your PATH? -- Ticket URL: MacRuby From ruby-noreply at macosforge.org Thu May 3 11:03:26 2012 From: ruby-noreply at macosforge.org (MacRuby) Date: Thu, 03 May 2012 18:03:26 +0000 Subject: [MacRuby] #1499: Can't install MacRuby in Lion In-Reply-To: <058.04b99b152b1c3f2e34d27058ee58cd8e@macosforge.org> References: <058.04b99b152b1c3f2e34d27058ee58cd8e@macosforge.org> Message-ID: <067.90acc004f6009ff845629fc867205e3e@macosforge.org> #1499: Can't install MacRuby in Lion -----------------------------------------+---------------------------------- Reporter: manfredigiordano@? | Owner: lsansonetti@? Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: macruby -----------------------------------------+---------------------------------- Comment(by manfredigiordano@?): Replying to [comment:1 joshua.ballanco@?]: > By default, the MacRuby installer will install binaries to /usr/local/bin. Do you have that directory in your PATH? Thank you for your answer. /usr/local/bin is already on my PATH, but I noticed that macruby, macri, macgem and the others (alias to) executables aren't usable because they're not linked with the original ones. So i tried to create symbolic links from the executables (found in /Library/Frameworks/MacRuby/bin/) to /usr/local/bin, where I supposed they should be. That was not enough because, also if 'macruby file.rb' worked, other thing such as macirb or macri seem not working. -- Ticket URL: MacRuby From ruby-noreply at macosforge.org Fri May 4 05:26:48 2012 From: ruby-noreply at macosforge.org (MacRuby) Date: Fri, 04 May 2012 12:26:48 +0000 Subject: [MacRuby] #1499: Can't install MacRuby in Lion In-Reply-To: <058.04b99b152b1c3f2e34d27058ee58cd8e@macosforge.org> References: <058.04b99b152b1c3f2e34d27058ee58cd8e@macosforge.org> Message-ID: <067.8a358e920b8ea39ca67927ee238c85af@macosforge.org> #1499: Can't install MacRuby in Lion -----------------------------------------+---------------------------------- Reporter: manfredigiordano@? | Owner: lsansonetti@? Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: macruby -----------------------------------------+---------------------------------- Comment(by joshua.ballanco@?): The layout of frameworks in OS X is slightly tricky. It's probably best not to try and fix the symlinks yourself. Your best bet would be to remove the "mac*" symlinks in /usr/local/bin and reinstall MacRuby using the installer. -- Ticket URL: MacRuby From ruby-noreply at macosforge.org Sat May 5 09:03:16 2012 From: ruby-noreply at macosforge.org (MacRuby) Date: Sat, 05 May 2012 16:03:16 +0000 Subject: [MacRuby] #1499: Can't install MacRuby in Lion In-Reply-To: <058.04b99b152b1c3f2e34d27058ee58cd8e@macosforge.org> References: <058.04b99b152b1c3f2e34d27058ee58cd8e@macosforge.org> Message-ID: <067.5bb1903559a4949b2d157f5bd7ec6c38@macosforge.org> #1499: Can't install MacRuby in Lion -----------------------------------------+---------------------------------- Reporter: manfredigiordano@? | Owner: lsansonetti@? Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: macruby -----------------------------------------+---------------------------------- Comment(by manfredigiordano@?): Replying to [comment:3 joshua.ballanco@?]: > The layout of frameworks in OS X is slightly tricky. It's probably best not to try and fix the symlinks yourself. Your best bet would be to remove the "mac*" symlinks in /usr/local/bin and reinstall MacRuby using the installer. I did it and it worked. Thank you again! -- Ticket URL: MacRuby From ruby-noreply at macosforge.org Sat May 5 12:53:50 2012 From: ruby-noreply at macosforge.org (MacRuby) Date: Sat, 05 May 2012 19:53:50 +0000 Subject: [MacRuby] #1499: Can't install MacRuby in Lion In-Reply-To: <058.04b99b152b1c3f2e34d27058ee58cd8e@macosforge.org> References: <058.04b99b152b1c3f2e34d27058ee58cd8e@macosforge.org> Message-ID: <067.1f2e1568cd4fbf581848fcf64a8723db@macosforge.org> #1499: Can't install MacRuby in Lion -----------------------------------------+---------------------------------- Reporter: manfredigiordano@? | Owner: lsansonetti@? Type: defect | Status: closed Priority: blocker | Milestone: Component: MacRuby | Resolution: worksforme Keywords: macruby | -----------------------------------------+---------------------------------- Changes (by joshua.ballanco@?): * status: new => closed * resolution: => worksforme Comment: Great! Glad to hear that worked. -- Ticket URL: MacRuby From ruby-noreply at macosforge.org Sun May 6 19:12:47 2012 From: ruby-noreply at macosforge.org (MacRuby) Date: Mon, 07 May 2012 02:12:47 +0000 Subject: [MacRuby] #1500: Install script not finding Xcode Message-ID: <047.1ac5c01a23b0afed95ba54e053c50555@macosforge.org> #1500: Install script not finding Xcode ------------------------------+--------------------------------------------- Reporter: fatste@? | Owner: lsansonetti@? Type: defect | Status: new Priority: minor | Milestone: Component: MacRuby | Keywords: install installer xcode location ------------------------------+--------------------------------------------- The installer was failing part way through the installation process, but after it had copied all the files into the framework. the error message was: "An error occurred while running scripts from the package ?macruby_nightly-2012-05-02.pkg?" Mark Rada pointed me to this script: https://github.com/MacRuby/MacRuby/blob/master/misc/release/package_script/postinstall which I discovered was failing on this line: "XCODE_DIR=`xcode-select -print-path`" I ran: "sudo xcode-select -switch '/Developer'" which allowed the installer to finish. -- Ticket URL: MacRuby From ruby-noreply at macosforge.org Wed May 9 01:49:48 2012 From: ruby-noreply at macosforge.org (MacRuby) Date: Wed, 09 May 2012 08:49:48 +0000 Subject: [MacRuby] #1466: does not install MacRuby's Templetes and rb_nibtool into Xcode 4.3 In-Reply-To: <051.84a2cd5d558980996538e06a558237f4@macosforge.org> References: <051.84a2cd5d558980996538e06a558237f4@macosforge.org> Message-ID: <060.56135848069edd9f27c0f15f23297581@macosforge.org> #1466: does not install MacRuby's Templetes and rb_nibtool into Xcode 4.3 ----------------------------------+----------------------------------------- Reporter: watson1978@? | Owner: lsansonetti@? Type: defect | Status: reopened Priority: critical | Milestone: Component: MacRuby | Resolution: Keywords: | ----------------------------------+----------------------------------------- Changes (by marxfr@?): * status: closed => reopened * resolution: fixed => Comment: Hi, I'm using XCode Version 4.3.2 (4E2002) and MacRuby 0.10 (ruby 1.9.2) [universal-darwin10.0, x86_64] - and there are still no MacRuby Templates to create a Mac OS X ruby based Cocoa-Application. So I guess the problem till persists - are there any solutions? Thanks in advance, Frank -- Ticket URL: MacRuby From ruby-noreply at macosforge.org Wed May 9 02:07:45 2012 From: ruby-noreply at macosforge.org (MacRuby) Date: Wed, 09 May 2012 09:07:45 +0000 Subject: [MacRuby] #1466: does not install MacRuby's Templetes and rb_nibtool into Xcode 4.3 In-Reply-To: <051.84a2cd5d558980996538e06a558237f4@macosforge.org> References: <051.84a2cd5d558980996538e06a558237f4@macosforge.org> Message-ID: <060.ac677a24d2c5456c211454c07aaabd52@macosforge.org> #1466: does not install MacRuby's Templetes and rb_nibtool into Xcode 4.3 ----------------------------------+----------------------------------------- Reporter: watson1978@? | Owner: lsansonetti@? Type: defect | Status: closed Priority: critical | Milestone: Component: MacRuby | Resolution: fixed Keywords: | ----------------------------------+----------------------------------------- Changes (by watson1978@?): * status: reopened => closed * resolution: => fixed Comment: MacRuby 0.10 does not support Xcode 4.3. Please see https://github.com/MacRuby/MacRuby/wiki/Setting-up-MacRuby -- Ticket URL: MacRuby From ruby-noreply at macosforge.org Wed May 9 03:00:38 2012 From: ruby-noreply at macosforge.org (MacRuby) Date: Wed, 09 May 2012 10:00:38 +0000 Subject: [MacRuby] #1501: NSBeginAlertSheet call gives unknown: [BUG] unknown Objective-C immediate: 0x1 (nil) Message-ID: <051.b70d1109fadf0879a4271e62cb77ef22@macosforge.org> #1501: NSBeginAlertSheet call gives unknown: [BUG] unknown Objective-C immediate: 0x1 (nil) ----------------------------------+----------------------------------------- Reporter: benmorgan2@? | Owner: lsansonetti@? Type: defect | Status: new Priority: minor | Milestone: Component: MacRuby | Keywords: ----------------------------------+----------------------------------------- Calling NSBeginAlertSheet will crash the application with [BUG] unknown Objective-C immediate: 0x1 (nil) when any button apart from the 'cancel' button is pressed. The following code reproduces the error: {{{ class AppDelegate def applicationDidFinishLaunching(notification) NSBeginAlertSheet(nil, 'Default', 'Cancel', 'Alternate', $window, self, :'alertDidEnd:returnCode:contextInfo:', nil, nil, '') end def alertDidEnd(sheet, returnCode:rCode, contextInfo:cInfo) p sheet, rCode, cInfo end end app = NSApplication.sharedApplication app.delegate = AppDelegate.new $window = NSWindow.alloc.initWithContentRect([300, 200, 500, 300], styleMask:NSTitledWindowMask|NSClosableWindowMask|NSMiniaturizableWindowMask, backing:NSBackingStoreBuffered, defer:false) $window.level = NSModalPanelWindowLevel $window.delegate = app.delegate $window.display $window.orderFrontRegardless app.run }}} -- Ticket URL: MacRuby From ruby-noreply at macosforge.org Thu May 10 07:22:39 2012 From: ruby-noreply at macosforge.org (MacRuby) Date: Thu, 10 May 2012 14:22:39 +0000 Subject: [MacRuby] #1502: Appstore validation prevents upload due to MacRuby Malformed Framework Message-ID: <046.87550ec5390e14d9fc53b06dd716593f@macosforge.org> #1502: Appstore validation prevents upload due to MacRuby Malformed Framework -----------------------------+---------------------------------------------- Reporter: rob.ista@? | Owner: lsansonetti@? Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: appstore validation -----------------------------+---------------------------------------------- Recently the Appstore validation has changed and obviously they want every framework to comply precicely to the Anatomy of Framework Bundles. Today in the Versions folder there is a fixed Current. This obviously should be a symlink Current pointing to A (look at error message from the review process below) 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. -- Ticket URL: MacRuby From ruby-noreply at macosforge.org Thu May 10 15:05:19 2012 From: ruby-noreply at macosforge.org (MacRuby) Date: Thu, 10 May 2012 22:05:19 +0000 Subject: [MacRuby] #1502: Appstore validation prevents upload due to MacRuby Malformed Framework In-Reply-To: <046.87550ec5390e14d9fc53b06dd716593f@macosforge.org> References: <046.87550ec5390e14d9fc53b06dd716593f@macosforge.org> Message-ID: <055.ce87fa40f8c99392dce2a2e06ecb29cf@macosforge.org> #1502: Appstore validation prevents upload due to MacRuby Malformed Framework -----------------------------+---------------------------------------------- Reporter: rob.ista@? | Owner: lsansonetti@? Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: appstore validation -----------------------------+---------------------------------------------- Comment(by mrada@?): Hi Rob, Are you using a nightly build of MacRuby 0.12? If so, I'll revert the change that fiddles with the version symlink and you can try with tomorrow's build. -- Ticket URL: MacRuby From ruby-noreply at macosforge.org Tue May 15 06:56:46 2012 From: ruby-noreply at macosforge.org (MacRuby) Date: Tue, 15 May 2012 13:56:46 +0000 Subject: [MacRuby] #1503: DNS resolv fails on maxruby 0.10 Message-ID: <048.d69d4cb53e1f0b392fa91e3b40665d96@macosforge.org> #1503: DNS resolv fails on maxruby 0.10 -------------------------------+-------------------------------------------- Reporter: nils@? | Owner: lsansonetti@? Type: defect | Status: new Priority: major | Milestone: Component: MacRuby | Keywords: -------------------------------+-------------------------------------------- 15:52 ~/ $ ruby -v MacRuby 0.10 (ruby 1.9.2) [universal-darwin10.0, x86_64] 15:52 ~/ $ irb irb(main):001:0> require 'resolv' => true irb(main):002:0> Resolv.getaddresses("www.google.com") NoMethodError: undefined method `ip_address_list' for Socket:Class /Library/Frameworks/MacRuby.framework/Versions/0.10/usr/lib/ruby/1.9.2/resolv.rb:399:in `use_ipv6?' /Library/Frameworks/MacRuby.framework/Versions/0.10/usr/lib/ruby/1.9.2/resolv.rb:392:in `each_address:' /Library/Frameworks/MacRuby.framework/Versions/0.10/usr/lib/ruby/1.9.2/resolv.rb:115:in `block' /Library/Frameworks/MacRuby.framework/Versions/0.10/usr/lib/ruby/1.9.2/resolv.rb:114:in `each_address:' /Library/Frameworks/MacRuby.framework/Versions/0.10/usr/lib/ruby/1.9.2/resolv.rb:101:in `getaddresses:' /Library/Frameworks/MacRuby.framework/Versions/0.10/usr/lib/ruby/1.9.2/resolv.rb:50:in `getaddresses:' irb(main):003:0> -- Ticket URL: MacRuby From ruby-noreply at macosforge.org Tue May 15 06:58:11 2012 From: ruby-noreply at macosforge.org (MacRuby) Date: Tue, 15 May 2012 13:58:11 +0000 Subject: [MacRuby] #1503: DNS resolv fails on maxruby 0.10 In-Reply-To: <048.d69d4cb53e1f0b392fa91e3b40665d96@macosforge.org> References: <048.d69d4cb53e1f0b392fa91e3b40665d96@macosforge.org> Message-ID: <057.73770b61f12259c39782427ad7a6375b@macosforge.org> #1503: DNS resolv fails on maxruby 0.10 -------------------------------+-------------------------------------------- Reporter: nils@? | Owner: lsansonetti@? Type: defect | Status: new Priority: major | Milestone: Component: MacRuby | Keywords: -------------------------------+-------------------------------------------- Comment(by nils@?): Better formatting: {{{ 15:52 ~/ $ ruby -v MacRuby 0.10 (ruby 1.9.2) [universal-darwin10.0, x86_64] 15:52 ~/ $ irb irb(main):001:0> require 'resolv' => true irb(main):002:0> Resolv.getaddresses("www.google.com") NoMethodError: undefined method `ip_address_list' for Socket:Class /Library/Frameworks/MacRuby.framework/Versions/0.10/usr/lib/ruby/1.9.2/resolv.rb:399:in `use_ipv6?' /Library/Frameworks/MacRuby.framework/Versions/0.10/usr/lib/ruby/1.9.2/resolv.rb:392:in `each_address:' /Library/Frameworks/MacRuby.framework/Versions/0.10/usr/lib/ruby/1.9.2/resolv.rb:115:in `block' /Library/Frameworks/MacRuby.framework/Versions/0.10/usr/lib/ruby/1.9.2/resolv.rb:114:in `each_address:' /Library/Frameworks/MacRuby.framework/Versions/0.10/usr/lib/ruby/1.9.2/resolv.rb:101:in `getaddresses:' /Library/Frameworks/MacRuby.framework/Versions/0.10/usr/lib/ruby/1.9.2/resolv.rb:50:in `getaddresses:' irb(main):003:0> }}} -- Ticket URL: MacRuby From ruby-noreply at macosforge.org Tue May 15 07:01:42 2012 From: ruby-noreply at macosforge.org (MacRuby) Date: Tue, 15 May 2012 14:01:42 +0000 Subject: [MacRuby] #1503: DNS resolv fails on maxruby 0.10 In-Reply-To: <048.d69d4cb53e1f0b392fa91e3b40665d96@macosforge.org> References: <048.d69d4cb53e1f0b392fa91e3b40665d96@macosforge.org> Message-ID: <057.800a2885acc5857ab8d72b53f4ac85a4@macosforge.org> #1503: DNS resolv fails on maxruby 0.10 -------------------------------+-------------------------------------------- Reporter: nils@? | Owner: lsansonetti@? Type: defect | Status: closed Priority: major | Milestone: Component: MacRuby | Resolution: invalid Keywords: | -------------------------------+-------------------------------------------- Changes (by watson1978@?): * status: new => closed * resolution: => invalid Comment: This issue was fixed with MacRuby latest. ip_address_list was implemented in https://github.com/MacRuby/MacRuby/blob/master/ext/socket/socket.c#L6544 Please try with nightly build. -- Ticket URL: MacRuby From ruby-noreply at macosforge.org Tue May 15 07:07:30 2012 From: ruby-noreply at macosforge.org (MacRuby) Date: Tue, 15 May 2012 14:07:30 +0000 Subject: [MacRuby] #1471: '0.0 % 0.0' should not raise exception, but should return NaN. In-Reply-To: <051.f97bc9c48b233dbd02f8444c73932e95@macosforge.org> References: <051.f97bc9c48b233dbd02f8444c73932e95@macosforge.org> Message-ID: <060.e63bcf060ace77d6bef03174ea4b5474@macosforge.org> #1471: '0.0 % 0.0' should not raise exception, but should return NaN. ----------------------------------+----------------------------------------- Reporter: watson1978@? | Owner: lsansonetti@? Type: defect | Status: closed Priority: minor | Milestone: Component: MacRuby | Resolution: fixed Keywords: | ----------------------------------+----------------------------------------- Changes (by watson1978@?): * status: new => closed * resolution: => fixed Comment: Fixed with https://github.com/MacRuby/MacRuby/commit/a3b91c64b6fa2635f3ce51610f3f4ca9c120a8ec -- Ticket URL: MacRuby