Tag: osx lion

无法安装pg gem

试图安装pg gem会给我带来错误。 我正在使用使用rbenv / ruby​​-build构建的Ruby 1.9.3-p125。 我使用一键安装程序安装了PostgreSQL。 我可以使用pgAdmin连接到数据库。 我的想法已经不多了。 % gem install pg ~ Building native extensions. This could take a while… ERROR: Error installing pg: ERROR: Failed to build gem native extension. /Users/sandropadin/.rbenv/versions/1.9.3-p125/bin/ruby extconf.rb checking for pg_config… yes Using config values from /usr/bin/pg_config checking for libpq-fe.h… yes checking for libpq/libpq-fs.h… yes checking for pg_config_manual.h… […]

使用Xcode 4.3.1在Mac上更新Ruby

我正在使用RVM来安装它,它给了我这个错误: The provided compiler ‘/usr/bin/gcc’ is LLVM based, it is not yet fully supported by ruby and gems, please read `rvm requirements`. 我在Lion 10.7.3上,我有Xcode 4.3.1。