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?
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.
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.
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.