Hi, I need to do some development with Rails 0.14.3, and since I was stupid and didn''t freeze the environment at that point, I''m wondering how I should go about it afterwards. I''m not even sure the rake tasks that old include the possibility of freezing version. There is no option in environment.rb to set Rails version either. I''m thinking about two different approaches; either copy the specific gems manually to vendor/rails, or modify the require-statements in environment.rb to require_gem the exact needed version. Which approach should I use? -- Ola Bini (http://ola-bini.blogspot.com) JvYAML, RbYAML, JRuby and Jatha contributor System Developer, Karolinska Institutet (http://www.ki.se) OLogix Consulting (http://www.ologix.com) "Yields falsehood when quined" yields falsehood when quined. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Ola Bini wrote:> Hi, > > I need to do some development with Rails 0.14.3, and since I was stupid > and didn''t freeze the environment at that point, I''m wondering how I > should go about it afterwards. I''m not even sure the rake tasks that old > include the possibility of freezing version. There is no option in > environment.rb to set Rails version either. > > I''m thinking about two different approaches; either copy the specific > gems manually to vendor/rails, or modify the require-statements in > environment.rb to require_gem the exact needed version. > Which approach should I use? > > -- > Ola Bini (http://ola-bini.blogspot.com) > JvYAML, RbYAML, JRuby and Jatha contributor > System Developer, Karolinska Institutet (http://www.ki.se) > OLogix Consulting (http://www.ologix.com) > > "Yields falsehood when quined" yields falsehood when quined.I''d try creating a new dummy rails app then rake rails:freeze:edge TAG=rel_0-14-3 Then copy the vendor directory to your old app... Although I''d at least check to see how much work it would be to migrate it forward to the current release. -- 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 -~----------~----~----~----~------~----~------~--~---
joevandyk-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2006-Sep-12 18:15 UTC
Re: Handle really old Rails-installation.
svn export the Rails 0.14.3 release to vendor. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
unknown wrote:> svn export the Rails 0.14.3 release to vendor.It will most likely work but I''ve noticed that what''s in the vendor folder after the freeze:edge is not exactly what''s in the svn release folder -- 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 -~----------~----~----~----~------~----~------~--~---