[Rails] Re: Running App in Production Env

2009-09-23 Thread Adam Meyer
Marnen Laibow-Koser wrote: > Adam Meyer wrote: >> Okay, I got it, but please do not ask how. > > I'll bite. How? > >> There was a problem with the migration to production.sqlite3 but I fixed >> it! > > And the problem was...? And you fixed it by...? > >> >> Thanks dude! > > Best, > -- > M

[Rails] Re: Running App in Production Env

2009-09-23 Thread Marnen Laibow-Koser
Adam Meyer wrote: > Okay, I got it, but please do not ask how. I'll bite. How? > There was a problem with the migration to production.sqlite3 but I fixed > it! And the problem was...? And you fixed it by...? > > Thanks dude! Best, -- Marnen Laibow-Koser http://www.marnen.org mar...@marnen

[Rails] Re: Running App in Production Env

2009-09-23 Thread Adam Meyer
Okay, I got it, but please do not ask how. There was a problem with the migration to production.sqlite3 but I fixed it! Thanks dude! -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Googl

[Rails] Re: Running App in Production Env

2009-09-23 Thread Vamsi krishna Kilari
Colin Law wrote: > 2009/9/23 Vamsi krishna Kilari : >> > Would you expect it to work on the server in dev mode but not in > production if that were the problem? > > Colin oops I thought he meant to say dev server. -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~-

[Rails] Re: Running App in Production Env

2009-09-23 Thread Vamsi krishna Kilari
Colin > Would you expect it to work on the server in dev mode but not in > production if that were the problem? >From rails 2.3.0 application.rb is renamed to application_controller.rb which you are aware of. And passenger <=2.0.3 looks for application.rb and higher versions looks for applicati

[Rails] Re: Running App in Production Env

2009-09-23 Thread Colin Law
2009/9/23 Vamsi krishna Kilari : > > Adam. > >> *** [err :: kwikit.de] no such file to load -- application > Seems like an issue with rails n passenger version. Can you simlink the > application.rb to application_controller.rb and it should work fine. > > cd RAILS_ROOT/app/controller > > ln -s app

[Rails] Re: Running App in Production Env

2009-09-23 Thread Vamsi krishna Kilari
Adam. > *** [err :: kwikit.de] no such file to load -- application Seems like an issue with rails n passenger version. Can you simlink the application.rb to application_controller.rb and it should work fine. cd RAILS_ROOT/app/controller ln -s application_controller.rb application.rb Thanks, K

[Rails] Re: Running App in Production Env

2009-09-23 Thread Colin Law
2009/9/23 Adam Meyer : > > Colin Law wrote: > >> >> What is the name of your application controller? >> Are you sure it is running with the same version of rails as in >> development? >> If so how do you know? >> >> Colin > > > Hey Colin > > sorry but I don't understand your questions? You should

[Rails] Re: Running App in Production Env

2009-09-23 Thread Adam Meyer
Colin Law wrote: > > What is the name of your application controller? > Are you sure it is running with the same version of rails as in > development? > If so how do you know? > > Colin Hey Colin sorry but I don't understand your questions? I already deployed the app a couple of times to m

[Rails] Re: Running App in Production Env

2009-09-23 Thread Colin Law
2009/9/23 Adam Meyer : > > Hi everyone, > > yesterday I switched the environment on my production server from dev to > prod via changing the vhost file for the Apache. > > I changed > > RailsEnv development > > to > > RailsEnv production > > and deployed the application via capistrano. > > But now