GitNub fails to start when called with nub
Reported by Markus Prinz | March 21st, 2008 @ 04:22 AM
GitNub 0.7.0
Output in the Console:
RBCocoaInstallRubyThreadSchedulerHooks: couldn't find autoreleasePool ivar
CommitsController#tableView_willDisplayCell_forTableColumn_row: NoMethodError: undefined method `to_ns' for Wed Mar 19 16:42:36 +0100 2008:Time
/Users/cypher/Projects/GitNub/build/Release/GitNub.app/Contents/Resources/lib/time_extensions.rb:12:in `to_system_time'
/Users/cypher/Projects/GitNub/build/Release/GitNub.app/Contents/Resources/CommitsController.rb:97:in `tableView_willDisplayCell_forTableColumn_row'
/Users/cypher/Projects/GitNub/build/Release/GitNub.app/Contents/Resources/rb_main.rb:23:in `NSApplicationMain'
/Users/cypher/Projects/GitNub/build/Release/GitNub.app/Contents/Resources/rb_main.rb:23
/Users/cypher/Projects/GitNub/build/Release/GitNub.app/Contents/Resources/lib/time_extensions.rb:12:in `to_system_time': undefined method `to_ns' for Wed Mar 19 16:42:36 +0100 2008:Time (NoMethodError)
from /Users/cypher/Projects/GitNub/build/Release/GitNub.app/Contents/Resources/CommitsController.rb:97:in `tableView_willDisplayCell_forTableColumn_row'
from /Users/cypher/Projects/GitNub/build/Release/GitNub.app/Contents/Resources/rb_main.rb:23:in `NSApplicationMain'
from /Users/cypher/Projects/GitNub/build/Release/GitNub.app/Contents/Resources/rb_main.rb:23
com.apple.launchd[137] ([0x0-0x1ec1ec].com.alternateidea.rubycocoa.GitNubApp[5407]) Exited with exit code: 1
Comments and changes to this ticket
-
Justin Palmer March 21st, 2008 @ 04:33 AM
- State changed from new to open
Hmm, what version of RubyCocoa are you running? To check this you can open irb and run the following
require 'osx/cocoa' OSX::RUBYCOCOA_VERSION
Also, can you tell me if to_ns works when you run this from irb:
require 'osx/cocoa' >> t = Time.now => Fri Mar 21 04:25:46 -0700 2008 >> t.to_ns => #<NSDate 2008-03-21 04:25:46 -0700>
-
Justin Palmer March 21st, 2008 @ 04:35 AM
On Fri, Mar 21, 2008 at 4:18 AM, Lighthouse
wrote:
Hmm, what version of RubyCocoa are you running? To check this you can open
irb and run the following
require 'osx/cocoa' OSX::RUBYCOCOA_VERSION
Also, can you tell me if to_ns works when you run this from irb:
require 'osx/cocoa' >> t = Time.now => Fri Mar 21 04:25:46 -0700 2008 >> t.to_ns => #<NSDate 2008-03-21 04:25:46 -0700>
-
Markus Prinz March 21st, 2008 @ 06:11 AM
The one that comes with Leopard by default:
$ irb >> require 'osx/cocoa' 2008-03-21 14:03:12.097 irb[6639:10b] RBCocoaInstallRubyThreadSchedulerHooks: couldn't find autoreleasePool ivar => true >> OSX::RUBYCOCOA_VERSION => "0.12.0" >> t = Time.now => Fri Mar 21 14:03:26 0100 2008 >> t.to_ns NoMethodError: undefined method `to_ns' for Fri Mar 21 14:03:26 +0100 2008:Time from (irb):4
I'm now trying to upgrade to 0.13.2, and see if that works.
-
Markus Prinz March 22nd, 2008 @ 04:58 AM
Maybe the documentation should be updated to point out that RubyCocoa 0.13.2 is required? Or maybe 0.13.2 can somehow be bundled with GitNub?
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป