similar to: Prepopulating Database Tables - Migrations?

Displaying 20 results from an estimated 8000 matches similar to: "Prepopulating Database Tables - Migrations?"

2011 Nov 05
1
Newbie Question/Feature Request
Hi, I'm working on a plugin for qpsmtpd (a perl smtp frontend) that delivers mail via dovecot's LDA. I can only get mail delivered by writing the email to file, then calling 'deliver -d someone -f someone-else < /path/to/temp/email' All good, expected behavior. A perl snippet: local $/=undef; open FH, "< ./demo.mail"; my $stringified = <FH>; # this is
2007 Oct 22
4
HOW TO REBUILD DATABASE WITH CAPISTRANO
I''ve deployed an application using Capistrano. But on my local machine I edited one of the earlier migrations. I''ve tried "cap deploy_with_migrations", but it looks like it didn''t rebuild the database. How can I do the equivalent of this using Capistrano? "rake db:migrate VERSION=0" "rake db:migrate" -- Posted via
2009 Feb 15
2
Execute cap deploy:migrations fails
Hi there, I am trying to deploy a rails app on dreamhost. Here is the error message that I get: fatal: ''home/USER_NAME/DOMAIN_NAME/git/APPLICATION_NAME.git'': unable to chdir or not a git archive fatal: The remote end hung up unexpectedly /Users/USER/.gem/ruby/1.8/gems/capistrano-2.5.3/lib/capistrano/recipes/ deploy/scm/git.rb:224:in `query_revision'': Unable to resolve
2006 Apr 25
4
IE with Xover?
Hi, I tried to run M$ Internet Explorer with CrossOver, it told me, it would have been installed good and it would be ready to run but it doesn't come up when clicking the icon. Why not? Can anybody help? I'd appreciate cause I need to visit a homepage that seems to run only with IE as it's supposed to... :( Oh well. Thank you! -- chEErs roN I'm root, I'm allowed to do this!
2005 Mar 10
4
struggling with smbldap_tools
Trying to net rpc vampire an NT4 server Think I am good to go but I keep getting errors - obviously problem with NextFreeUnixId attribute - which is created... dn: cn=NextFreeUnixId,dc=myhomelenders,dc=net objectClass: inetOrgPerson objectClass: sambaUnixIdPool uidNumber: 1000 gidNumber: 1000 cn: NextFreeUnixId sn: NextFreeUnixId structuralObjectClass: inetOrgPerson Every item gets this
2006 Mar 30
11
Capistrano/SVN: Deploying different database.yml for live?
Greetings, Today I''ve been working out how to begin using Capistrano and so far I''m impressed. Even in my situation, learning Rails and deploying to a single server, it''s incredibly helpful. I do have one small question though: In using Subversion I''ve used the "ignore" feature to ignore my local database.yml file, because my local database and
2007 Oct 30
6
Newb to puppet - Solaris svcadm question
I''m new to puppet so this might be a foolish question. I''m using Solaris 10, server is Sparc, my client is x86. I created a ''file chown'' manifest as a test ... /etc/puppet/manifests/classes/puppet.pp class puppet { file { "/etc/puppet.txt": owner => "root", group => "root",
2014 Feb 15
2
rsync filter rules ignored by rsnapshot
Hello guys, sorry for cross-posting, but imho it could be an error in my rsnapshot setup as well as in my rsync setup. If there is a solution on one of these mailing-lists i will post it to the other one as well. ok? here is my question: when running rsnapshot, my exclude filter is being ignored, but i don't see why. grep -v "#" /etc/rsnapshot-debx40.conf | grep . gives
2013 Nov 19
1
Prepopulate *all* users to a samba4 RODC
I was hoping this would be simpler. I'd like to prepopulate an RODC with all users accounts that are permitted. But I can only pre-populate one at a time: samba-tool rodc preload (<SID>|<DN>|<accountname>) sles-shire:~ # samba-tool group listmembers 'Allowed RODC Password Replication Group - Shire' Allowed RODC Password Replication Group - Global WIN7-SHIRE$ bilbo
2008 May 06
3
Capistrano: chmod 600 database.yml
Would it be wise to chmod 600 your database.yml file using Capistrano when deploying seeing as it contains your mysql db in plain text? ~ Mark -- 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
2009 Aug 11
10
Git, Capistrano, Passenger, and Apache Questions
First, I''m trying to do the legwork with utilizing all 4 together because many people say it''s a good combination to use. I already have apache setup (was using it with the PHP version of my site formerly). I''ve installed all gems and dependencies that I need on my slice (using slicehost). I have a fully pushed git repository (master) on github (private git) with one
2014 Dec 15
6
rsync output under CentOS 6
Hello Elias, Monday, December 15, 2014, 4:13:20 PM, you wrote: EP> Sounds like it might be differences in precision of the timestamp. Could be, thoght the NAS box has the sending system as it's NTP server so their times should be in sync. EP> Check out the `--modify-window` option. Doesn't seem to stop all the folders being listed even though nothing is transferred.
2020 May 02
0
ANNOUNCE: nbdkit 1.20 - high performance NBD server
I'm pleased to announce the release of nbdkit 1.20, a high performance plugin-based Network Block Device (NBD) server. https://en.wikipedia.org/wiki/Network_block_device Key features of nbdkit: * Multithreaded NBD server written in C with good performance. * Minimal dependencies for the basic server. * Liberal license (BSD) allows nbdkit to be linked to proprietary libraries or
2007 Sep 12
1
newbie: getting started with database, local computer, host
well this may very well be a super easy one, but I can''t seem to find an answer. I think it''s really neat that ruby on rails has so many things built in like multiple databases for production, testing. if i create a database on my local machine, and create my rails app locally... will everything get synced with my webhost when i use capistrano? or do i need to log-in to the
2006 Aug 08
3
How Create New Parameter set at Start Time?
I would like to be able to set a paramter during start up like: ruby script\server -nodename testNode_1 ... and would like to have access to this setting from models and/or controllers. Can someone point me in the right direction to get this working? Regards -- Posted via http://www.ruby-forum.com/.
2009 Oct 09
2
[LLVMdev] Help with gcc SSE intrinsics
On Friday 09 October 2009 15:47, Dale Johannesen wrote: > On Oct 9, 2009, at 1:26 PMPDT, David Greene wrote: > > Ok, I've been looking at this for hours and can't figure it out. I > > know I'm > > missing something obvious. > > > > I've been spending the past few days beefing up the vector support > > in the C > > Backend. This should
2007 Apr 24
2
Voicemail on Different Server
I have two seperate systems at two different locations. Each hosts there own voicemail for their phones. I have thought about just having all voicemail on one server. Is the best way to do this just through a dial app? For example, if someone dials 1000 to check voicemail at site A. The dialplan will be something like this on Site A: [context-for-phones-at-one-location] exten =>
2014 Dec 15
2
rsync output under CentOS 6
Hello Les, Sunday, December 14, 2014, 7:18:09 PM, you wrote: LM> Folders should only be listed if timestamps or permissions are different. Further experimentation shows this to be the case IF the destination is another local drive. Unfortunately the required destination is a CIFS share, which might change things. -- Best regards, Niamh mailto:niamh at
2006 May 08
4
gsub no workie
Don''t know why, but cant seem to get this to work for me. I have a phone number field for an addressbook. In the addressbook model I have a before_update declaration that says the following: I''d like to be able to remove all special characters (just numbers please), but this doesn''t want to work for me. before_update :format_phone def format_phone self.phone =
2006 Mar 07
10
[PREVIEW] SmallCap
Somebody suggested SmallCap and that sounds great. This is by no stretch of the imagination Capistrano, so it might better be named MicroCap but it may be useful to some who have (as I do) modest needs in this regard, especially for on-server versioning. Here''s a preview of the usage: Usage: ruby smallcap.rb [options] -s, --server=SERVER Copies app to specified