Unable to use TicGit: Ruby problem

I am trying to use Ticgit by running

 ti

      

The following error message appears

/opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- git (LoadError)
        from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in `require'
        from /opt/local/lib/ruby/gems/1.8/gems/schacon-ticgit-0.3.6/lib/ticgit.rb:8
        from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
        from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in `require'
        from /opt/local/lib/ruby/gems/1.8/gems/schacon-ticgit-0.3.6/bin/ti:9
        from /opt/local/bin/ti:19:in `load'
        from /opt/local/bin/ti:19

      

The problem might be related to MacPorts. He complains that I need to update Xcode to the latest version, even though I have the newest version.

The first line in the error message is weird since I have a.

What does the error message say?

+1


a source to share


1 answer


Do you have git rubygem installed?

"/ opt / local / lib / ruby ​​/vendor_ruby/1.8/rubygems/custom_require.rb: 31: in` gem_original_require ': no ​​such file to download - git (LoadError)" means you don't have a ruby ​​library available in your download path, not that you don't have the git binary installed.



run 'gem list -l git' and if it doesn't find the library then run 'gem install git'

+3


a source







All Articles