Despite the resolved thread #2255 (https://rails.lighthouseapp.com/ projects/8994/tickets/2255-bundled-rack-10-doesnt-loaded-first-in- rails-232) , I get a VERSION warning : ruby script/console Loading development environment (Rails 2.3.2) /home/useraxis/rails/test/vendor/rails/actionpack/lib/ action_controller/vendor/rack-1.0/rack.rb:17: warning: already initialized constant VERSION>>- freezed RELEASE=2.3.2.1 or unfreezed, I get same error - uninstalled rack-0.9.1 I get : [~/rails/test]# ruby script/console Loading development environment (Rails 2.3.2) /usr/lib/ruby/site_ruby/1.8/rubygems.rb:636:in `report_activate_error'': Could not find RubyGem rack (>= 0.9.1, < 1.0) (Gem::LoadError) from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:141:in `activate'' from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:165:in `activate'' from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:164:in `each'' from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:164:in `activate'' from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: 35:in `require'' from /home/useraxis/rails/test/vendor/rails/activesupport/lib/ active_support/dependencies.rb:156:in `require'' from /home/useraxis/rails/test/vendor/rails/activesupport/lib/ active_support/dependencies.rb:521:in `new_constants_in'' from /home/useraxis/rails/test/vendor/rails/activesupport/lib/ active_support/dependencies.rb:156:in `require'' ... 23 levels... from /usr/lib/ruby/1.8/irb/init.rb:250:in `load_modules'' from /usr/lib/ruby/1.8/irb/init.rb:21:in `setup'' from /usr/lib/ruby/1.8/irb.rb:54:in `start'' from /home/useraxis/local/bin/irb:13 the line 17 is : VERSION = [0,1] Can this fault something else ? Is someone having the same issue ? Thanks in advance Luca
Peter Hellberg
2009-May-25 14:28 UTC
Re: rack.rb:17: warning: already initialized constant VERSION
I have the same issue, will post if I find a solution to the problem. On Apr 23, 7:57 pm, lgs <luca.so...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Despite the resolved thread #2255 (https://rails.lighthouseapp.com/ > projects/8994/tickets/2255-bundled-rack-10-doesnt-loaded-first-in- > rails-232) , I get a VERSION warning : > > ruby script/console > Loading development environment (Rails 2.3.2) > /home/useraxis/rails/test/vendor/rails/actionpack/lib/ > action_controller/vendor/rack-1.0/rack.rb:17: warning: already > initialized constant VERSION > > > > - freezed RELEASE=2.3.2.1 or unfreezed, I get same error > - uninstalled rack-0.9.1 I get : > > [~/rails/test]# ruby script/console > Loading development environment (Rails 2.3.2) > /usr/lib/ruby/site_ruby/1.8/rubygems.rb:636:in > `report_activate_error'': Could not find RubyGem rack (>= 0.9.1, < 1.0) > (Gem::LoadError) > from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:141:in `activate'' > from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:165:in `activate'' > from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:164:in `each'' > from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:164:in `activate'' > from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: > 35:in `require'' > from /home/useraxis/rails/test/vendor/rails/activesupport/lib/ > active_support/dependencies.rb:156:in `require'' > from /home/useraxis/rails/test/vendor/rails/activesupport/lib/ > active_support/dependencies.rb:521:in `new_constants_in'' > from /home/useraxis/rails/test/vendor/rails/activesupport/lib/ > active_support/dependencies.rb:156:in `require'' > ... 23 levels... > from /usr/lib/ruby/1.8/irb/init.rb:250:in `load_modules'' > from /usr/lib/ruby/1.8/irb/init.rb:21:in `setup'' > from /usr/lib/ruby/1.8/irb.rb:54:in `start'' > from /home/useraxis/local/bin/irb:13 > > the line 17 is : VERSION = [0,1] > > Can this fault something else ? > Is someone having the same issue ? > > Thanks in advance > Luca
Peter Hellberg
2009-May-26 12:14 UTC
Re: rack.rb:17: warning: already initialized constant VERSION
For future reference: It seems like Rack-Cache 0.5, Rack 1.0 and Rails 2.3.2 solved the problem. (I uninstalled Rack-Cache 0.4, Rack 0.9.1, Shotgun 0.2 and Sinatra 0.9.1.1) On Apr 23, 7:57 pm, lgs <luca.so...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Despite the resolved thread #2255 (https://rails.lighthouseapp.com/ > projects/8994/tickets/2255-bundled-rack-10-doesnt-loaded-first-in- > rails-232) , I get a VERSION warning : > > ruby script/console > Loading development environment (Rails 2.3.2) > /home/useraxis/rails/test/vendor/rails/actionpack/lib/ > action_controller/vendor/rack-1.0/rack.rb:17: warning: already > initialized constant VERSION > > > > - freezed RELEASE=2.3.2.1 or unfreezed, I get same error > - uninstalled rack-0.9.1 I get : > > [~/rails/test]# ruby script/console > Loading development environment (Rails 2.3.2) > /usr/lib/ruby/site_ruby/1.8/rubygems.rb:636:in > `report_activate_error'': Could not find RubyGem rack (>= 0.9.1, < 1.0) > (Gem::LoadError) > from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:141:in `activate'' > from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:165:in `activate'' > from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:164:in `each'' > from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:164:in `activate'' > from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: > 35:in `require'' > from /home/useraxis/rails/test/vendor/rails/activesupport/lib/ > active_support/dependencies.rb:156:in `require'' > from /home/useraxis/rails/test/vendor/rails/activesupport/lib/ > active_support/dependencies.rb:521:in `new_constants_in'' > from /home/useraxis/rails/test/vendor/rails/activesupport/lib/ > active_support/dependencies.rb:156:in `require'' > ... 23 levels... > from /usr/lib/ruby/1.8/irb/init.rb:250:in `load_modules'' > from /usr/lib/ruby/1.8/irb/init.rb:21:in `setup'' > from /usr/lib/ruby/1.8/irb.rb:54:in `start'' > from /home/useraxis/local/bin/irb:13 > > the line 17 is : VERSION = [0,1] > > Can this fault something else ? > Is someone having the same issue ? > > Thanks in advance > Luca