Peter Gibbons
2006-Apr-03 19:16 UTC
[Rails] How to create new rails 1.1 app if only rails 1.0 installed?
I have rails 1.0 and I cannot install rails-1.1 system-wide. However, I can freeze_edge (but just once because of svn 1.1.4 on Debian). Under this scenario, how can I create brand new rails-1.1 apps? I know how to freeze_edge *existing* rails-1.0 apps but that process seems to be imperfect because the script/about command and /rails/info/properties URL do not work after freezing to 1.1.0 release or revision 4142. -- Posted via http://www.ruby-forum.com/.
Jeff Coleman
2006-Apr-03 19:21 UTC
[Rails] Re: How to create new rails 1.1 app if only rails 1.0 instal
Peter Gibbons wrote:> I have rails 1.0 and I cannot install rails-1.1 system-wide. > > However, I can freeze_edge (but just once because of svn 1.1.4 on > Debian). > > Under this scenario, how can I create brand new rails-1.1 apps? > > I know how to freeze_edge *existing* rails-1.0 apps but that process > seems to be imperfect because the script/about command and > /rails/info/properties URL do not work after freezing to 1.1.0 release > or revision 4142.DHH posted about this-- http://weblog.rubyonrails.com/articles/2006/04/03/mostly-good-news-about-freezing-typo-and-rails-1-1-1 --suggesting the best way is to check out the Rails trunk from SVN. Jeff -- Posted via http://www.ruby-forum.com/.
Peter Gibbons
2006-Apr-03 19:51 UTC
[Rails] Re: How to create new rails 1.1 app if only rails 1.0 instal
Jeff Coleman wrote:> Peter Gibbons wrote: >> I have rails 1.0 and I cannot install rails-1.1 system-wide. >> >> However, I can freeze_edge (but just once because of svn 1.1.4 on >> Debian). >> >> Under this scenario, how can I create brand new rails-1.1 apps? >> >> I know how to freeze_edge *existing* rails-1.0 apps but that process >> seems to be imperfect because the script/about command and >> /rails/info/properties URL do not work after freezing to 1.1.0 release >> or revision 4142. > > DHH posted about this-- > http://weblog.rubyonrails.com/articles/2006/04/03/mostly-good-news-about-freezing-typo-and-rails-1-1-1 > > --suggesting the best way is to check out the Rails trunk from SVN. > > JeffI have the ability to upgrade individual 1.0 apps to 1.1 using freeze_edge. But I want to create individual 1.1 apps from scratch. Why? Because upgraded apps don''t seem to support the ''rails_info'' or ''rails/info'' URL and the ''script/about'' command fails too (only after upgrade). Assuming I cannot change /usr/bin/rails -- how can I create individual rails 1.1 apps? Thanks. -- Posted via http://www.ruby-forum.com/.
James Ludlow
2006-Apr-03 19:59 UTC
[Rails] Re: How to create new rails 1.1 app if only rails 1.0 instal
On 4/3/06, Peter Gibbons <pgibbons@initech.lan> wrote:> I have the ability to upgrade individual 1.0 apps to 1.1 using > freeze_edge. > > But I want to create individual 1.1 apps from scratch. > > Why? Because upgraded apps don''t seem to support the ''rails_info'' or > ''rails/info'' URL and the ''script/about'' command fails too (only after > upgrade). > > Assuming I cannot change /usr/bin/rails -- how can I create individual > rails 1.1 apps?If you all you want is the skeleton of the app that the rails command generates, why don''t you run that command on a different machine (that has Rails 1.1 installed) and then just copy the skeleton?
Trevor Squires
2006-Apr-03 20:24 UTC
[Rails] How to create new rails 1.1 app if only rails 1.0 installed?
Hi Peter, how about something like this: mkdir mynewproject mkdir mynewproject/vendor cd mynewproject/vendor svn export http://dev.rubyonrails.org/svn/rails/tags/rel_1-1-0 rails cd ../ ruby vendor/rails/railties/bin/rails . Regards, Trevor -- Trevor Squires http://somethinglearned.com On 3-Apr-06, at 12:16 PM, Peter Gibbons wrote:> I have rails 1.0 and I cannot install rails-1.1 system-wide. > > However, I can freeze_edge (but just once because of svn 1.1.4 on > Debian). > > Under this scenario, how can I create brand new rails-1.1 apps? > > I know how to freeze_edge *existing* rails-1.0 apps but that process > seems to be imperfect because the script/about command and > /rails/info/properties URL do not work after freezing to 1.1.0 release > or revision 4142. > > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails