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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> 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--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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. On Feb 14, 2:42 pm, "smithk" <smith...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> 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...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > wrote: > > > 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 (errormessage 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--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---