Displaying 2 results from an estimated 2 matches for "deploy_dir".
2007 May 20
1
Capistrano symlink problem - with ugly hack!
I''m trying to use capistrano (v1.99.0) for the first time (on dreamhost, if
that matters) and the deploy:symlink task is creating an unusable symlink.
ln -nsf deploy_dir/releases/20070520055816/ deploy_dir/current
appears to work, but "ls -al deploy_dir/current/" yields "No such file or
directory"
However, if I cd into deploy_dir and then do
ln -nsf releases/20070520055816/ current
the symlink works great.
Scratching my head and just trying...
2007 Feb 11
4
Let's make RAILS_ROOT an absolute path on Windows
As this Caboose article [] suggests, I am not the only one who had
this problem. RAILS_ROOT is a relative path on Windows, and it can
bite you in unexpected ways. I had that problem while working on
CruiseControl.rb.
There is a trivial patch fixing it (by simply applying
File.expand_path to the path before assigning it into the RAILS_ROOT
constant): http://dev.rubyonrails.org/ticket/7259
Best