Hi, I am fighting to install Redmine therefore I need to install Ruby on Rails to a machine behind many firewalls. OS is RHEL. My idea was to download the packages, make and install... There was some difficulties because the latest Ruby in the RHEL repo was not modern enough for gem. So I donwloaded the source of ruby. Its intall was perfect. After that point I managed to install gem. But since this, I have no idea how can I install the rake, rail, etc. packages with gem from local files because the firewalls do not allowe me public internet connection in this host. Can you help me? Best Regards, Gabor -- Posted via http://www.ruby-forum.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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
nux-UXsJezk8AOphl2p70BpVqQ@public.gmane.org
2010-Jul-01 09:41 UTC
Re: Ruby on Rails - RHEL
On 01/Jul/2010 11:10 Gabor Antal <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote ..> Hi, > > I am fighting to install Redmine therefore I need to install Ruby on > Rails to a machine behind many firewalls. OS is RHEL. > > My idea was to download the packages, make and install... > > There was some difficulties because the latest Ruby in the RHEL repo was > not modern enough for gem. So I donwloaded the source of ruby. Its > intall was perfect. After that point I managed to install gem. > > > But since this, I have no idea how can I install the rake, rail, etc. > packages with gem from local files because the firewalls do not allowe > me public internet connection in this host. > > Can you help me? > > > Best Regards, > > Gabor > -- > Posted via http://www.ruby-forum.com/. > > -- > You received this message because you are subscribed to the GoogleGroups "Ruby> on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email torubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org> For more options, visit this group athttp://groups.google.com/group/rubyonrails-talk?hl=en.>I hope you installed ruby on a different path (e.g. /opt/ruby). Installing newer ruby on rhel/centos is quite trivial tho, check this out for example: http://blog.perplexedlabs.com/2009/01/13/installing-ruby-enterprise-edition-with-phusion-passenger/ -- Nux! www.nux.ro -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Thu, Jul 1, 2010 at 5:10 AM, Gabor Antal <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Hi, > > I am fighting to install Redmine therefore I need to install Ruby on > Rails to a machine behind many firewalls. OS is RHEL. > > My idea was to download the packages, make and install... > > There was some difficulties because the latest Ruby in the RHEL repo was > not modern enough for gem. So I donwloaded the source of ruby. Its > intall was perfect. After that point I managed to install gem. > > > But since this, I have no idea how can I install the rake, rail, etc. > packages with gem from local files because the firewalls do not allowe > me public internet connection in this host. > > Can you help me?gem install rake gem install rails gem install ... gem --help -- Leonardo Mateo. There''s no place like ~ -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Leonardo Mateo wrote:> On Thu, Jul 1, 2010 at 5:10 AM, Gabor Antal <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> > wrote: >> >> >> But since this, I have no idea how can I install the rake, rail, etc. >> packages with gem from local files because the firewalls do not allowe >> me public internet connection in this host. >> >> Can you help me? > gem install rake > gem install rails > gem install ... > gem --helpLeonardo, that obviously won''t work since the OP said he has no public Internet connection. To the OP: If you can''t put the gems you need in the app''s /vendor directory, then you''ll have to install the gems by downloading the .gem files from a machine that can get them (gem fetch may help here) and copying them over to the server, then using gem install --local on the server to install from local .gem packages. But avoid this if at all possible. If you can use /vendor or get out to rubygems.org from the server, so much the better.> > -- > Leonardo Mateo. > There''s no place like ~Best, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org -- Posted via http://www.ruby-forum.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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Thu, Jul 1, 2010 at 12:45 PM, Marnen Laibow-Koser <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Leonardo Mateo wrote: >> On Thu, Jul 1, 2010 at 5:10 AM, Gabor Antal <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> >> wrote: >>> >>> >>> But since this, I have no idea how can I install the rake, rail, etc. >>> packages with gem from local files because the firewalls do not allowe >>> me public internet connection in this host. >>> >>> Can you help me? >> gem install rake >> gem install rails >> gem install ... >> gem --help > > Leonardo, that obviously won''t work since the OP said he has no public > Internet connection.Sorry guys, I''ve must have been still asleep when I replied that email this morning.> > To the OP: If you can''t put the gems you need in the app''s /vendor > directory, then you''ll have to install the gems by downloading the .gem > files from a machine that can get them (gem fetch may help here) and > copying them over to the server, then using gem install --local on the > server to install from local .gem packages. > > But avoid this if at all possible. If you can use /vendor or get out to > rubygems.org from the server, so much the better. >> >> -- >> Leonardo Mateo. >> There''s no place like ~ > > Best, > -- > Marnen Laibow-Koser > http://www.marnen.org > marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org > -- > Posted via http://www.ruby-forum.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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- Leonardo Mateo. There''s no place like ~ -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Hi! thanks for the help. It turned out: - -l option is useless [maybe --local is OK] without - unset http_proxy environment variable - -i install dir is also necessary eg.: gem install actionmailer-2.3.5.gem -l -i /usr/local/lib/ruby/gems/1.8 Regards, Gabor -- Posted via http://www.ruby-forum.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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
> http://blog.perplexedlabs.com/2009/01/13/installing-ruby-enterprise-edition-with-phusion-passenger/Wow, cool link! Thanks! Gabor -- Posted via http://www.ruby-forum.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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.