How to install rails in home folder(/home/username)?

I don’t have root access
Is there any idea to install ruby on rails in home
folder(/home/username/) only ?

On Nov 14, 2007 12:56 PM, Pokkai D.
[email protected] wrote:

I don’t have root access
Is there any idea to install ruby on rails in home
folder(/home/username/) only ?

Yes, you do it pretty much like you do with other packages: pass a
–prefix to configure:

./configure --prefix=/home/username

Then when you install rubygems and rails, everything will be placed
under that location (in lib, bin, and so forth).

Bob S. wrote:

Then when you install rubygems and rails, everything will be placed
under that location (in lib, bin, and so forth).

thank you for reply…
i did it as you told,

but console is not starting .
how to solve this ?

in terminal

username@server:~/Desktop/project$ ruby script/console
Loading development environment.
/home/username/Desktop/ruby/lib/ruby/1.8/irb/completion.rb:10:in
require': no such file to load -- readline (LoadError) from /home/username/Desktop/ruby/lib/ruby/1.8/irb/completion.rb:10 from /home/username/Desktop/ruby/lib/ruby/1.8/irb/init.rb:252:inrequire’
from /home/username/Desktop/ruby/lib/ruby/1.8/irb/init.rb:252:in
load_modules' from /home/username/Desktop/ruby/lib/ruby/1.8/irb/init.rb:250:ineach’
from /home/username/Desktop/ruby/lib/ruby/1.8/irb/init.rb:250:in
load_modules' from /home/username/Desktop/ruby/lib/ruby/1.8/irb/init.rb:21:insetup’
from /home/username/Desktop/ruby/lib/ruby/1.8/irb.rb:54:in
`start’
from /home/username/Desktop/ruby/bin/irb:13
username@server:~/Desktop/project$

On Nov 15, 2007 12:06 AM, Pokkai D.
[email protected] wrote:

how to solve this ?
`require’
from /home/username/Desktop/ruby/bin/irb:13
username@server:~/Desktop/project$

Not sure why readline didn’t get installed. Anyway, ask on the Ruby
list; it’s a Ruby installation issue, not a Rails issue.