Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/postgresql/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby on rails 尝试使用postgresql创建新应用时出错(rails new myapp-d postgresql)_Ruby On Rails_Postgresql - Fatal编程技术网

Ruby on rails 尝试使用postgresql创建新应用时出错(rails new myapp-d postgresql)

Ruby on rails 尝试使用postgresql创建新应用时出错(rails new myapp-d postgresql),ruby-on-rails,postgresql,Ruby On Rails,Postgresql,我尝试了“bundle安装”,这会导致错误“找不到文件” 我遵循这个指南 我尝试在/mnt/c中执行相同的操作,但得到了相同的错误 已尝试在项目目录中安装捆绑包,但出现以下错误: 尝试运行“gem install pg-v'1.1.4'--源“”,收到此错误 用命令解决 sudo apt安装postgresql contrib libpq dev 您是否已尝试从项目目录中安装bundle。我的意思是,在进入项目目录后?尝试过这样做后,出现了一个错误,更新了帖子,如果您使用的是ubuntu,您是否

我尝试了“bundle安装”,这会导致错误“找不到文件”

我遵循这个指南

我尝试在/mnt/c中执行相同的操作,但得到了相同的错误

已尝试在项目目录中安装捆绑包,但出现以下错误:

尝试运行“gem install pg-v'1.1.4'--源“”,收到此错误

用命令解决

sudo apt安装postgresql contrib libpq dev


您是否已尝试从项目目录中安装
bundle
。我的意思是,在进入项目目录后?尝试过这样做后,出现了一个错误,更新了帖子,如果您使用的是ubuntu,您是否尝试过从项目目录安装
bundle
。我的意思是在进入项目目录后?尝试过这样做,但出现了一个错误,更新了帖子,如果你正在使用ubuntu