Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/github/3.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 Bundler和Github Gems_Ruby On Rails_Github_Gem_Bundler - Fatal编程技术网

Ruby on rails Bundler和Github Gems

Ruby on rails Bundler和Github Gems,ruby-on-rails,github,gem,bundler,Ruby On Rails,Github,Gem,Bundler,我很困惑;-)我使用Bundler,它适用于我所有的项目。在最近的项目中,我需要一些来自Github的宝石,所以我添加了 gem "dm-is-localizable", :git => "git://github.com/snusnu/dm-is-localizable.git" 到我的档案 Bundle将dm is localizable直接推送到我的项目目录中(与app/、db/、lib/等的目录相同,所以这里有dm is localizable/now)。那里怎么了?不应该将这些

我很困惑;-)我使用Bundler,它适用于我所有的项目。在最近的项目中,我需要一些来自Github的宝石,所以我添加了

gem "dm-is-localizable", :git => "git://github.com/snusnu/dm-is-localizable.git"
到我的档案


Bundle将dm is localizable直接推送到我的项目目录中(与app/、db/、lib/等的目录相同,所以这里有dm is localizable/now)。那里怎么了?不应该将这些东西捆绑到供应商/?

捆绑包中有一个bug,使得gems from:git的安装方式与其他的不一样。您可以执行
bundle install--system
强制将所有gem安装到您的系统目录中,或者将以下行添加到项目中的
.bundle/config

捆绑路径:“供应商”

然后再次运行“捆绑安装”


我希望Bundle将来能更无缝地支持:git

您使用的是哪个捆绑包版本?