I''m trying to install ruby on rails to a host server that I don''t have root access to. The server already has ruby. I''ve followed the info on these two pages for installing rubygems in a non-root user directory: http://rubygems.org/read/chapter/3 http://wiki.rubyonrails.com/rails/pages/HowToUseMultipleGemRepositories rubygems appears to be installed correctly but when I do "gem install rails" I get this error: ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) Permission denied - connect(2)(Errno::EACCES) I''ve changed my $PATH to include the gem installation dir, I have my $RUBYLIB set to /home/geminstall/lib/ruby/site_ruby/1.8, and have set the $GEM_HOME path to my gem repository. is it possible to be completely unable to install ROR on a hosting company server because of lack of permissions? or am I missing something? please help! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
If you just need a different version of rails than your host provides you are better off to just install rails (or freeze it) into your application''s vendor/rails directory. It is possible to get your own version of Rubygems up and running on a shared host. Here''s what I did on Textdrive a while back. http://www.stevelongdo.com/articles/2006/08/31/installing-a-patched-rubygems-on-textdrive On 2/4/07, james <hindle.james-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > I''m trying to install ruby on rails to a host server that I don''t have > root access to. The server already has ruby. > > I''ve followed the info on these two pages for installing rubygems in a > non-root user directory: > http://rubygems.org/read/chapter/3 > http://wiki.rubyonrails.com/rails/pages/HowToUseMultipleGemRepositories > > rubygems appears to be installed correctly but when I do "gem install > rails" I get this error: > > ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) > Permission denied - connect(2)(Errno::EACCES) > > I''ve changed my $PATH to include the gem installation dir, I have my > $RUBYLIB set to /home/geminstall/lib/ruby/site_ruby/1.8, and have set > the $GEM_HOME path to my gem repository. > > is it possible to be completely unable to install ROR on a hosting > company server because of lack of permissions? or am I missing > something? > > please help! > > > > >-- Thanks, -Steve http://www.stevelongdo.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
actually, the host (aplus.net) has no rails or rubygems installed, only ruby, and I don''t have access to it''s dir (and the host offers no help or support for installing ror) I''m limited to my /home/myusername level I was getting the typical: ..../bin/gem:9:in `require'': no such file to load -- rubygems (LoadError) when trying to do "gem install rails", until I set the RUBYLIB path to /home/geminstall/lib/ruby/site_ruby/1.8 and now I''m getting this strange error: ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) Permission denied - connect(2)(Errno::EACCES) which I can''t seem to find anyone else getting in this situation. I can''t seem to get past this point. On Feb 4, 8:05 pm, "Steve Longdo" <steve.lon...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> If you just need a different version of rails than your host provides you > are better off to just install rails (or freeze it) into your application''s > vendor/rails directory. > > It is possible to get your own version of Rubygems up and running on a > shared host. Here''s what I did on Textdrive a while back.http://www.stevelongdo.com/articles/2006/08/31/installing-a-patched-r... > > On 2/4/07, james <hindle.ja...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > > I''m trying to install ruby on rails to a host server that I don''t have > > root access to. The server already has ruby. > > > I''ve followed the info on these two pages for installing rubygems in a > > non-root user directory: > >http://rubygems.org/read/chapter/3 > >http://wiki.rubyonrails.com/rails/pages/HowToUseMultipleGemRepositories > > > rubygems appears to be installed correctly but when I do "gem install > > rails" I get this error: > > > ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) > > Permission denied - connect(2)(Errno::EACCES) > > > I''ve changed my $PATH to include the gem installation dir, I have my > > $RUBYLIB set to /home/geminstall/lib/ruby/site_ruby/1.8, and have set > > the $GEM_HOME path to my gem repository. > > > is it possible to be completely unable to install ROR on a hosting > > company server because of lack of permissions? or am I missing > > something? > > > please help! > > -- > Thanks, > -Stevehttp://www.stevelongdo.com--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)> Permission denied - connect(2)(Errno::EACCES)I would imagine that you are unable to connect to the gemserver either because of permissions or some sort of network/firewall configuration on the host. Fortunately you can copy the gems from your local repository up to the rubygems that you have installed on your hosting provider. On 2/4/07, james <hindle.james-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > actually, the host (aplus.net) has no rails or rubygems installed, > only ruby, and I don''t have access to it''s dir (and the host offers no > help or support for installing ror) > > I''m limited to my /home/myusername level > > I was getting the typical: > ..../bin/gem:9:in `require'': no such file to load -- rubygems > (LoadError) > > when trying to do "gem install rails", until I set the RUBYLIB path > to /home/geminstall/lib/ruby/site_ruby/1.8 and now I''m getting this > strange error: > > ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) > Permission denied - connect(2)(Errno::EACCES) > > which I can''t seem to find anyone else getting in this situation. I > can''t seem to get past this point. > > > > > > On Feb 4, 8:05 pm, "Steve Longdo" <steve.lon...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > If you just need a different version of rails than your host provides > you > > are better off to just install rails (or freeze it) into your > application''s > > vendor/rails directory. > > > > It is possible to get your own version of Rubygems up and running on a > > shared host. Here''s what I did on Textdrive a while back > .http://www.stevelongdo.com/articles/2006/08/31/installing-a-patched-r... > > > > On 2/4/07, james <hindle.ja...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > > > > > > > > I''m trying to install ruby on rails to a host server that I don''t have > > > root access to. The server already has ruby. > > > > > I''ve followed the info on these two pages for installing rubygems in a > > > non-root user directory: > > >http://rubygems.org/read/chapter/3 > > >http://wiki.rubyonrails.com/rails/pages/HowToUseMultipleGemRepositories > > > > > rubygems appears to be installed correctly but when I do "gem install > > > rails" I get this error: > > > > > ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) > > > Permission denied - connect(2)(Errno::EACCES) > > > > > I''ve changed my $PATH to include the gem installation dir, I have my > > > $RUBYLIB set to /home/geminstall/lib/ruby/site_ruby/1.8, and have set > > > the $GEM_HOME path to my gem repository. > > > > > is it possible to be completely unable to install ROR on a hosting > > > company server because of lack of permissions? or am I missing > > > something? > > > > > please help! > > > > -- > > Thanks, > > -Stevehttp://www.stevelongdo.com > > > > >-- Thanks, -Steve http://www.stevelongdo.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
that''s a good point, I''ll just try copy my gems from my hard drive. thanks Steve! On Feb 4, 8:27 pm, "Steve Longdo" <steve.lon...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) > > > Permission denied - connect(2)(Errno::EACCES) > > I would imagine that you are unable to connect to the gemserver either > because of permissions or some sort of network/firewall configuration on the > host. > > Fortunately you can copy the gems from your local repository up to the > rubygems that you have installed on your hosting provider. > > On 2/4/07, james <hindle.ja...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > > actually, the host (aplus.net) has no rails or rubygems installed, > > only ruby, and I don''t have access to it''s dir (and the host offers no > > help or support for installing ror) > > > I''m limited to my /home/myusername level > > > I was getting the typical: > > ..../bin/gem:9:in `require'': no such file to load -- rubygems > > (LoadError) > > > when trying to do "gem install rails", until I set the RUBYLIB path > > to /home/geminstall/lib/ruby/site_ruby/1.8 and now I''m getting this > > strange error: > > > ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) > > Permission denied - connect(2)(Errno::EACCES) > > > which I can''t seem to find anyone else getting in this situation. I > > can''t seem to get past this point. > > > On Feb 4, 8:05 pm, "Steve Longdo" <steve.lon...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > If you just need a different version of rails than your host provides > > you > > > are better off to just install rails (or freeze it) into your > > application''s > > > vendor/rails directory. > > > > It is possible to get your own version of Rubygems up and running on a > > > shared host. Here''s what I did on Textdrive a while back > > .http://www.stevelongdo.com/articles/2006/08/31/installing-a-patched-r... > > > > On 2/4/07, james <hindle.ja...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > I''m trying to install ruby on rails to a host server that I don''t have > > > > root access to. The server already has ruby. > > > > > I''ve followed the info on these two pages for installing rubygems in a > > > > non-root user directory: > > > >http://rubygems.org/read/chapter/3 > > > >http://wiki.rubyonrails.com/rails/pages/HowToUseMultipleGemRepositories > > > > > rubygems appears to be installed correctly but when I do "gem install > > > > rails" I get this error: > > > > > ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) > > > > Permission denied - connect(2)(Errno::EACCES) > > > > > I''ve changed my $PATH to include the gem installation dir, I have my > > > > $RUBYLIB set to /home/geminstall/lib/ruby/site_ruby/1.8, and have set > > > > the $GEM_HOME path to my gem repository. > > > > > is it possible to be completely unable to install ROR on a hosting > > > > company server because of lack of permissions? or am I missing > > > > something? > > > > > please help! > > > > -- > > > Thanks, > > > -Stevehttp://www.stevelongdo.com > > -- > Thanks, > -Stevehttp://www.stevelongdo.com--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---