2013-05-01 47 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

相关问题