Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

freezing gems doesn't work in 1.2.6

#151

I cannot freeze gems in Rails 1.2.6.

I typed ...

1. rails depot (then developed the app from the Dave Thomas' book)

2. sudo rake rails:freeze:gems --trace

3. Then I get the trace below from my console.

4. Finally, I verify that my depot directory does not have a vendor/rails/railties directory

awong:~/cms/depot $ sudo rake rails:freeze:gems --trace

Password:

(in /Users/awong/cms/depot)

rake aborted!

no such file to load -- /Users/awong/cms/depot/config/../vendor/rails/railties/lib/initializer

/opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'

/opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'

/Users/awong/cms/depot/config/boot.rb:7

/opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'

/opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'

/Users/awong/cms/depot/rakefile:4

/opt/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:2149:in `load'

/opt/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:2149:in `raw_load_rakefile'

/opt/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1897:in `load_rakefile'

/opt/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in `standard_exception_handling'

/opt/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1896:in `load_rakefile'

/opt/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1880:in `run'

/opt/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in `standard_exception_handling'

/opt/local/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1878:in `run'

/opt/local/lib/ruby/gems/1.8/gems/rake-0.8.1/bin/rake:31

/opt/local/bin/rake:19:in `load'

/opt/local/bin/rake:19

Reported by Alan Wong · May 9th, 2008 @ 05:16 AM

State: invalid
Milestone: none
Assigned to: nobody
Importance: none

Activity

  1. josh
    josh
    • State changed from new to invalid

    Try using "gem unpack" instead. The problem maybe be related to Rails moving to git (don't really think so). I don't think we are maintain 1.2 either. Please consider upgrading :)

    June 13th, 2008 @ 06:56 AM