Mailinglist Archive: opensuse-ruby (3 mails)

< Previous Next >
[opensuse-ruby] rails:freeze:gems broken with rails 2.3.10 and rubygems 1.5.0
Hi All,

I'm wondering if anyone else has seen this and has a convenient
workaround. Since updating rubygems from 1.4 to 1.5, freezing
rails no longer works (this is true on openSUSE 11.3 and Factory):

# rails foo
...
create ...
...
# cd foo
# rake --trace rails:freeze:gems
(in /tmp/foo)
** Invoke rails:freeze:gems (first_time)
** Execute rails:freeze:gems
Freezing to the gems for Rails 2.3.10
rm -rf vendor/rails
mkdir -p vendor/rails
cd vendor/rails
rm -rf vendor/rails
rake aborted!
undefined method `version_requirements' for #<Gem::Dependency:0xb749c8cc>
/usr/lib/ruby/gems/1.8/gems/rails-2.3.10/lib/tasks/framework.rake:27
/usr/lib/ruby/gems/1.8/gems/rails-2.3.10/lib/tasks/framework.rake:26:in `each'
/usr/lib/ruby/gems/1.8/gems/rails-2.3.10/lib/tasks/framework.rake:26
/usr/lib/ruby/1.8/fileutils.rb:121:in `chdir'
/usr/lib/ruby/1.8/fileutils.rb:121:in `chdir'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1094:in `chdir'
/usr/lib/ruby/gems/1.8/gems/rails-2.3.10/lib/tasks/framework.rake:25
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in
`invoke_with_call_chain'
/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in
`invoke_with_call_chain'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in `invoke'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `each'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in
`standard_exception_handling'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in
`standard_exception_handling'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31
/usr/bin/rake:19:in `load'
/usr/bin/rake:19

Thanks,

Tim


--
Tim Serong <tserong@xxxxxxxxxx>
Senior Clustering Engineer, OPS Engineering, Novell Inc.



--
To unsubscribe, e-mail: opensuse-ruby+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-ruby+help@xxxxxxxxxxxx

< Previous Next >
List Navigation
Follow Ups