Displaying 20 results from an estimated 1000 matches similar to: "Managing Database Alter Scripts"
2006 Nov 06
4
Updating the index.
I''ve been reading through the lucene, ferret, and aaf docs, but I''m
still a bit new at full text indexing.
When I create a new instance of an indexed model, and save it, it
doesn''t show up in searches. Should I have to update the index of the
entire model (which works) before it will return in queries?
Britt
2006 Nov 02
2
highlighting with find_by_contents
I''m trying to highlight keyword snippets using the highlight method of
the results returned from find_by_contents (the actual models), but
always come up with an empty array. Any ideas what could be going wrong?
--
Posted via http://www.ruby-forum.com/.
2006 Jan 25
2
Setting up deployment scenario
I am familiar with using RoR in a pure development environment, that is
to say that I can create a local project, access it via a web browser,
update the database, etc. However, I''m having trouble figuring out how
to best set up things with actual deployment in mind. Forgive me if this
has been asked before, I couldn''t find it easily.
Right now I have a subversion repository
2006 Jun 01
3
rake create_sessions_table, does not create session table
when i run rake create_sessions_table, I get following output. tables
donot get created and my application doesnot start.
(in G:/rubysrc/blog)
create db/migrate
create db/migrate/001_add_sessions.rb
info: the first time ran take everyting was fine, but now i have
reinstalled ruby and rails and created the database, but i am unable to
create session table with rake, please help.
2005 Nov 07
5
Switchtower deployment
Hi,
Has anyone experiences using SwitchTower (Windows) in a shared hosting
environment (Textdrive)? I already patched the SwitchTower rake tasks (I
don''t know if someone is interested on it), but i still experience some
problems (not in the sudoers list, ...).
Thank you for answer (and thank you to the textdrive guys, i never had a
such fast support!)
--
Jean-Etienne Durand
2006 Feb 19
2
SwitchTower 1.0.0
SwitchTower is a utility that can execute commands in parallel on
multiple servers. It allows you to define tasks, which can include
commands that are executed on the servers. You can also define roles
for your servers, and then specify that certain tasks apply only to
certain roles.
Manual: http://manuals.rubyonrails.org/read/book/17
Project:
2006 Feb 11
1
Switchtower deploy fails though setup works
I''m trying to use SwitchTower to deploy from XP to Dreamhost. Based on
<http://nubyonrails.com/pages/shovel_dreamhost>, my deploy.rb looks like:
set :user, ''dankohn''
set :application, "flydash.com"
set :repository, "http://svn.flydash.com/flydash/flydash"
#set :repository, "svn+ssh://home/#{user}/svn/flydash"
#set :repository,
2005 Dec 16
6
rake remote_exec on Windows
I am using the shovel deploy.rb from http://nubyonrails.com/pages/shovel
I have SwitchTower-ized my app, copied the shovel deploy.rb file and put
my settings in it.
But when I run "rake remote_exec ACTION=setup_lighty" from the local app
root it has no effect. It should prompt for a password for at least
throw an error? I just get returned to the DOS prompt.
If I do "rake
2006 Feb 19
10
Switchtower - unitialized constant
Just loaded up Switchtower 1.0 today, via gems. I''m on OS X (10.4.5),
with ruby and friends installed via darwinports in opt/local.
After installing ST, I switchtowerized my app, set up the deploy recipe,
then ran:
rake remote_exec ACTION=setup
When I do, i get this error:
rake aborted!
uninitialized constant SwitchTower
Obviously, this happens with any of the tasks in ST (like
2005 Dec 22
4
Switchtower problem - `sysread'': bignum too big to convert into `long'' (RangeError)
I''m trying to set up switchtower, following the info in the Manual,
but am getting this error when I run "rake remote_exec ACTION=setup":
servers: ["cantona.dnswatchdog.com"]
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.0.3/lib/net/ssh/transport/packet-stream.rb:203:in
`sysread'': bignum too big to convert into `long'' (RangeError)
from
2006 Jan 19
12
Switchtower isn''t restarting lighttpd
I''ve got switchtower set up, and it seems to work fine except for one
problem: It doesn''t successfully restart lighttpd. I have the
following task in my deploy.rb file:
desc "Restart the web server"
task :restart, :roles => :app do
sudo "/usr/local/etc/rc.d/lighttpd.sh restart"
end
This is on a FreeBSD system, so it''s using the rc script to
2006 Jan 26
7
Switchtower Port Issues
Hi there,
I''m having some difficulties finding some decent info on getting
Switchtower to function for my needs. I''ve read most of the
Switchtower doc on http://manuals.rubyonrails.com/read/chapter/97,
however it''s not answering some potent questions I have.
1. The doc mentions, as an example, using an SVN repos at
http://svn.switchtower.com/flipper/trunk
What if I
2006 Feb 21
9
SwitchTower 1.0.1, SwitchTower Extensions
SwitchTower is a utility that can execute commands in parallel on
multiple servers. It allows you to define tasks, which can include
commands that are executed on the servers. You can also define roles
for your servers, and then specify that certain tasks apply only to
certain roles.
Manual: http://manuals.rubyonrails.org/read/book/17
Project:
2006 Jan 05
4
Switchtower for distribution?
I am just about to dive into Switchtower, but had a thought (go
figure?).
Could Switchtower use be inverted?
Could user, clients, or customers install switchtower and "pull"
applications?
Just a thought.
--
Posted via http://www.ruby-forum.com/.
2006 Jan 03
7
switchtower, windows and dispatch.fcgi
I just setup switchtower and I am very happy with it. Just one thing is
giving me some headache: My development machine is windows and my deployment
host is Unix. Each time I deploy I need to make dispatch.fcgi executable. I
wrote my own task for that. But does there exist any smarter way to get this
automated ? I think Subversion offers some possiblity to declare a file as
executable, but no idea
2006 Mar 01
4
SwitchTower deployment has errors with different :db server
When I define :db to be a different server than either :web or :app, and run
"rake deploy". Switchtower will abort with an Net::SSH::AuthenticationFailed
error. The version of Switchtower I''m using is 1.0.0 and the deploy task is
the default supplied with Switchtowe.
However, I dont have any problem when :db is changed to the same as :web and
:app.
-------------- next part
2006 Mar 06
46
Capistrano 1.1
Capistrano is a utility for executing tasks in parallel across
multiple remote hosts. It was formerly known as SwitchTower.
Installation:
gem install capistrano
Manual:
http://manuals.rubyonrails.org/read/book/17
Version 1.1 introduces a few changes:
* Renamed! Due to the trademark infringement debacle of last week, we
had to change the name. Moving forward it will be known as
2006 Jan 03
3
SwitchTower and Subversion branches
I''m working on a Rails project that needs to be deployed in the near
future. To enable prompt responses to bug reports, me and my coding
partner were thinking to use the following SVN repository
lay-out/policy.
We''re using trunk/ for our main-line development. Whenever we deploy
something from our trunk, we first want to make a branch (e.g.
branches/1.x) and then derive a tag
2006 Jan 27
6
Switchtower deploy error
I''m trying to deploy a rails app with no success.
I can execute: ''rake remote_exec ACTION=setup''
but when I try to execute : ''rake deploy''
I got this error:
loading configuration c:/ruby/lib/ruby/gems/1.8/gems/switchtower-0.10.0
/lib/switchtower/recipes/standard.rb
loading configuration ./config/deploy.rb
executing task deploy
transaction: start
2006 Jan 17
3
file_column :root_path question.
I''m developing on Windows and deploying to FreeBSD+lighttpd using
Switchtower and I''ve got things generally working. My problem now is
that file_column data gets zapped every time I deploy, because
Switchtower creates a whole new myapp/public directory with each rev.
I looked through the file_column docs and found the :root_path option,
which I use in my models as follows: