I''ve got a machine that cannot be connected to the Internet (think security precautions in a bank) and am thus trying to install rails using gem install rails-1.1.2.gem thinking this would work. It does not. I get errors about ActiveSupport module missing. It makes it sound like I have to get separate gems for ActiveSupport, ActiveRecord, etc., and install them all one at a time, which seems strangely tedious. So then how do I install the entire Rails system without the Internet connection? What file(s) do I need? Thanks. -- Posted via http://www.ruby-forum.com/.
I have a similar problem at my work. I downloaded edge rails onto my machine and that contains everything that I needed. I then copied it over to the machine that I needed to run from. It got a little more difficult installing mongrel from local gems.. There are quite a few. Hope this helps On 6/15/06, Gaudi Mi <gaudimila@yahoo.com> wrote:> > I''ve got a machine that cannot be connected to the Internet (think > security precautions in a bank) and am thus trying to install rails > using > > gem install rails-1.1.2.gem > > thinking this would work. It does not. I get errors about > ActiveSupport module missing. It makes it sound like I have to get > separate gems for ActiveSupport, ActiveRecord, etc., and install them > all one at a time, which seems strangely tedious. > > So then how do I install the entire Rails system without the Internet > connection? What file(s) do I need? Thanks. > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060615/903a1142/attachment.html
Thanks. So then you''re saying you did a normal gem remote install on one machine, then simply copies of the directories to the other machine? I suppose I could do that. This is a Linux system so I just need to concern myself with files. Daniel ----- wrote:> I have a similar problem at my work. > > I downloaded edge rails onto my machine and that contains everything > that I > needed. I then copied it over to the machine that I needed to run from. > > It got a little more difficult installing mongrel from local gems.. > There > are quite a few. > > Hope this helps-- Posted via http://www.ruby-forum.com/.
No I didn''t use gems at all... I installed Edge Rails straight from SVN. I have just found an unpack command for gems tho, I''m not sure how to use it but I have asked on the ruby-talk mailing list. I''ll report back if I find out how. On 6/15/06, Gaudi Mi <gaudimila@yahoo.com> wrote:> > Thanks. So then you''re saying you did a normal gem remote install on > one machine, then simply copies of the directories to the other machine? > I suppose I could do that. This is a Linux system so I just need to > concern myself with files. > > > > Daniel ----- wrote: > > I have a similar problem at my work. > > > > I downloaded edge rails onto my machine and that contains everything > > that I > > needed. I then copied it over to the machine that I needed to run from. > > > > It got a little more difficult installing mongrel from local gems.. > > There > > are quite a few. > > > > Hope this helps > > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060615/45f18fa1/attachment-0001.html
Gaudi Mi wrote:> I''ve got a machine that cannot be connected to the Internet (think > security precautions in a bank) and am thus trying to install rails > using > > gem install rails-1.1.2.gem > > thinking this would work. It does not. I get errors about > ActiveSupport module missing. It makes it sound like I have to get > separate gems for ActiveSupport, ActiveRecord, etc., and install them > all one at a time, which seems strangely tedious. > > So then how do I install the entire Rails system without the Internet > connection? What file(s) do I need? Thanks.What I do is just download the proper gems, move the gems to the disconnected machine and install them in the proper order. This is actually detailed on the wiki here: http://wiki.rubyonrails.com/rails/pages/GemRails. I have also listed the gems you''ll need below. The order I have listed them in are the order you''ll need to install them in (yes, the order is important). 1. Activesupport - http://rubyforge.org/projects/activesupport/ 2. Actionpack - http://rubyforge.org/projects/actionpack/ 3. Actionmailer - http://rubyforge.org/projects/actionmailer/ 4. Activerecord - http://rubyforge.org/projects/activerecord/ 5. Actionwebservice - http://rubyforge.org/projects/aws/ 6. Rake - http://rubyforge.org/projects/rake/ 7. Rails - http://rubyforge.org/projects/rails/ To install them, (taken from the wiki) "...download the .gem files from the above links, place them in a local directory, then issue the gem install gemname command from this directory for each gem in order. Of course, you will then have to continue downloading and updating each of these gems manually if you wish to stay current." -- Posted via http://www.ruby-forum.com/.
Thanks, this looks like the answer I needed. I''m a little surprised that there''s no ''batch'' way to do this with Rake, since everything else Ruby and Rails is always so easy, but I''m not complaining. Gaudi noobonrails wrote:> Gaudi Mi wrote: >> I''ve got a machine that cannot be connected to the Internet (think >> security precautions in a bank) and am thus trying to install rails >> using >> >> gem install rails-1.1.2.gem >> >> thinking this would work. It does not. I get errors about >> ActiveSupport module missing. It makes it sound like I have to get >> separate gems for ActiveSupport, ActiveRecord, etc., and install them >> all one at a time, which seems strangely tedious. >> >> So then how do I install the entire Rails system without the Internet >> connection? What file(s) do I need? Thanks. > > What I do is just download the proper gems, move the gems to the > disconnected machine and install them in the proper order. This is > actually detailed on the wiki here: > http://wiki.rubyonrails.com/rails/pages/GemRails. > > I have also listed the gems you''ll need below. The order I have listed > them in are the order you''ll need to install them in (yes, the order is > important). > > 1. Activesupport - http://rubyforge.org/projects/activesupport/ > 2. Actionpack - http://rubyforge.org/projects/actionpack/ > 3. Actionmailer - http://rubyforge.org/projects/actionmailer/ > 4. Activerecord - http://rubyforge.org/projects/activerecord/ > 5. Actionwebservice - http://rubyforge.org/projects/aws/ > 6. Rake - http://rubyforge.org/projects/rake/ > 7. Rails - http://rubyforge.org/projects/rails/ > > To install them, (taken from the wiki) > > "...download the .gem files from the above links, place them in a local > directory, then issue the gem install gemname command from this > directory for each gem in order. > > Of course, you will then have to continue downloading and updating each > of these gems manually if you wish to stay current."-- Posted via http://www.ruby-forum.com/.