Problems freezing gems to rails 1.2.1?

Hi All,

Here is a brief summary of the problem:

iMac:/Users/askegg root# rails -v Rails 1.2.1

iMac:/Users/askegg root# rails hack       create       create app/controllers      <cut for brevity>       create log/test.log

iMac:/Users/askegg root# cd hack

iMac:/Users/askegg/hack root# rake rails:freeze:gems (in /Users/askegg/hack) /Users/askegg/hack/config/boot.rb:29:Warning: require_gem is obsolete. Use gem instead. Freezing to the gems for Rails 1.2.1 rm -rf vendor/rails mkdir -p vendor/rails cd vendor/rails ERROR: While executing gem ... (ArgumentError)     install directory "activesupport-1.4.0" not absolute rake aborted! exit

(See full trace by running task with --trace)

iMac:/Users/askegg/hack root# cd vendor/rails/

iMac:/Users/askegg/hack/vendor/rails root# ls -la total 0 drwxr-xr-x 3 root askegg 102 Jan 20 12:01 . drwxr-xr-x 4 root askegg 136 Jan 20 12:01 .. drwxr-xr-x 2 root askegg 68 Jan 20 12:01 activesupport-1.4.0

iMac:/Users/askegg/hack root# gem list

*** LOCAL GEMS ***

actionmailer (1.3.1)     Service layer for easy email delivery and testing.

actionpack (1.13.1)     Web-flow and rendering framework putting the VC in MVC.

actionwebservice (1.2.1)     Web service support for Action Pack.

activerecord (1.15.1)     Implements the ActiveRecord pattern for ORM.

activesupport (1.4.0)     Support and utility classes used by the Rails framework.

capistrano (1.3.1)     Capistrano is a framework and utility for executing commands in     parallel on multiple remote machines, via SSH. The primary goal is     to simplify and automate the deployment of web applications.

daemons (1.0.4)     A toolkit to create and control daemons in different ways

fcgi (0.8.7)     FastCGI library for Ruby.

gem_plugin (0.2.1)     A plugin system based only on rubygems that uses dependencies only

mongrel (0.3.13.4)     A small fast HTTP library and server that runs Rails, Camping, and     Nitro apps.

needle (1.3.0)     Needle is a Dependency Injection/Inversion of Control container for     Ruby. It supports both type-2 (setter) and type-3 (constructor)     injection. It takes advantage of the dynamic nature of Ruby to     provide a rich and flexible approach to injecting dependencies.

net-sftp (1.1.0)     Net::SFTP is a pure-Ruby implementation of the SFTP client protocol.

net-ssh (1.0.10)     Net::SSH is a pure-Ruby implementation of the SSH2 client protocol.

rails (1.2.1)     Web-application framework with template engine, control-flow layer,     and ORM.

rake (0.7.1)     Ruby based make-like utility.

rubygems-update (0.9.1)     RubyGems Update GEM

sources (0.0.1)     This package provides download sources for remote gem installation

iMac:/Users/askegg/hack root# ./script/about ./script/../config/boot.rb:29:Warning: require_gem is obsolete. Use gem instead. About your application's environment Ruby version 1.8.5 (i686-darwin8.8.1) RubyGems version 0.9.1 Rails version 1.2.1 Active Record version 1.15.1 Action Pack version 1.13.1 Action Web Service version 1.2.1 Action Mailer version 1.3.1 Active Support version 1.4.0 Application root /Users/askegg/hack Environment development Database adapter mysql

I suspect this is the same problem documented here: https://rubyforge.org/tracker/index.php?func=detail&aid=7980&group_id=126&atid=575

My comment on 2007-01-20 18:24 contains a possible fix.

-Rob

Rob Biedenharn http://agileconsultingllc.com Rob@AgileConsultingLLC.com