I have:
namespace :deploy do
task :restart do
run "touch #{current_path}/tmp/restart.txt"
end
end
in my deploy.rb
On Apr 28, 5:43 am, Colin Law wrote:
> Are you remembering to restart the server by touching tmp/restart.txt?
>
> 2009/4/28 zelop...@gmail.com
t that you are using? Thin,
> Mongrel, Apache?
>
> On Apr 27, 12:40 pm, "zelop...@gmail.com" wrote:
>
> > I am using dreamhost. All I i want to do is make changes on my
> > application and push them live. Yes I am using capistrano with git.
--~--~-~--~~-
I am using dreamhost. All I i want to do is make changes on my
application and push them live. Yes I am using capistrano with git.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post t
Every time I make changes and push, my app doesn't change. I use
dreamhost and when I push the changes it make a folder with the app
call releases/20090424185029 but it always shows the app of an older
date? How do I make it so the the push's affect the live app?
Sorry if this isn't really rails
The application works fine in development mode, so I can't really see
anything being wrong but I'll double check. I just keep getting the
error 500 screen every time I deploy and these are the only errors I
can find.
--~--~-~--~~~---~--~~
You received this message b
Lines 24, 29, 34, (39 and 40) show errors I received when I used --
trace when I db:migrate all saying:
test_should_show_contact(ContactsControllerTest):
NoMethodError: undefined method `contacts'
Is the default file wrong. I can't see rails making a mistake in
scaffold.
--
I just read a blog that said to delete any files in the test/fixtures
and it should be solved. I did that and received 4 less errors but now
telling me this:
---
When I "rake db:migrate RAILS_ENV=production" this is what I get that
leads to the "Something went wrong" page. The application runs fine in
development mode. Could someone help me find where the problem is?
_
This is the file that was made when I created the application. Should
that line be written differently? I would only think that the default
file would be correct..
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby
Ok. I tried "rake db:migrate RAILS_ENV=production" and "rake
db:migrate" after using "cap deploy" and both came up with the same
thing:
zelop...@angel:~/rainspore.com/current$ rake db:migrate
(in /home/zelopast/rainspore.com/releases/20090423074909)
rake aborted!
/home/zelopast/rainspore.com/rel
10 matches
Mail list logo