Shapado:在heroku上部署失败,系统包丢失错误 [英] Shapado: deploy on heroku failed with system package missing error
问题描述
我已经成功在本地系统上运行shapado rails应用程序(正在使用ubuntu)。但在运行软件包安装时,它会失败,并显示以下错误:
$ b
I have successfully ran the shapado rails application on my local system(am using ubuntu). But While running the bundle install, it fails with following error
configure:error:找不到uuid / uuid.h和uuid.h - 需要
brass,chert和flint(您可能需要安装uuid-dev,
libuuid-devel或e2fsprogs-devel软件包)
configure: error: Neither uuid/uuid.h nor uuid.h found - required for brass, chert and flint (you may need to install the uuid-dev, libuuid-devel or e2fsprogs-devel package)
然后我用
$ b
Then I installed the packages by using
安装了软件包sudo apt-get install uuid-dev
sudo apt-get install libqt4-dev
sudo apt-get install uuid-dev
sudo apt-get install libqt4-dev
运行rake任务时
rake引导程序RAILS_ENV = development
rake bootstrap RAILS_ENV=development
获得一些零错误并通过应用下面的补丁
Got some nil error and fixed the same by applying below patch
在此之后,我可以成功地在本地运行应用程序。
After this, I can able to run the application on my local successfully.
当我试图去在Heroku上使用它时,它失败了。
When I tried to deploy on Heroku it fails with
configure:error:找不到uuid / uuid.h和uuid.h - 需要brass,chert和flint(您可能需要安装uuid-dev,libuuid-devel或e2fsprogs-devel软件包)
configure: error: Neither uuid/uuid.h nor uuid.h found - required for brass, chert and flint (you may need to install the uuid-dev, libuuid-devel or e2fsprogs-devel package)
它会尝试安装gem 'xapian-ruby','1.2.7.1',因包不可用而失败。
it tries to install the gem 'xapian-ruby', '1.2.7.1' and fails due to unavailable of packages.
是否有人面临同样的问题。建议我对此进行分类。
Is any one facing the same issue. Suggest me to sort this out.
推荐答案
将shapado部署到heroku需要您创建一个具有二进制相关性的定制buildpack shapado需要内置。有关如何执行此操作的说明,请点击此处 https: //blog.heroku.com/archives/2012/11/13/hacking-buildpacks 。这是可能的。
Deploying shapado to heroku would require you to make a custom buildpack that has the binary dependencies that shapado needs built in. Instructions on how to do that can be found here https://blog.heroku.com/archives/2012/11/13/hacking-buildpacks. It is possible though.
这篇关于Shapado:在heroku上部署失败,系统包丢失错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!