开发者

Deprecation warning when using Cucumber with Rails 3.1: class_inheritable_attribute is deprecated

开发者 https://www.devze.com 2023-04-06 18:59 出处:网络
This is a fresh project setup on Rails 3.1. When I run cucumber features I always get the same annoying deprecation warning twice. Any guidance would be appreciated.

This is a fresh project setup on Rails 3.1. When I run cucumber features I always get the same annoying deprecation warning twice. Any guidance would be appreciated.

DEPRECATION WARNING: class_inheritable_attribute is deprecated, please us开发者_JAVA技巧e class_attribute method instead. Notice their behavior are slightly different, so refer to class_attribute documentation first. (called from require at /Users/Mandingo/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:58)


The cucumber-rails guys are working on it as we talk :) https://github.com/cucumber/cucumber-rails/issues/169

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号