2017-07-04 11 views
0

私はbundle exec jekyll serve「あなたのバンドルがアドレス可能にロックされています」とはどういう意味ですか?

にしようとしているが、私はこのエラーを取得:

Your bundle is locked to addressable (2.5.0), but that version could not be found in any of the sources listed in your Gemfile. If you haven't changed sources, that means the author of addressable (2.5.0) has removed it. You'll need to update your bundle to a different version of addressable (2.5.0) that hasn't been removed in order to install. 
Run `bundle install` to install missing gems. 

bundle installこれは動作しますが、それは私が考える間違ったバージョンを提供してくれ

Warning: the running version of Bundler (1.13.6) is older than the version that created the lockfile (1.13.7). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`. 

を与えます

Successfully installed bundler-1.15.1 
Parsing documentation for bundler-1.15.1 
Done installing documentation for bundler after 4 seconds 
1 gem installed 

バンドルはどこですかそれはどういう意味ですか?私は私のgemfileをチェックしましたが、そこには何もありません。ロックを解除することはできますか?私はジキルの定型文を実行しようとしていて、ルービーはビールを使ってインストールしました。

+1

'bundle update'を試してから' bundle exec jekyll serve'を実行してください – Pavan

+0

私は異なったバージョンのrubyを実行しているようです... 'liquid-4.0.0にはrubyバージョン> = 2.1.0が必要ですruby 2.0.0p648'と互換性がありませんが、私がBREW更新ルビーを試してみると、 'Error:ruby 2.4.1_1 already installed'と表示されます – Himmators

+0

' brew update ruby​​'? RVMまたはRBenvを使用していませんか? –

答えて

0

"あなたのバンドルがアドレス可能にロックされています..."というエラーは、あなたのGemfile.lockにアドレス可能なバージョンが指定されていることを意味しますが、まだマシンにはインストールされていません。これを修正してbundle installを修正しました。

そのように、あなたは次のことを実行した場合、あなたのアプリケーションがうまく実行する必要があります。

$ bundle install 
$ bundle exec jekyll serve 

「バンドラー(1.13.6)が古いです...」警告が良い人からちょうどFYIですBundlerでアップグレードをお勧めします。あなたはあなたのアプリに影響を与えることなくそれを無視しても問題ありません(ただし、最新の状態に保つのがよい方法です)。

関連する問題