Dear list, I need to install Ruby on Rails without administrative privileges. I figured I could install ruby and have 'make install' write its output to a defined folder, but this doesn't give me a working ruby. Help is welcome. Here's how I proceeded: download and untar ruby-1.8.5-p2.tar.gz ./configure --prefix=/mypath/rubyonrails/ruby --exec-prefix=/mypath/rubyonrails/ruby/x86_64-linux make make install PATH=$PATH:/mypath/rubyonrails/ruby: /mypath/rubyonrails/ruby/lib: /mypath/rubyonrails/ruby/lib/ruby: /mypath/rubyonrails/ruby/lib/ruby/site_ruby: /mypath/rubyonrails/ruby/lib/ruby/site_ruby/1.8: /mypath/rubyonrails/ruby/lib/ruby/site_ruby/1.8/x86_64-linux: /mypath/rubyonrails/ruby/share: /mypath/rubyonrails/ruby/share/man: /mypath/rubyonrails/ruby/share/man/man1: /mypath/rubyonrails/ruby/x86_64-linux: /mypath/rubyonrails/ruby/x86_64-linux/bin: /mypath/rubyonrails/ruby/x86_64-linux/lib: /mypath/rubyonrails/ruby/x86_64-linux/lib/ruby: /mypath/rubyonrails/ruby/x86_64-linux/lib/ruby/1.8: /mypath/rubyonrails/ruby/x86_64-linux/lib/ruby/1.8/x86_64-linux/ Still, when trying to install rubygems or even running "IRB", it won't find its .rb files (error message below): /users/sista/bioiuser/rubyonrails/ruby/x86_64-linux/bin/irb:10:in `require': no such file to load -- irb (LoadError) from /users/sista/bioiuser/rubyonrails/ruby/x86_64-linux/bin/ irb:10 Any pointers? Thanks, Steven
on 2007-02-13 12:46
on 2007-02-14 19:42
I've done this before, and my steps looked identical to yours except I did not include the --exec-prefix when executing configure. I did ./ configure --prefix=$HOME; make; make install. Hope that helps. On Feb 13, 6:46 am, "Steven Van Vooren" <steven.vanvoo...@gmail.com>
on 2007-04-02 21:50
i try to install ruby-1.8.6 in linux cd /share/apps/ruby-1.8.6 ./configure --prefix=`pwd`;make;make install i include /share/apps/ruby-1.8.6/bin in my $PATH but when i invoke irb, i encountered error /share/apps/ruby-1.8.6/bin/irb:10:in `require': no such file to load -- irb (LoadError) from /share/apps/ruby-1.8.6/bin/irb:10 what might be wrong? Eric.