私は Windows 7 を使用しており、http://hospice.io/を使用したいと考えています。これには Ruby gem が必要なので、 http:librarian
//rubyinstaller.org/を使用して Ruby 2.0 をインストールし、http: //rubyforge.org/frs/?group_id=126 から RubyGems 1.8.25 をダウンロードして更新しました ( )。をインストールしました。gem update --system
librarian
ruby setup.rb
gem install librarian
今、私はVagrantボックスのあるフォルダーにいて、コマンドを実行したいのですlibrarian-chef
が、
'librarian-chef' is not recognized as an internal or external command, operable program or batch file.
devkit/msys
同じ結果でルビーを実行したときに試しました。それを実行する方法について何か提案はありますか?PATH に問題があると思いますが、gem install
機能するのに機能しないのはなぜlibrarian-chef
ですか?
gem env
:
RubyGems Environment:
- RUBYGEMS VERSION: 2.0.3
- RUBY VERSION: 2.0.0 (2013-02-24 patchlevel 0) [x64-mingw32]
- INSTALLATION DIRECTORY: C:/bin/ruby/lib/ruby/gems/2.0.0
- RUBY EXECUTABLE: C:/bin/ruby/bin/ruby.exe
- EXECUTABLE DIRECTORY: C:/bin/ruby/bin
- RUBYGEMS PLATFORMS:
- ruby
- x64-mingw32
- GEM PATHS:
- C:/bin/ruby/lib/ruby/gems/2.0.0
- C:/Users/Andrew/.gem/ruby/2.0.0
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
- https://rubygems.org/