From: Fibre Optic Date: 2007-09-20T17:10:05+09:00 Subject: Re: How to install RoR on chrooted environment Jano Svitok wrote: > On 9/19/07, Fibre Optic wrote: >> Hello, > > [Obvious note] This question is (at least partially) better asked on > Rails-talk group[/Obvious note] > > Nevertheless, if you create your application and call rake > :freeze, it will copy all needed rails files to vendor/ > directory in your app. Just copy that to your chrooted dir. > > I'd suppose that installing gem under chroot is pretty similar to the > normal install, provided you have all the stuff that such installation > requires - that means in this case at least ruby and rubygems. > > More details how to install rubygems are at > http://docs.rubygems.org/read/chapter/3#page83 First of all thank you Jano for the prompt answer. I have tried this: $ rails testapp then: $ rake rails:freeze:version but i receive the following output: "rake aborted! No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb) /usr/lib/ruby/1.8/rake.rb:1934:in `raw_load_rakefile' (See full trace by running task with --trace)" Can you pls tell me step-by-step how to do it? Regards, FO