I using the rails by Instantrails on windows.It can run well before I update the rails version to rails 3 .
The error message is :
E:\InstantRails-2.0-win\rails_apps\myproject>rails server
E:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/bundler-1.0.0/lib/bundler/lo
ckfile_parser.rb:48:in parse_source': undefined method
[]' for nil:NilClass (N
oMethodError)
from E:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/bundler-1.0.0/l
ib/bundler/lockfile_parser.rb:20:in send'
from E:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/bundler-1.0.0/l
ib/bundler/lockfile_parser.rb:20:in
initialize'
from E:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/bundler-1.0.0/l
ib/bundler/lockfile_parser.rb:14:in each'
from E:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/bundler-1.0.0/l
ib/bundler/lockfile_parser.rb:14:in
initialize'
from E:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/bundler-1.0.0/l
ib/bundler/definition.rb:43:in new'
from E:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/bundler-1.0.0/l
ib/bundler/definition.rb:43:in
initialize'
What cause this error? I found that answer,because the old version project can't run on the new version.