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.

Peter G. 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

Jeff C.man wrote:

Peter G. 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–
Peak Obsession

–suggesting the best way is to check out the Rails trunk from SVN.

Jeff

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?

Thanks.

On 4/3/06, Peter G. [email protected] wrote:

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?

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 S.
http://somethinglearned.com