Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/mongodb/12.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 捆绑错误,未定义方法';t来源';_Ruby On Rails_Bundler - Fatal编程技术网

Ruby on rails 捆绑错误,未定义方法';t来源';

Ruby on rails 捆绑错误,未定义方法';t来源';,ruby-on-rails,bundler,Ruby On Rails,Bundler,帮助,我无法通过此捆绑程序错误: Gemfile:1:in `build': undefined method `tsource' for #<Bundler::Dsl:0xb73c9e04> (NoMethodError) from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.3/lib/bundler.rb:128:in `definition' from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.3/li

帮助,我无法通过此捆绑程序错误:

Gemfile:1:in `build': undefined method `tsource' for #<Bundler::Dsl:0xb73c9e04> (NoMethodError)
from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.3/lib/bundler.rb:128:in `definition'
from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.3/lib/bundler/cli.rb:101:in `check'
from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.3/lib/bundler/vendor/thor/task.rb:22:in `send'
from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.3/lib/bundler/vendor/thor/task.rb:22:in `run'
from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.3/lib/bundler/vendor/thor/invocation.rb:118:in `invoke_task'
from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.3/lib/bundler/vendor/thor.rb:246:in `dispatch'
from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.3/lib/bundler/vendor/thor/base.rb:389:in `start'
from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.3/bin/bundle:13
from /usr/bin/bundle:19:in `load'
from /usr/bin/bundle:19

您的
文件中有一个打字错误

tsource 'http://rubygems.org'
应该是:

source 'http://rubygems.org'
(注意缺少的
t

source 'http://rubygems.org'