hi guys, I just installed rails 2.3.5 and ruby 1.9 on a new ubuntu karmic koala machine. For some silly reason, when I run "script/server", I got the following warning.. /usr/local/lib/ruby/gems/1.9.1/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. This is a fresh installation. Why is this error surfacing? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
also posted in http://github.com/carlhuda/bundler/issues/issue/185/#comment_159206 -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Robert Walker
2010-Mar-15 18:55 UTC
Re: Dependency warning found on fresh rails 2.3.5 installati
ct9a wrote:> hi guys, > > I just installed rails 2.3.5 and ruby 1.9 on a new ubuntu karmic > koala machine. > > For some silly reason, when I run "script/server", I got the following > warning.. > > /usr/local/lib/ruby/gems/1.9.1/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. > > This is a fresh installation. Why is this error surfacing?I assume you installed the latest version of RubyGems. I''m also getting this warning. As far as I can tell it''s not causing any problems, and the only way to fix it would be to fork Rails and fix it there. So bottom line is, don''t worry about it unless it''s causing you problems. I expect this will get fixed in the next release of Rails. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Gordon Yeong
2010-Mar-15 20:46 UTC
Re: Re: Dependency warning found on fresh rails 2.3.5 installati
Yep. Thanks for that but I find it weird because on my older machine which runs rails 2.3.5 and ruby 1.8.7, it doesn''t happen. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
I ran an fgrep on "vendor_requirements" and it''s all in the vendor directory. I am not specifying it in my app files. This is messed up ct9a@rollcage:~/projects/myApp $ fgrep -Rn version_requirements * vendor/gems/authlogic-2.1.1/.specification:19: version_requirements: ! ruby/object:Gem::Requirement vendor/rails/railties/test/vendor/gems/dummy-gem- g-1.0.0/.specification:14: version_requirements: !ruby/ object:Gem::Requirement vendor/rails/railties/test/vendor/gems/dummy-gem- f-1.0.0/.specification:14: version_requirements: !ruby/ object:Gem::Requirement vendor/rails/railties/lib/tasks/framework.rake:27: Gem::GemRunner.new.run(["unpack", g.name, "--version", g.version_requirements.to_s]) vendor/rails/railties/lib/rails/gem_dependency.rb:70: GemDependency.new(dependency.name, :requirement => dependency.version_requirements) vendor/rails/railties/lib/rails/gem_dependency.rb:89: version_requirements Gem::Requirement.create("=#{existing_spec.version}") vendor/rails/railties/lib/rails/gem_dependency.rb:99: r version_requirements -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.