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 -- 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 -~----------~----~----~----~------~----~------~--~---
Actually, this doesn''t seem to be strictly Rails. I hit the same issue doing a: $ gem unpack file-tail ERROR: While executing gem ... (ArgumentError) install directory "file-tail-0.1.3" not absolute I know that I did this before updating to rubygems-0.9.1 -Rob Rob Biedenharn http://agileconsultingllc.com Rob-xa9cJyRlE0mWcWVYNo9pwxS2lgjeYSpx@public.gmane.org On Jan 19, 2007, at 8:29 PM, Andrew Skegg wrote:> 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 >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
FYI, I found this post by googling my problem "rails:freeze install directory not absolute" and I fixed it by updating my gem to 0.9.2: sudo gem update --system -- 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 -~----------~----~----~----~------~----~------~--~---