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
or whatelse command with pod i try ... result is ever the same:
/Users/andreastambazzi/.gem/ruby/3.3.0/gems/cocoapods-1.15.2/lib/cocoapods/executable.rb:97:in `expand_path': user Library doesn't exist (ArgumentError)
bin = File.expand_path(program, path)
^^^^^^^^^^^^^
from /Users/andreastambazzi/.gem/ruby/3.3.0/gems/cocoapods-1.15.2/lib/cocoapods/executable.rb:97:in `block in which'
from /Users/andreastambazzi/.gem/ruby/3.3.0/gems/cocoapods-1.15.2/lib/cocoapods/executable.rb:96:in `each'
from /Users/andreastambazzi/.gem/ruby/3.3.0/gems/cocoapods-1.15.2/lib/cocoapods/executable.rb:96:in `which'
from /Users/andreastambazzi/.gem/ruby/3.3.0/gems/cocoapods-1.15.2/lib/cocoapods/executable.rb:117:in `which!'
from /Users/andreastambazzi/.gem/ruby/3.3.0/gems/cocoapods-1.15.2/lib/cocoapods/executable.rb:143:in `capture_command'
from /Users/andreastambazzi/.gem/ruby/3.3.0/gems/cocoapods-1.15.2/lib/cocoapods/command.rb:126:in `git_version'
from /Users/andreastambazzi/.gem/ruby/3.3.0/gems/cocoapods-1.15.2/lib/cocoapods/command.rb:140:in `verify_minimum_git_version!'
from /Users/andreastambazzi/.gem/ruby/3.3.0/gems/cocoapods-1.15.2/lib/cocoapods/command.rb:49:in `run'
from /Users/andreastambazzi/.gem/ruby/3.3.0/gems/cocoapods-1.15.2/bin/pod:55:in `<top (required)>'
from /Users/andreastambazzi/.gem/ruby/3.3.0/bin/pod:25:in `load'
from /Users/andreastambazzi/.gem/ruby/3.3.0/bin/pod:25:in `<main>'
andreastambazzi@Logos ~ $ which git
/usr/local/bin/git
andreastambazzi@Logos ~ $ git -v
git version 2.44.0
cocoapod seem not found git command even if it is present.
CocoaPods Environment
I'm unable to see the environment rtesult too cause the pod env command is afflicted by the same issue
andreastambazzi@Logos ~ $ pod env
/Users/andreastambazzi/.gem/ruby/3.3.0/gems/cocoapods-1.15.2/lib/cocoapods/executable.rb:97:in `expand_path': user Library doesn't exist (ArgumentError)
bin = File.expand_path(program, path)
^^^^^^^^^^^^^
from /Users/andreastambazzi/.gem/ruby/3.3.0/gems/cocoapods-1.15.2/lib/cocoapods/executable.rb:97:in `block in which'
from /Users/andreastambazzi/.gem/ruby/3.3.0/gems/cocoapods-1.15.2/lib/cocoapods/executable.rb:96:in `each'
from /Users/andreastambazzi/.gem/ruby/3.3.0/gems/cocoapods-1.15.2/lib/cocoapods/executable.rb:96:in `which'
from /Users/andreastambazzi/.gem/ruby/3.3.0/gems/cocoapods-1.15.2/lib/cocoapods/executable.rb:117:in `which!'
from /Users/andreastambazzi/.gem/ruby/3.3.0/gems/cocoapods-1.15.2/lib/cocoapods/executable.rb:143:in `capture_command'
from /Users/andreastambazzi/.gem/ruby/3.3.0/gems/cocoapods-1.15.2/lib/cocoapods/command.rb:126:in `git_version'
from /Users/andreastambazzi/.gem/ruby/3.3.0/gems/cocoapods-1.15.2/lib/cocoapods/command.rb:140:in `verify_minimum_git_version!'
from /Users/andreastambazzi/.gem/ruby/3.3.0/gems/cocoapods-1.15.2/lib/cocoapods/command.rb:49:in `run'
from /Users/andreastambazzi/.gem/ruby/3.3.0/gems/cocoapods-1.15.2/bin/pod:55:in `<top (required)>'
from /Users/andreastambazzi/.gem/ruby/3.3.0/bin/pod:25:in `load'
from /Users/andreastambazzi/.gem/ruby/3.3.0/bin/pod:25:in `<main>'
I have used a trick making a sim link to git command inside the directory where i run pod command ...
but is a very ugly solution, i think the coccoapods need a fix that implement a search of git comamnd inside the environemt PATH variable.
Report
What i done
pod install
or
pod --help
or whatelse command with pod i try ... result is ever the same:
/Users/andreastambazzi/.gem/ruby/3.3.0/gems/cocoapods-1.15.2/lib/cocoapods/executable.rb:97:in `expand_path': user Library doesn't exist (ArgumentError)
andreastambazzi@Logos ~ $ which git
/usr/local/bin/git
andreastambazzi@Logos ~ $ git -v
git version 2.44.0
cocoapod seem not found git command even if it is present.
CocoaPods Environment
I'm unable to see the environment rtesult too cause the pod env command is afflicted by the same issue
andreastambazzi@Logos ~ $ pod env
/Users/andreastambazzi/.gem/ruby/3.3.0/gems/cocoapods-1.15.2/lib/cocoapods/executable.rb:97:in `expand_path': user Library doesn't exist (ArgumentError)
I've installed cocoapods with gem install command
Gem enviroment
andreastambazzi@Logos ~ $ gem env
RubyGems Environment:
The text was updated successfully, but these errors were encountered: