This project is archived and is in readonly mode.

#151 ✓invalid
Alan Wong

freezing gems doesn't work in 1.2.6

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

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

Comments and changes to this ticket

  • josh

    josh June 13th, 2008 @ 06:56 AM

    • 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 :)

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Tags

Pages