On 6 April 2011 13:16, Shafeeq <mohamed.shaf...@gmail.com> wrote:
> In effect I'd want to install Rails without having an internet
> connection. Example I may want to install Rails on a production server
> from where I cannot connect to the internet. Is there a way out?

Bundler's 'package' command does what you're describing here:

http://gembundler.com/bundle_package.html

It'll resolve the gem dependencies for you, fetch the necessary gem
files, and then store them inside your project.

Of course, this depends on having an internet connection and a working
Rubygems on the machine that you initially run 'bundle package' on.
But after that, any other machine can install the dependencies for
your app (including rails) without hitting rubygems.org.

Chris

-- 
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@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to