2

rails-composerを使用してプロジェクトを開始しようとしています。composer が gem をインストールした直後に、エラーが発生してスクリプトが停止します。エラーは次のとおりです。

Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed.
    composer  Running 'after bundler' callbacks.
The template [https://raw.github.com/RailsApps/rails-composer/master/composer.rb] could not be loaded. Error: You have already activated builder 3.0.0, but your Gemfile requires builder 3.0.2. Using bundle exec may solve this.

これを解決するために bundle exec を使用する方法がわかりません。

4

1 に答える 1

3

コマンドラインでこれを行います

 gem install builder --version '3.0.2'

& 次に、rails-composer を使用してみます

于 2012-09-07T18:09:13.697 に答える