Tag: linuxmint

错误运行gem install pg -v’0.15.1′

运行 gem install pg -v ‘0.15.1’ 给出错误: 构建原生扩展。 这可能需要一段时间…错误:安装pg时出错:错误:无法构建gem原生扩展。 /home/askar/.rvm/rubies/ruby-1.9.3-p429/bin/ruby extconf.rb checking for pg_config… no No pg_config… trying anyway. If 构建失败,请再次尝试使用–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 […]

ruby on rails“usr / bin / env:’ruby2.3’:没有这样的文件或目录”

我输入bundle exec rake db:migrate时遇到了一些问题bundle exec rake db:migrate在终端上bundle exec rake db:migrate然后我收到的结果如`/ usr / bin / env:’ruby2.3’:没有这样的文件或目录