2

私はこのファイルを持っています:

ソース:ルビジェム

gem 'sinatra', '1.3.1' group :development do gem 'rspec', '2.7.0' gem 'cucumber', '1.1.3' gem 'capybara', '1.1.2' end

cmd.exe からコマンド: bundle を実行して、このファイルから gem をインストールしようとしています。画面に「Gemfile が見つかりませんでした」というメッセージが表示されます。

コマンドはプロジェクトのルートから実行する必要がありますが、なぜ機能しないのかわかりません。ここに私のプロジェクト 'C:\Test\Cash Withdrawal' があります。ここに Gemfile がありますが、機能しません。Gemfile を配置する必要がある場所と、gemfile を実行する必要があるディレクトリを教えてください。THX!

4

1 に答える 1

0

Bundle command expects a presence of a file name "Gemfile". So if your project Directory is " C:\Test\Cash Withdrawal", make sure following

  • You have a file name "Gemfile" in "C:\Test\Cash Withdrawal" directory.
  • While executing "bundle install" your current directory is "C:\Test\Cash Withdrawal".
于 2012-10-14T16:18:49.463 に答える