I did a gem update this morning and now I am seeing this: /usr/lib64/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/gem_dependency.rb: 119:Warning: Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010. Use #requirement What gem do I have to roll back to get rid of this? I tried removing rubygems-update and that had no effect on the error message at all. This @#%$&%$#@@@ message is screwing up a number of tests in an application that I am building and I have to get rid of it. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
This is the warning generated by RubyGems 1.3.6, so there''s nothing the core team can change in 2.3.5, since this deprecation warning come so late after the release of 2.3.5. If you search for `version_requirements` on the lighthouse, you would get around this ticket: https://rails.lighthouseapp.com/projects/8994/tickets/4026-rubygems-136-warning-in-rails-235 Please try the workaround in the topic. The permanent fix would be out soon in 2.3.6. -- Prem S. On 26 ก.พ. 2553, at 1:17, byrnejb wrote:> I did a gem update this morning and now I am seeing this: > > /usr/lib64/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/gem_dependency.rb: > 119:Warning: Gem::Dependency#version_requirements is deprecated and > will be removed on or after August 2010. Use #requirement > > What gem do I have to roll back to get rid of this? I tried removing > rubygems-update and that had no effect on the error message at all. > This @#%$&%$#@@@ message is screwing up a number of tests in an > application that I am building and I have to get rid of it. > > -- > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. > To post to this group, send email to rubyonrails-core@googlegroups.com. > To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en. >
If a permanent fix is out in 2.3.6 then it''s probably out in 2-3-stable. Try freezing vendor/rails to that. 2010/2/26 Prem Sichanugrist <sikandsak@gmail.com>> This is the warning generated by RubyGems 1.3.6, so there''s nothing the > core team can change in 2.3.5, since this deprecation warning come so late > after the release of 2.3.5. > > If you search for `version_requirements` on the lighthouse, you would get > around this ticket: > > > https://rails.lighthouseapp.com/projects/8994/tickets/4026-rubygems-136-warning-in-rails-235 > > Please try the workaround in the topic. The permanent fix would be out soon > in 2.3.6. > > -- Prem S. > > On 26 ก.พ. 2553, at 1:17, byrnejb wrote: > > > I did a gem update this morning and now I am seeing this: > > > > /usr/lib64/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/gem_dependency.rb: > > 119:Warning: Gem::Dependency#version_requirements is deprecated and > > will be removed on or after August 2010. Use #requirement > > > > What gem do I have to roll back to get rid of this? I tried removing > > rubygems-update and that had no effect on the error message at all. > > This @#%$&%$#@@@ message is screwing up a number of tests in an > > application that I am building and I have to get rid of it. > > > > -- > > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Core" group. > > To post to this group, send email to rubyonrails-core@googlegroups.com. > > To unsubscribe from this group, send email to > rubyonrails-core+unsubscribe@googlegroups.com<rubyonrails-core%2Bunsubscribe@googlegroups.com> > . > > For more options, visit this group at > http://groups.google.com/group/rubyonrails-core?hl=en. > > > >-- Ryan Bigg / Radar -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
The fix wasn''t in 2-3-stable when I wrote it. Now the fix is in, you can either use the workaround or freeze 2.3.6 gem into your application :) -- Prem S. On 26 ก.พ. 2553, at 3:16, Ryan Bigg wrote:> If a permanent fix is out in 2.3.6 then it''s probably out in 2-3-stable. Try freezing vendor/rails to that. > > 2010/2/26 Prem Sichanugrist <sikandsak@gmail.com> > This is the warning generated by RubyGems 1.3.6, so there''s nothing the core team can change in 2.3.5, since this deprecation warning come so late after the release of 2.3.5. > > If you search for `version_requirements` on the lighthouse, you would get around this ticket: > > https://rails.lighthouseapp.com/projects/8994/tickets/4026-rubygems-136-warning-in-rails-235 > > Please try the workaround in the topic. The permanent fix would be out soon in 2.3.6. > > -- Prem S. > > On 26 ก.พ. 2553, at 1:17, byrnejb wrote: > > > I did a gem update this morning and now I am seeing this: > > > > /usr/lib64/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/gem_dependency.rb: > > 119:Warning: Gem::Dependency#version_requirements is deprecated and > > will be removed on or after August 2010. Use #requirement > > > > What gem do I have to roll back to get rid of this? I tried removing > > rubygems-update and that had no effect on the error message at all. > > This @#%$&%$#@@@ message is screwing up a number of tests in an > > application that I am building and I have to get rid of it. > > > > -- > > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. > > To post to this group, send email to rubyonrails-core@googlegroups.com. > > To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. > > For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en. > > > > > > > -- > Ryan Bigg / Radar > > -- > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. > To post to this group, send email to rubyonrails-core@googlegroups.com. > To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.