You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've installed the application with ruby 2.2 and rbenv and I get the following error:
➜ ~ xcode-install install 6.4
sh: /Applications/Xcode: No such file or directory
/usr/local/opt/rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/xcode-install-0.1.0/lib/xcode/install.rb:223:in `get_version': undefined method `split' for nil:NilClass (NoMethodError)
from /usr/local/opt/rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/xcode-install-0.1.0/lib/xcode/install.rb:216:in `initialize'
from /usr/local/opt/rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/xcode-install-0.1.0/lib/xcode/install.rb:92:in `new'
from /usr/local/opt/rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/xcode-install-0.1.0/lib/xcode/install.rb:92:in `block in installed_versions'
from /usr/local/opt/rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/xcode-install-0.1.0/lib/xcode/install.rb:92:in `map'
from /usr/local/opt/rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/xcode-install-0.1.0/lib/xcode/install.rb:92:in `installed_versions'
from /usr/local/opt/rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/xcode-install-0.1.0/lib/xcode/install.rb:88:in `installed?'
from /usr/local/opt/rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/xcode-install-0.1.0/lib/xcode/install/install.rb:25:in `validate!'
from /usr/local/opt/rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/claide-0.8.1/lib/claide/command.rb:311:in `run'
from /usr/local/opt/rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/xcode-install-0.1.0/bin/xcode-install:12:in `<top (required)>'
from /usr/local/opt/rbenv/versions/2.2.0/bin/xcode-install:23:in `load'
from /usr/local/opt/rbenv/versions/2.2.0/bin/xcode-install:23:in `<main>'
➜ ~ xcode-install list
sh: /Applications/Xcode: No such file or directory
/usr/local/opt/rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/xcode-install-0.1.0/lib/xcode/install.rb:223:in `get_version': undefined method `split' for nil:NilClass (NoMethodError)
from /usr/local/opt/rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/xcode-install-0.1.0/lib/xcode/install.rb:216:in `initialize'
from /usr/local/opt/rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/xcode-install-0.1.0/lib/xcode/install.rb:92:in `new'
from /usr/local/opt/rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/xcode-install-0.1.0/lib/xcode/install.rb:92:in `block in installed_versions'
from /usr/local/opt/rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/xcode-install-0.1.0/lib/xcode/install.rb:92:in `map'
from /usr/local/opt/rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/xcode-install-0.1.0/lib/xcode/install.rb:92:in `installed_versions'
from /usr/local/opt/rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/xcode-install-0.1.0/lib/xcode/install.rb:189:in `list_versions'
from /usr/local/opt/rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/xcode-install-0.1.0/lib/xcode/install.rb:127:in `list_current'
from /usr/local/opt/rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/xcode-install-0.1.0/lib/xcode/install/list.rb:22:in `run'
from /usr/local/opt/rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/claide-0.8.1/lib/claide/command.rb:312:in `run'
from /usr/local/opt/rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/xcode-install-0.1.0/bin/xcode-install:12:in `<top (required)>'
from /usr/local/opt/rbenv/versions/2.2.0/bin/xcode-install:23:in `load'
from /usr/local/opt/rbenv/versions/2.2.0/bin/xcode-install:23:in `<main>'
➜ ~ ll /Applications/Xcode*
/Applications/Xcode 2.app:
total 0
drwxr-xr-x@ 16 romain admin 544B 26 Feb 19:09 Contents
/Applications/Xcode-beta 4.app:
total 0
drwxr-xr-x@ 16 romain admin 544B 20 Mar 01:57 Contents
/Applications/Xcode.app:
total 0
drwxr-xr-x 17 root wheel 578B 8 Apr 22:09 Contents
This looks like an error with spaces in the path to existing Xcodes, in your case "/Applications/Xcode 2.app". I'll whip up a fix, in the meantime, you should be able to use XcodeInstall by removing/replacing the space.
I've installed the application with ruby 2.2 and rbenv and I get the following error:
Any idea? Thanks!
The text was updated successfully, but these errors were encountered: