On Nov 7, 2012, at 10:15 AM, Elmer A. Sia wrote:
> Sai Kiran Mothe, Thank you, but I am just wondering, "what if I am in a remote area with no internet connection and want to play around with Rails". I just need an answer for that
>
> Basically a good idea is to list down the gems needed by my app and gems that I think I can use and then download them through "gem install" command.
>
> After that I can play around without an internet connection?
I think you'd need to be on a network for bundle to work. Once you've bundled an app, you can continue to work on it, but I doubt that bundler would work without a net -- the first thing it does is try to read the latest updates from
rubygems.org. You can simulate this pretty easily by disabling all of your network and trying to run bundle update in an existing (working) application. See if it succeeds without giving up.
Walter
>
> :D
>
> On Wednesday, November 7, 2012 8:44:02 PM UTC+8, Elmer A. Sia wrote:
> I'm very new to Rails and I'm quite confused if I can practice Rails in offline mode?
>
> I'm following the Ruby on Rails Tutorail by Michael Hartl and I noticed that after generating a new app through the command "rails new app_name", "bundle install" is then called to download the gems specified in the Gemfile.
>
> What if I don't have an internet connection? Can I still play with Rails?
>
> To view this discussion on the web visit
https://groups.google.com/d/msg/rubyonrails-talk/-/0ulGbZTrA4sJ.