科学の箱

科学・IT・登山の話題

IT

berkshelf error

投稿日:

これは何だろう

WARNING: Berkshelf could not be loaded
WARNING: Please add the berkshelf gem to your Gemfile or install it manually with `gem install berkshelf`

よくわからないエラーだったのだが下記の手順でとりあえず解消した。

  1. Gemfileをchefのワーキングディレクトリに作成する。
    下記の内容でchefのワーキングディレクトリにGemfileを作成した。これでbundlerとknife soloについてすべてでdependency fileをインストールする。

    source 'https://rubygems.org'
    
    gem 'berkshelf'
    gem 'knife-solo'
  2. ワーキングディレクトリに移動してbundleですべてのインストール
    bundle install
  3. knife soloを実行
    bundle exec knife solo cook usera@192.168.1.1 -i /Users/usera/.ssh/id_rsa

メタ情報

inarticle



メタ情報

inarticle



-IT
-

執筆者:


  1. […] これでインストールされているが後でknife soloでberksのエラーが出た場合にはこちらを参考にする。 […]

comment

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です

関連記事

no image

gitでsshをテストする

ssh -T git@github.com -i .\.ssh\id_rsa_user01 Related posts:Nortel ERSでスタックが落ちた時のエラーメッセージRemoteFPing …

no image

Expireしていないメディアを再利用する手順

Networkerではバックアップしたデータに保管期限を設定できる。これをExpireやBrowsibleと呼んでいる。保管期限は会社で決められたバックアップポリシーに従うことが多い。公的なコンプライ …

no image

Backup group contains no enabled clients , Enable one or more clients then restart the backup operations

Networkerでマニュアル起動の月次バックアップを起動した際にエラーが出て処理が停止した。 Backup group contains no enabled clients , Enable on …

no image

gitでmasterにした変更をfeature branchに移す

gitを使った開発ではマスタブランチには直接変更をかけない。トピックごとにfeatureブランチを生成する。1トピック=1featureで開発を進める。featureブランチを変更中に別のバグや要件が …

no image

The email address that is used in your default Microsoft Office Outlook profile differs from the sign-in address that is used in Office Communicator

OutlookのプロファイルとOffice Communicatorのアカウントが異なると出るエラー。 ワークアラウンドは3つある。 Microsoft Online Service Sign In …

2014年9月
« 8月   10月 »
1234567
891011121314
15161718192021
22232425262728
2930  

side bar top



アーカイブ

カテゴリー