我想安装此https://github.com/sferik/rails_admin 所以我在gemfile中粘贴了那些2
gem 'devise' # Devise must be required before RailsAdmin
gem 'rails_admin', :git => 'git://github.com/sferik/rails_admin.git'
然而,当我捆绑安装时,仅第二个似乎就出现了这个问题:
Fetching git://github.com/sferik/rails_admin.git
sh: git: command not found
An error has occurred in git when running `git clone "git://github.com/sferik/rails_admin.git" "/Library/Ruby/Gems/1.8/cache/bundler/git/rails_admin-76c2c78f1892a43807d922e810aef4edcddc12b7" --bare --no-hardlinks`. Cannot complete bundling.
有什么想法吗?