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'