I'm trying to use rails-composer to start a project. Right after composer installs the gems I get an error and the script stops. Here is the error:

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.

I'm not sure how to use bundle exec to solve this.

有帮助吗?

解决方案

Do this in your commandline

 gem install builder --version '3.0.2'

& then try to use rails-composer

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top