创建时使用新的Rails项目:GEM版本要求弃用
rails sample
然后创建使用模型:
script/generate model person first_name:string last_name:string
一切都很好。不过,如果我添加任何宝石,我的environment.rb:
config.gem "authlogic"
并运行相同的发电机,我得到如下:
/Library/Ruby/Gems/1.8/gems/rails- 2.3.5/lib目录/导轨/ gem_dependency.rb:119:警告: 宝石::依赖#version_requirements 已取消,将在 或之后2010年8月刚刚被删除
警告出现(我想想),但我如果可能的话,想修复它。任何提示或类似的经历?
谢谢。
谢谢!我跟着几个链接,并得到了这个提交:http://github.com/rails/rails/commit/268c9040d5c3c7ed30f3923eee71a78eeece8a8a – 2010-04-05 15:40:15