Hi, I have an app that uses login_engine and the hosting company upgraded to Rails 1.2. Does anyone knows a good alternative, if possible to reuse the existing data in the database from the login_engine? Thanks, Tiago Franco -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Tiago, Why don''t you just freeze the version of rails you were using into the /vendor directory? That way you can still use the existing application and plugins as they are. The usual call is ''rake freeze_gems'' BR Mezza On Mar 6, 10:18 am, Tiago Franco <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> Hi, > > I have an app that uses login_engine and the hosting company upgraded to > Rails 1.2. > > Does anyone knows a good alternative, if possible to reuse the existing > data in the database from the login_engine? > > Thanks, > Tiago Franco > > -- > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Hi, Thanks for the reply. The upgrade on the server was already made, is it possible to force the app to be frozen in a previous version of the gems? Thanks, Tiago Franco mezza wrote:> Tiago, > > Why don''t you just freeze the version of rails you were using into > the /vendor directory? That way you can still use the existing > application and plugins as they are. > > The usual call is ''rake freeze_gems'' > > BR > > Mezza > > On Mar 6, 10:18 am, Tiago Franco <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>-- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Hi Tiago, I usually run the rake freeze_gems or rake rails:freeze:gems on my apps on my development box before pushing them up to production servers. If you can''t do that for whatever reason, it is also possible to svn external a link in your /vendor directory. I don''t do this too much, so not sure of the syntax, but I''m sure you''ll be able to google it. The Rails 1.1 release should be able to be svn externalled into your app by typing: svn propset svn:externals "rails http://dev.rubyonrails.org/svn/rails/branches/1-1-stable" vendor from the root of your rails app. Assuming your on *nix and have svn available. There is also one last option which is that if your hosting company haven''t deleted the previous versions of the rails gems you cold edit your environment.rb file to specify the version you want to use (but I''d stick with just freezing the version you want to /vendor). HTH Mezza On Mar 8, 10:45 am, Guest <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> Hi, > > Thanks for the reply. > > The upgrade on the server was already made, is it possible to force the > app to be frozen in a previous version of the gems? > > Thanks, > Tiago Franco > > mezzawrote: > > Tiago, > > > Why don''t you just freeze the version of rails you were using into > > the /vendor directory? That way you can still use the existing > > application and plugins as they are. > > > The usual call is ''rake freeze_gems'' > > > BR > > >Mezza > > > On Mar 6, 10:18 am, Tiago Franco <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> > > -- > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Hi, Thank you very much Mezza, it worked. Tiago Franco mezza wrote:> Hi Tiago, > > I usually run the rake freeze_gems or rake rails:freeze:gems on my > apps on my development box before pushing them up to production > servers. > > If you can''t do that for whatever reason, it is also possible to svn > external a link in your /vendor directory. > > I don''t do this too much, so not sure of the syntax, but I''m sure > you''ll be able to google it. The Rails 1.1 release should be able to > be svn externalled into your app by typing: > > svn propset svn:externals "rails > http://dev.rubyonrails.org/svn/rails/branches/1-1-stable" > vendor > > from the root of your rails app. Assuming your on *nix and have svn > available. > > There is also one last option which is that if your hosting company > haven''t deleted the previous versions of the rails gems you cold edit > your environment.rb file to specify the version you want to use (but > I''d stick with just freezing the version you want to /vendor). > > HTH > > Mezza-- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---