[Rails] Re: git push doen't change my live application

2009-04-28 Thread zelop...@gmail.com
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

[Rails] Re: git push doen't change my live application

2009-04-28 Thread 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. --~--~-~--~~-

[Rails] Re: git push doen't change my live application

2009-04-27 Thread zelop...@gmail.com
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

[Rails] git push doen't change my live application

2009-04-27 Thread zelop...@gmail.com
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

[Rails] Re: Default scaffold makes a test.rb with errors

2009-04-25 Thread zelop...@gmail.com
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

[Rails] Default scaffold makes a test.rb with errors

2009-04-24 Thread zelop...@gmail.com
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. --

[Rails] Re: Test Errors giving me Error 500 and wont display site.

2009-04-24 Thread zelop...@gmail.com
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: ---

[Rails] Test Errors giving me Error 500 and wont display site.

2009-04-24 Thread zelop...@gmail.com
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? _

[Rails] Re: rake db:migrate RAILS_ENV=production failed!

2009-04-23 Thread zelop...@gmail.com
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

[Rails] rake db:migrate RAILS_ENV=production failed!

2009-04-23 Thread zelop...@gmail.com
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