2013-06-05 35 views
1

時,我有點新的這一切所以這可能是我忽略了一些東西很明顯,但是當我試圖把我的大禮包Rails應用程序要麼Heroku的或我魔豆獲取涉及包的不同錯誤。施普雷 - 捆綁錯誤推到Heroku的或彈性魔豆

這一個的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 

和這一個彈性魔豆:

https://github.com/spree/spree_gateway.git (at 2-0-stable) is not checked out. 
Please run `bundle install` (Bundler::GitError) 

我的Gemfile在這裏。 https://github.com/pjsim/spree_exporting_sardinia/blob/master/Gemfile

該應用程序既捆綁和本地服務器上運行良好,我的ruby版本是1.9.3p392,所以我不明白爲什麼它在這裏失敗。任何想法,我錯了?

回答

2

在Heroku上的默認紅寶石仍是1.9.2。嘗試將ruby '1.9.3'添加到您的Gemfile以解決該問題。

+0

甜。這似乎已經修復了heroku。我還需要在gemfile中的每個狂歡寶石上添加:branch =>「2-0-stable」。我會努力讓豆莖工作。 – pjsim