0

https://github.com/bborn/communityengineに従って、既存の Rails アプリにコミュニティ エンジンの gem を追加しようとしています。

1) アプリの作成から始めます: rails new social

2) gemfile を開き、gem 'community_engine', '~> 3.0.0' を追加し、rails と sass-rails を gem 'rails', '~> 4.0.0' と gem 'sass-rails', '~> に設定します。 4.0.0'

3) 新しい application_config.rb を作成し、configatron.community_name = "Social" を追加します。

4) gemfile.lock を削除し、bundle install --binstubs を実行します。次に bin/rake community_engine:install:migrations を実行すると表示されますが、エラーが発生します

レーキが中止されました! LoadError: そのようなファイルを読み込めません -- aws/s3 /home/madmous/Desktop/social/config/application.rb:7:in <top (required)>' /home/madmous/Desktop/social/Rakefile:4:inrequire' /home/madmous/Desktop/social/Rakefile:4:in `'

このエラーの原因を探していますが、役立つものは何も見つかりませんでした。

私は git clone https://github.com/bborn/communityengine.gitもやってみましたが、それからアプリケーションをセットアップする方法がわかりません。

どんな助けでも大歓迎です。前もって感謝します

4

1 に答える 1

2

ここを参照してください: https://github.com/bborn/communityengine/issues/295

gem 'aws-s3'Gemfileに含めるか、マスターから CommunityEngine を使用する必要があります (Gemfile: 内gem 'community_engine', :git => 'https://github.com/bborn/communityengine', :branch => 'master') 。

于 2015-03-30T16:59:01.753 に答える