gonzoua/xcs — Issue #3: Can't add a group
Author: paulshapiro
Created: 2011-10-13 23:42:21+00:00
State: open

Hi,

I'm trying to add a new group, but it errors and I can't find how to mend it... I googled a bit for the error but didn't find anything relevant enough.

$ thor xcs:mkgroup NewGroup

Using _______________.xcodeproj
/Library/Ruby/Gems/1.8/gems/rb-appscript-0.6.1/lib/appscript.rb:683:in `[]': Bad selector: nil not allowed. (TypeError)
from /Users/______/.thor/b18ed0c5ebb22c481affce3eb65243f5:89:in `mkgroup'
from /Users/______/.thor/b18ed0c5ebb22c481affce3eb65243f5:194:in `mkgroup'
from /Library/Ruby/Gems/1.8/gems/thor-0.14.6/lib/thor/task.rb:22:in `send'
from /Library/Ruby/Gems/1.8/gems/thor-0.14.6/lib/thor/task.rb:22:in `run'
from /Library/Ruby/Gems/1.8/gems/thor-0.14.6/lib/thor/invocation.rb:118:in `invoke_task'
from /Library/Ruby/Gems/1.8/gems/thor-0.14.6/lib/thor.rb:263:in `dispatch'
from /Library/Ruby/Gems/1.8/gems/thor-0.14.6/lib/thor/base.rb:389:in `start'
from /Library/Ruby/Gems/1.8/gems/thor-0.14.6/lib/thor/runner.rb:34:in `method_missing'
from /Library/Ruby/Gems/1.8/gems/thor-0.14.6/lib/thor/task.rb:22:in `send'
from /Library/Ruby/Gems/1.8/gems/thor-0.14.6/lib/thor/task.rb:22:in `run'
from /Library/Ruby/Gems/1.8/gems/thor-0.14.6/lib/thor/task.rb:108:in `run'
from /Library/Ruby/Gems/1.8/gems/thor-0.14.6/lib/thor/invocation.rb:118:in `invoke_task'
from /Library/Ruby/Gems/1.8/gems/thor-0.14.6/lib/thor.rb:263:in `dispatch'
from /Library/Ruby/Gems/1.8/gems/thor-0.14.6/lib/thor/base.rb:389:in `start'
from /Library/Ruby/Gems/1.8/gems/thor-0.14.6/bin/thor:6
from /usr/bin/thor:19:in `load'
from /usr/bin/thor:19

Any ideas what's up with this? I had to fix my rails installation earlier to solve some other errors. I wonder if this is related? I'm kind of a ruby noob at the moment (1 day of experience), so I dunno where the problem is right away..

ruby 1.8.7 (2010-01-10 patchlevel 249) [universal-darwin11.0]
rails 3.3.1
rb-appscript-0.6.1
Thor 0.14.6

OS 10.7.2
Xcode 3.2.5
Xcode 4.1 is installed but when Appscript opened Xcode, it opened 3.2.5 naturally

Thanks!

Paul