Running rake rails:freeze:gems I got the following error: [root@WiNN-Mesh web_interface]# /usr/local/bin/rake rails:freeze:gems --trace (in /usr/sbin/web_interface) ** Invoke rails:freeze:gems (first_time) ** Execute rails:freeze:gems Freezing to the gems for Rails 1.2.5 rm -rf vendor/rails mkdir -p vendor/rails cd vendor/rails rake aborted! uninitialized constant Gem::GemRunner /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:2028:in `const_missing'' /usr/local/lib/ruby/gems/1.8/gems/rails-1.2.5/lib/tasks/framework.rake:26 /usr/local/lib/ruby/gems/1.8/gems/rails-1.2.5/lib/tasks/framework.rake:25:in `each'' /usr/local/lib/ruby/gems/1.8/gems/rails-1.2.5/lib/tasks/framework.rake:25 /usr/local/lib/ruby/1.8/fileutils.rb:121:in `chdir'' /usr/local/lib/ruby/1.8/fileutils.rb:121:in `chdir'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:805:in `chdir'' /usr/local/lib/ruby/gems/1.8/gems/rails-1.2.5/lib/tasks/framework.rake:24 /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `call'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `execute'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `each'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `execute'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:362:in `invoke'' /usr/local/lib/ruby/1.8/thread.rb:135:in `synchronize'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in `invoke'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `top_level'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `each'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `top_level'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in `standard_exception_handling'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1733:in `top_level'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1711:in `run'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in `standard_exception_handling'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1708:in `run'' /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/bin/rake:7 /usr/local/bin/rake:16:in `load'' /usr/local/bin/rake:16 I ''m runnin rubygems with the following environment: RubyGems Environment: - RUBYGEMS VERSION: 0.9.5 (0.9.5) - RUBY VERSION: 1.8.5 (2006-12-25 patchlevel 12) [arm-linux] - INSTALLATION DIRECTORY: /usr/local/lib/ruby/gems/1.8/ - RUBY EXECUTABLE: /usr/local/bin/ruby - RUBYGEMS PLATFORMS: - ruby - arm-linux - GEM PATHS: - /usr/local/lib/ruby/gems/1.8/ - GEM CONFIGURATION: - :update_sources => true - :verbose => true - :benchmark => false - :backtrace => false - :bulk_threshold => 1000 Any clues on what to do? -- 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I am facing the following issue since Rails 2 was released. I need to freeze 1.2.6 and I can''t. The error messages are below. For the record, the rails application works fine via Mongrel. I just can''t freeze the gems. These are on Fedora 7. $ rake rails:freeze:gems VERSION=1.2.6 --trace (in /work/aptana/workspace/avls) ** Invoke rails:freeze:gems (first_time) ** Execute rails:freeze:gems Freezing to the gems for Rails 1.2.6 rake aborted! uninitialized constant Gem::GemRunner /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:2028:in `const_missing'' /usr/lib64/ruby/gems/1.8/gems/rails-1.2.6/lib/tasks/framework.rake:26 /usr/lib64/ruby/gems/1.8/gems/rails-1.2.6/lib/tasks/framework.rake: 25:in `each'' /usr/lib64/ruby/gems/1.8/gems/rails-1.2.6/lib/tasks/framework.rake:25 /usr/lib/ruby/1.8/fileutils.rb:121:in `chdir'' /usr/lib/ruby/1.8/fileutils.rb:121:in `chdir'' /usr/lib64/ruby/gems/1.8/gems/rails-1.2.6/lib/tasks/framework.rake:24 /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `call'' /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `execute'' /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `each'' /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `execute'' /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:362:in `invoke'' /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in `synchronize'' /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in `invoke'' /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `top_level'' /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `each'' /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `top_level'' /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in `standard_exception_handling'' /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1733:in `top_level'' /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1711:in `run'' /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in `standard_exception_handling'' /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1708:in `run'' /usr/lib64/ruby/gems/1.8/gems/rake-0.7.3/bin/rake:7 /usr/bin/rake:16:in `load'' /usr/bin/rake:16 ------- moreover, I get the following odd errors. they were fine before # gem --version 0.9.5 # gem install rails --version=1.2.6 Successfully installed rails-1.2.6 1 gem installed # rails --version /usr/lib/ruby/site_ruby/1.8/rubygems.rb:377:in `report_activate_error'': Could not find RubyGem activeresource (2.0.1) (Gem::LoadError) from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:309:in `activate'' from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:335:in `activate'' from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:334:in `each'' from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:334:in `activate'' from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:76:in `active_gem_with_options'' from /usr/lib/ruby/site_ruby/1.8/rubygems.rb:50:in `gem'' from /usr/bin/rails:18 --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
This is a known issue and it is fixed in Rails edge (change set 8336). Regards, Nicolai --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Thanks Nicolai. Can we expect a Rails 1.2.6.x or 1.2.7 that addresses this problem by the end of December? I assume when you say edge, it is for the 2.0.x code base. Regards, Mukund --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---