2013-05-01 19 views
1

當我試圖把我的項目的Heroku我得到這個錯誤:我不能把我的Rails項目的Heroku,找不到引導,薩斯

-----> Deleting 3 files matching .slugignore patterns. 
-----> Ruby/Rails app detected 
-----> Using Ruby version: ruby-1.9.3 
-----> Installing dependencies using Bundler version 1.3.2 
     Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin --deployment 
     Fetching gem metadata from https://rubygems.org/....... 
     Fetching gem metadata from https://rubygems.org/.. 
     Could not find bootstrap-sass-2.3.1.1 in any of the sources 
! 
!  Failed to install gems via Bundler. 
! 
!  Heroku push rejected, failed to compile Ruby/rails app 

To [email protected]:kerbal-space-station.git 
! [remote rejected] master -> master (pre-receive hook declined) 
error: failed to push some refs to '[email protected]:kerbal-space-station.git' 

但是我的Gemfile肯定不會有和bundle install本地正常工作。

回答

1

引導,薩斯2.3.1.1被猛拉:https://rubygems.org/gems/bootstrap-sass/versions

您應該運行:

bundle update bootstrap-sass 

然後提交新Gemfile.lock的推到Heroku的

+0

耶穌,我不知道爲什麼捆綁包更新/捆綁軟件安裝沒有抓住這一點。您已經在本地安裝了 – krainboltgreene 2013-05-01 22:13:08

+0

b/c。 – 2013-05-01 22:33:47

1

bootstrap-的最後一個版本sass是2.3.1.0,你正在尋找2.3.1.1,它不存在。

檢查您的Gemfile並添加:

gem 'bootstrap-sass', '2.3.1.0' 
0

你不需要把版本號,你只能把

gem 'bootstrap-sass' 

然後做

bundle update 
+0

版本號保護主要修補程序更改,您應該始終使用樂觀版本要求。 – krainboltgreene 2013-05-01 22:59:43

相關問題