I have just started using rad rails again after a long stint on netbeans. It seems to generate loads of files like: app/views/group/.tmp_group_summary.rhtml.99932 I want to make git ignore all these .tmp files but my entries in gitignore have so far been of no avail. Anybody give me a suggestion? Cheers George -- 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.
giorgio wrote:> I have just started using rad rails again after a long stint on > netbeans.Why? That''s going from bad to worse. NetBeans: excellent IDE, too heavy for Rails Aptana: less good IDE, *still* too heavy for Rails Just forget about IDEs and use a good editor such as KomodoEdit. Rails doesn''t benefit from the use of an IDE.> > It seems to generate loads of files like: > app/views/group/.tmp_group_summary.rhtml.99932 > > I want to make git ignore all these .tmp files but my entries in > gitignore have so far been of no avail. > > Anybody give me a suggestion?You''ll probably get better answers in a Git forum. This is not a Rails question.> > Cheers > GeorgeBest, -- 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.
I like the IDE approach overall. Netbeans has some nice autocomplete features that really help in writing the code, but then again a simple editor can work well too. For the gitignore, just add a pattern of which files you don''t want included either in the root directory or in the specific directory. Something along the lines of tmp_* Should be a setting in rad rails for the backups as well. Hope this helps. p.s. http://help.github.com/git-ignore/ On Jun 20, 1:44 am, giorgio <george.pever...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I have just started using rad rails again after a long stint on > netbeans. > > It seems to generate loads of files like: > app/views/group/.tmp_group_summary.rhtml.99932 > > I want to make git ignore all these .tmp files but my entries in > gitignore have so far been of no avail. > > Anybody give me a suggestion? > > Cheers > George-- 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.
On 20/06/2010 07:44, giorgio wrote:> I have just started using rad rails again after a long stint on > netbeans. > > It seems to generate loads of files like: > app/views/group/.tmp_group_summary.rhtml.99932 > > I want to make git ignore all these .tmp files but my entries in > gitignore have so far been of no avail. > > Anybody give me a suggestion?<snip> .tmp_* will ignore the file given as an example above - you would just need to ensure that it doesn''t ignore anything you would want to keep as it is a fairly large net :) Rory -- 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.
I have **/*/.tmp* as one line in my gitignore but I still get the files appearing when I do a "git status" so I obviously have got it wrong. Maybe I should just put .tmp* Cheers George PS Thanks for all the advice on ides .... but that wasn''t really the question! On Jun 21, 6:37 am, Rory McKinley <rorymckinleyli...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On 20/06/2010 07:44, giorgio wrote:> I have just started using rad rails again after a long stint on > > netbeans. > > > It seems to generate loads of files like: > > app/views/group/.tmp_group_summary.rhtml.99932 > > > I want to make git ignore all these .tmp files but my entries in > >gitignorehave so far been of no avail. > > > Anybody give me a suggestion? > > <snip> > > .tmp_* will ignore the file given as an example above - you would just > need to ensure that it doesn''t ignore anything you would want to keep as > it is a fairly large net :) > > Rory-- 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.