Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/ruby/24.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 Bundle gem已安装,但据报道未安装_Ruby_Linux_Gem_Installation_Bundler - Fatal编程技术网

Ruby Bundle gem已安装,但据报道未安装

Ruby Bundle gem已安装,但据报道未安装,ruby,linux,gem,installation,bundler,Ruby,Linux,Gem,Installation,Bundler,Bundler适用于所有情况,但我自己称之为Bundler时除外。正如您所看到的,gem安装得很清楚。但是,它似乎没有安装 $ gem install bundler Fetching: bundler-1.5.3.gem (100%) Successfully installed bundler-1.5.3 1 gem installed Installing ri documentation for bundler-1.5.3... Installing RDoc documentatio

Bundler适用于所有情况,但我自己称之为Bundler时除外。正如您所看到的,gem安装得很清楚。但是,它似乎没有安装

$ gem install bundler

Fetching: bundler-1.5.3.gem (100%)
Successfully installed bundler-1.5.3
1 gem installed
Installing ri documentation for bundler-1.5.3...
Installing RDoc documentation for bundler-1.5.3...

$ apt-cache policy bundler

bundler:
  Installed: (none)

Candidate: 1.3.5-2

Version table:
    1.3.5-2 0
    500 http://debian.linuxmint.com/latest/ testing/main i386 Packages
每当我尝试使用“bundle安装”时,它都会报告Bundler::GemFileNotFound


非常感谢

它准确地告诉你出了什么问题。您需要一个Gemfile,其中包含运行bundle安装的目录中的gem列表。如果您使用:rails new my_project创建了一个rails项目。将cd放入my_项目中,您将在那里看到一个GEM文件

阿格!非常感谢。我是ruby的新手,忘记了这一步,也忘记了它所做的一切。不必担心,很高兴能帮上忙