私はこれらすべてに少し慣れていないので、見落としていることは明らかかもしれませんが、spree rails アプリをherokuまたはbeanstalkにプッシュしようとすると、バンドルに関連するさまざまなエラーが発生します。
これはHeroku用です:
Installing spree_core (2.0.0)
Gem::InstallError: spree_core requires Ruby version >= 1.9.3.
An error occurred while installing spree_core (2.0.0), and Bundler cannot
continue.
Make sure that `gem install spree_core -v '2.0.0'` succeeds before bundling.
!
! Failed to install gems via Bundler.
!
! Push rejected, failed to compile Ruby/Rails app
これは Elastic Beanstalk 用です。
https://github.com/spree/spree_gateway.git (at 2-0-stable) is not checked out.
Please run `bundle install` (Bundler::GitError)
私の宝石ファイルはここにあります。 https://github.com/pjsim/spree_exporting_sardinia/blob/master/Gemfile
アプリは両方ともバンドルされ、ローカル サーバーで正常に実行されます。私のルビー バージョンは 1.9.3p392 なので、ここで失敗する理由がわかりません。私が間違っていたアイデアはありますか?