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? -- 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 To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/G7_H8n2rnZAJ. For more options, visit https://groups.google.com/groups/opt_out.
Elmer, *Rails* is a also a* ruby gem*,you need to install dependencies from http://www.rubygems.org Once you finish *bundle install* you can play. Thanks, Saikiran Mothe On Wed, Nov 7, 2012 at 6:14 PM, Elmer A. Sia <pragmaticpanoy-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>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? > > -- > 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 > To view this discussion on the web visit > https://groups.google.com/d/msg/rubyonrails-talk/-/G7_H8n2rnZAJ. > For more options, visit https://groups.google.com/groups/opt_out. > > >-- 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 https://groups.google.com/groups/opt_out.
Short answer: Yes! Longer Answer: Yes, but you have to generate your app before going offline, after all gems are installed there is no need to go online any more. 2012/11/7 Elmer A. Sia <pragmaticpanoy-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>> 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? > > -- > 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 > To view this discussion on the web visit > https://groups.google.com/d/msg/rubyonrails-talk/-/G7_H8n2rnZAJ. > For more options, visit https://groups.google.com/groups/opt_out. > > >-- 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 https://groups.google.com/groups/opt_out.
If you want install any single new gem on your app.then you need to go online. Your developing a web-application. Elmer,Try to get a internet connection asap. That will be more helpful for you. Thanks, Saikiran Mothe On Wed, Nov 7, 2012 at 7:12 PM, Norbert Melzer <timmelzer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Short answer: Yes! > > Longer Answer: Yes, but you have to generate your app before going > offline, after all gems are installed there is no need to go online any > more. > > > 2012/11/7 Elmer A. Sia <pragmaticpanoy-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > > 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? >> >> -- >> 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 >> To view this discussion on the web visit >> https://groups.google.com/d/msg/rubyonrails-talk/-/G7_H8n2rnZAJ. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > -- > 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 https://groups.google.com/groups/opt_out. > > >-- 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 https://groups.google.com/groups/opt_out.
You can. To avoid being slowed down by needing to download Gems and being offline, you can use the "final version" of the Gemfile for the sample_app, which is listed in listing 9.49 (In Chapter 9) (don''t forget to use bundle install after editing your Gemfile!). Hartl mentions it early in chapter 3, where the main project for his book (the "sample app") begins. Iain -- 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 To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/0-YrtWjqSOkJ. For more options, visit https://groups.google.com/groups/opt_out.
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? :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? >-- 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 To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/0ulGbZTrA4sJ. For more options, visit https://groups.google.com/groups/opt_out.
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? > > -- > 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. > To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/0ulGbZTrA4sJ. > For more options, visit https://groups.google.com/groups/opt_out. > >-- 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 https://groups.google.com/groups/opt_out.
>> After that I can play around without an internet connection?Yes, absolutely. Anyone who''s ever worked on an app aboard a plane without WiFi can attest to that :-)> I think you''d need to be on a network for bundle to work.For bundle install or update, yes, but not for e.g. bundle exec. -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org http://about.me/hassanschroeder twitter: @hassan -- 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 https://groups.google.com/groups/opt_out.
On Nov 7, 2012, at 10:55 AM, Hassan Schroeder wrote:>>> After that I can play around without an internet connection? > > Yes, absolutely. Anyone who''s ever worked on an app aboard a > plane without WiFi can attest to that :-) > >> I think you''d need to be on a network for bundle to work. > > For bundle install or update, yes, but not for e.g. bundle exec. >Yes, good point. Walter> -- > Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > http://about.me/hassanschroeder > twitter: @hassan > > -- > 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 https://groups.google.com/groups/opt_out. > >-- 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 https://groups.google.com/groups/opt_out.
If got any error in middle of that.No one will be help you.if you have internet connection,the rails world is behind you to help out. Think about it. Thanks, Saikiran Mothe On Wed, Nov 7, 2012 at 8:45 PM, Elmer A. Sia <pragmaticpanoy-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote:> can play around without an internet connection?-- 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 https://groups.google.com/groups/opt_out.
If you already have the gems required by whatever you''re running, `bundle install` doesn''t hit the network - so, if you''ve already generated one app successfully, you can continue to generate/work on more offline without issue. There are ways around this problem if you absolutely must, but in general it''s expected that you have internet access at least sometimes. -- 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 https://groups.google.com/groups/opt_out.
On Thursday, November 8, 2012 1:50:41 AM UTC+8, sai kiran mothe wrote:> > If got any error in middle of that.No one will be help you.if you have > internet connection,the rails world is behind you to help out. > > Think about it. > > Thanks, > Saikiran Mothe >I''ll just download the API documentation of the gems and some Rails guide + ebooks, then. If there''s a will there''s a way. I can always play around. Thanks to all who replied "positively" to my question. :D -- 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 To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/5h7OuBIG28wJ. For more options, visit https://groups.google.com/groups/opt_out.
Noted! On Thursday, November 8, 2012 10:01:39 AM UTC+8, Sam Pizzey wrote:> > If you already have the gems required by whatever you''re running, > `bundle install` doesn''t hit the network - so, if you''ve already > generated one app successfully, you can continue to generate/work on > more offline without issue. > > There are ways around this problem if you absolutely must, but in > general it''s expected that you have internet access at least > sometimes. >-- 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 To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/c08z_Qh7kwIJ. For more options, visit https://groups.google.com/groups/opt_out.
Apparently Analagous Threads
- How to Install ruby 1.9.2/1.9.1 and Rails 3.x on Ubuntu
- Can someone simply give all the steps to install ruby and rails on windows7 pls
- trying to create asset management app having trouble with edit page
- Can't create new rails project behind proxy
- ActiveRecord::ConnectionNotEstablished