小编not*_*rab的帖子

难以使用Mac Postgres App捆绑pg

我尝试在我的Mac上捆绑我的Rails应用程序.在家里它工作正常,我已经设法解决它自己以前,但这次无论我尝试什么,似乎没有什么似乎正在努力解决它.

运行bundle/bundle install时收到的错误如下:

安装pg(0.17.0)Gem :: Installer :: ExtensionBuildError:错误:无法构建gem原生扩展.

/Users/notrab/.rbenv/versions/2.0.0-p0/bin/ruby extconf.rb
Run Code Online (Sandbox Code Playgroud)

检查pg_config ...否否pg_config ...尝试无论如何.如果构建失败,请再次尝试使用--with -pg-config =/path/to/pg_config检查libpq-fe.h ...否找不到'libpq-fe.h header *extconf.rb失败* 由于某些原因无法创建Makefile,可能缺少必要的库和/或标头.检查mkmf.log文件以获取更多详细信息.您可能需要配置选项.

提供的配置选项: - with-opt-dir --without-opt-dir --with-opt-include --without-opt-include = $ {opt-dir}/include --with-opt-lib - without-opt-lib = $ {opt-dir}/lib --with-make-prog --without-make-prog --srcdir =.--curdir --ruby =/Users/notrab/.rbenv/versions/2.0.0-p0/bin/ruby​​ --with-pg --without-pg --with-pg-config --without-pg-config --with-pg_config --without-pg_config --with-pg-dir --without-pg-dir --with-pg-include --without-pg-include = $ {pg-dir}/include --with -pg-lib --without-pg-lib = $ {pg-dir} /

Gem文件将保留在/Users/notrab/Sites/Integrity/vendor/bundle/gems/pg-0.17.0中进行检查.

结果记录到/Users/notrab/Sites/Integrity/vendor/bundle/gems/pg-0.17.0/ext/gem_make.out

安装pg(0.17.0)时发生错误,Bundler无法继续.gem install pg -v '0.17.0'在捆绑之前确保成功.

我显然试过跑步

gem install pg -v'0.17.0'并且它说它成功但是再次捆绑显示同样的错误.

我也试过跑步

gem install pg - --with-pg-config …

postgresql macos gem bundle pg

3
推荐指数
1
解决办法
2774
查看次数

使用css滚动平铺图像

我希望有一排3张图像,每行包含大约10张图像.

图像尺寸为270x270px,应该像您想象的那样在屏幕上从右到左浮动云.

我希望顶行的图像从右到左,中间是相反的方向,底部与顶部相同但是以不同的间隔.

我不是100%肯定如何完成这个,我是CSS动画的新手.

我已尝试在列表中浮动列表项,但浏览器似乎会在窗口内部剪切ul并且不会让它浮出屏幕.

查看图片了解详情

图像应循环并继续显示图像流,而不会中断动画或放置.

任何帮助入门将非常感激.

G

html javascript css css3

2
推荐指数
1
解决办法
774
查看次数

标签 统计

bundle ×1

css ×1

css3 ×1

gem ×1

html ×1

javascript ×1

macos ×1

pg ×1

postgresql ×1