[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

[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 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: How to: redirect_to through a folder hierarchy (upwards)

2009-09-20 Thread Vamsi krishna Kilari
Tom, You should be able to do like this. redirect_to :controller => "/members", :action => 'show' Thanks, Kilari. http://kilari.co.in -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goo

[Rails] Re: Upgrading on Unix

2009-07-07 Thread Vamsi krishna Kilari
have suggested to reinstall all the gems. Thanks, Kilari. http://kilari.co.in Brian Penrose wrote: > Vamsi krishna Kilari wrote: >> Brian, >> >> Yup you need to re install rubygems and all the gems required. >> >> Thanks, >> Kilari. >> http://kilari.co

[Rails] Re: Upgrading on Unix

2009-07-07 Thread Vamsi krishna Kilari
Brian, Yup you need to re install rubygems and all the gems required. Thanks, Kilari. http://kilari.co.in Brian Penrose wrote: > Do I need to re-install gems after upgrading from Ruby 1.8.6 to 1.8.7 on > Unix? -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---

[Rails] Re: rake db:create:all error

2009-07-07 Thread Vamsi krishna Kilari
Manish, What I find is that 0x22 is T_DATA in 1.8 and 0xc in 1.9.Seems like there is some conflict..but not sure.By the way have you freezed the rails by using the same version of ruby? Thanks, Kilari. Manish Arya wrote: > Hi, > >I am getting this error when i execute rake db:create:all

[Rails] Re: rake db:create:all error

2009-07-07 Thread Vamsi krishna Kilari
Manish, Can you paste the full trace of the rake task. Thanks, Kilari. Manish Arya wrote: > Hi, > >I am getting this error when i execute rake db:create:all > > /opt/gitorious/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:569: > [BUG] unknown type 0x22 (

[Rails] Re: scope_out plugin

2009-07-07 Thread Vamsi krishna Kilari
Ghazal, You can try doing a CO in the plugin folder and it should work fine Thanks, Kilari. Ghazal Mir wrote: > > > hi > i want to install scope out plugin > script/plugin install http://scope-out-rails.googlecode.com/svn/trunk > > but i get the error plugin not found > i use window > what s