Pretty sure that I did. I made the change, logged out, logged back in
and verified that I could checkout from CVS without running this
export command. Since that worked I then moved on to deploying via
Capistrano and again was refused connection. Once I added it to the
checkout command string
This probably seems like a ridiculous question, but I just can't
figure this one out:
I'm trying to create a task to upload a file, so I added
namespace :deploy do
task :my_txt, :roles = :db do
upload('/tmp/myfile.txt','/tmp/myfile.txt')
end
end
to my deploy.rb--just like I've seen in
Yeah, when there's ambiguity, you can use top to disambiguate, e.g.:
top.upload(...)
- Jamis
On Jun 27, 2008, at 11:40 AM, ben.koski wrote:
This probably seems like a ridiculous question, but I just can't
figure this one out:
I'm trying to create a task to upload a file, so I added
You need to tell cap to create a pty for each process:
default_run_options[:pty] = true
Annoying, but some commands that have interactive components (like
sudo) won't run if they aren't run with a tty.
- Jamis
On Jun 27, 2008, at 2:20 PM, Jamie Orchard-Hays wrote:
I'm getting this
Thanks, Jamis!
Jamie
On Jun 27, 2008, at 4:32 PM, Jamis Buck wrote:
You need to tell cap to create a pty for each process:
default_run_options[:pty] = true
Annoying, but some commands that have interactive components (like
sudo) won't run if they aren't run with a tty.
- Jamis
Incidentally, if you want to run without a pty in general (which is
handy, because then your .bashrc will be loaded for each command), you
can specify :pty = true on specific commands to force those to use a
pty:
sudo foo, :pty = true
- Jamis
On Jun 27, 2008, at 2:42 PM, Jamie
Nice,
That did the job for me. I applied the patch and now my problem is
fixed.
--~--~-~--~~~---~--~~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
I needed to upgrade my ruby install anyway. Since I want to run
Passenger, I installed Enterprise Ruby and today's new gem, capistrano
2.4.2. And suddenly I can use capistrano to run 'uname -a' on my
production server from my dev server just fine. It even uses my
forwarded ssh-keys! *does a happy
Hello!
I just started using Capistrano and on my VPS I ran the following:
cap deploy:setup
cap deploy:cold
And that setup my application and ran the migrations, so it ran fine.
However, now, when I run this command:
cap deploy
The databases are not being carried over along with their
On Fri, Jun 27, 2008 at 8:08 PM, BackVerse [EMAIL PROTECTED] wrote:
Hello!
I just started using Capistrano and on my VPS I ran the following:
cap deploy:setup
cap deploy:cold
And that setup my application and ran the migrations, so it ran fine.
However, now, when I run this command:
If you're using sqlite databases in production (not something I'd
recommend, actually), then you need to make sure they get put under
the shared directory, rather than in your release directory. That's
something you'll need to configure in your app, or make happen in some
before/after
Hello!
Thanks for the replies!
What kind of databases could I use to avoid have to put them under the
shared directory?
Is Postgre good?
Thanks,
David Pham
On Jun 27, 10:43 pm, Jamis Buck [EMAIL PROTECTED] wrote:
If you're using sqlite databases in production (not something I'd
postgres is a fine DB for the more experienced db programmer.
mysql works great too.
(I've only tried RoR with mysql).
If you need transaction support and more advanced db features, go with postgres.
On Fri, Jun 27, 2008 at 9:08 PM, BackVerse [EMAIL PROTECTED] wrote:
Hello!
Thanks for the
I think the main thing is I need for cap deploy to carry over my
previous database's data, and with sqlite it's not doing that. Will
switching to postgre fix that?
Thanks,
David Pham
On Jun 27, 11:12 pm, Anthony Ettinger [EMAIL PROTECTED] wrote:
postgres is a fine DB for the more experienced
it should...but is it worth the effort swtiching dbs when all you need
to do is setup a persistent shared folder for your sqllite db?
On Fri, Jun 27, 2008 at 9:19 PM, BackVerse [EMAIL PROTECTED] wrote:
I think the main thing is I need for cap deploy to carry over my
previous database's
Hello!
Well the thing is I really don't know how to begin doing that haha.
Any help would be appreciated in doing this or I could just switch
over :)
Thanks,
David Pham
On Jun 27, 11:23 pm, Anthony Ettinger [EMAIL PROTECTED] wrote:
it should...but is it worth the effort swtiching dbs when
HCL company release new computer
205GB HDD
1 GB RAM
17 inch LCD monitor
offer rate just Rs:12000 buy now
click below link
$$$
***
http://www.freewebs.com/intmrk
***
17 matches
Mail list logo