> > It absolutely does support sftp (through the FTP plugin). Install the > > FTP plugin, open up the file system browser, click the plugins drop > > down, select ftp, and then select "connect to secure ftp server". > > (note, this is from memory, so ymmv a bit) > > It''s never worked for me: I get a "SSHException : authentication has not > been completed." exception. >Just out of interest, what do you guys need this ''sftp support'' for? Are you making changes to live applications on production servers? It seems to me that proper use of source control should make this kind of thing *almost* unnecessary -- Cheers Koz
In article <ef46c93e05080202495d53093d-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>, koziarski- Re5JQEeQqe8AvxtiuMwx3w-XMD5yJDbdMReXY1tMh2IBg@public.gmane.org says...> Just out of interest, what do you guys need this ''sftp support'' for? > Are you making changes to live applications on production servers? > It seems to me that proper use of source control should make this kind > of thing *almost* unnecessaryI use a Windows machine at home which connects remotely to a Linux server where I develop Rails apps... so I need SFTP just to edit the development version of my code. Nothing to do with version control. -- Jay Levitt | Wellesley, MA | I feel calm. I feel ready. I can only Faster: jay at jay dot fm | conclude that''s because I don''t have a http://www.jay.fm | full grasp of the situation. - Mark Adler
We''ve been using WebDrive for a while, great Windows addition which lets you map drives to any WebDAV/SFTP/SCP/SSH host and edit files directly. SIMEN BREKKEN / born to synthesize. Jay Levitt wrote:> In article <ef46c93e05080202495d53093d-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>, koziarski- > Re5JQEeQqe8AvxtiuMwx3w-XMD5yJDbdMReXY1tMh2IBg@public.gmane.org says... > >>Just out of interest, what do you guys need this ''sftp support'' for? >> Are you making changes to live applications on production servers? >>It seems to me that proper use of source control should make this kind >>of thing *almost* unnecessary > > > I use a Windows machine at home which connects remotely to a Linux > server where I develop Rails apps... so I need SFTP just to edit the > development version of my code. Nothing to do with version control. >
That has everything to do with version control. If the svn is properly setup all you do is type svn up ( in your cygwin window, mind you ) and you are back to developing locally with all the advantages you get from it ( better error messages, speed, context of log files ). Having your development environment set up in different places helps the code quality too. You will have to make sure that your toolchain is in good shape and that you keep a close eye on external dependencies. You will be very happy about this on the day where you want to deploy your application to your production server. my 2c CAD> I use a Windows machine at home which connects remotely to a Linux > server where I develop Rails apps... so I need SFTP just to edit the > development version of my code. Nothing to do with version control. > > -- > Jay Levitt | > Wellesley, MA | I feel calm. I feel ready. I can only > Faster: jay at jay dot fm | conclude that''s because I don''t have a > http://www.jay.fm | full grasp of the situation. - Mark Adler > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- Tobi http://www.snowdevil.ca - Snowboards that don''t suck http://typo.leetsoft.com - Open source weblog engine http://blog.leetsoft.com - Technical weblog
> my 2c CADTo which I''ll add my 2cNZD. Tobias is right, version control is about more than just ''undo across editing sessions''. A proper environment based in svn makes it easier to bring on new developers, add a new server, buy a new powerbook etc. etc. The ''config file'' use of sftp mode seems ok, but you''re probably better off learning some vi chops. -- Cheers Koz
In article <ef46c93e0508021228287a6f4a-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>, koziarski- Re5JQEeQqe8AvxtiuMwx3w-XMD5yJDbdMReXY1tMh2IBg@public.gmane.org says...> Tobias is right, version control is about more than just ''undo across > editing sessions''. A proper environment based in svn makes it easier > to bring on new developers, add a new server, buy a new powerbook etc. > etc.So you''re saying it makes more sense to invest the effort to get Rails working on every machine where I might want to do development - my PC desktop, my Mac laptop, etc., including installing cygwin, Apache, Fink, etc., than to edit the files sitting on a dedicated Linux/Apache development server? Keep in mind that, in my environment, all work is done from home; there is no office per-se, and no LAN. We''re all working on our individual, heterogeneous machines. When I want to show a fellow programmer the changes I''ve made, to see if he has comments, I do what? Check them all in, even if they''re only interim changes, so I can sync up the dev server running our internal dev environment? What if I''ve "broken the build"? What if I''m using features that simply aren''t ported to Windows, Mac, etc.? What if he has a change that he can''t get working, and wants me to debug his latest changes? And he''s on a Mac, and I''m on Windows? I''m a big fan of source control for source control. I''m not sold on building practically-bootable images of a developer machine into my svn repository... -- Jay Levitt | Wellesley, MA | I feel calm. I feel ready. I can only Faster: jay at jay dot fm | conclude that''s because I don''t have a http://www.jay.fm | full grasp of the situation. - Mark Adler
On 02/08/05, Michael Koziarski <koziarski-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> To which I''ll add my 2cNZD.+10. Kiwis are everywhere!
> So you''re saying it makes more sense to invest the effort to get Rails > working on every machine where I might want to do development - my PC > desktop, my Mac laptop, etc., including installing cygwin, Apache, Fink, > etc., than to edit the files sitting on a dedicated Linux/Apache > development server?If it''s *your* server, then sure. I see no problem with that, if you have *anyone else* making changes too, then that''s exactly what I''m saying.> Keep in mind that, in my environment, all work is > done from home; there is no office per-se, and no LAN. We''re all > working on our individual, heterogeneous machines.We do the same at textdrive, works fine. Admittedly we''re all running on mac os.> When I want to show a fellow programmer the changes I''ve made, to see if > he has comments, I do what? Check them all in, even if they''re only > interim changes, so I can sync up the dev server running our internal > dev environment? > What if I''ve "broken the build"? What if I''m using > features that simply aren''t ported to Windows, Mac, etc.? What if he > has a change that he can''t get working, and wants me to debug his latest > changes? And he''s on a Mac, and I''m on Windows?Email the patches around, you don''t need to commit. svn diff > patch_to_look_at.diff mail your@buddy < patch_to_look_at.diff> I''m a big fan of source control for source control. I''m not sold on > building practically-bootable images of a developer machine into my svn > repository...Neither am I, but what if you want to add another developer to the project? There''s a happy mean between some kind of linuxfromscratch approach, and shared files without version control. -- Cheers Koz
I am surprised no one has mentioned Eric3 for working in rails. Although it is primarily aimed at Python programmers, Detlev - the main developer, has been adding lots of ruby stuff and since it uses Scintilla as the text editor, it is pretty easy to add highlighting for rhtml. It also supports svn or cvs version control and lots of other features. I use it on my BSD box. Otherwise I use XCode on the mac because Eric in not very stable on the mac. However, it is very stable on Linux, BSD. Might be worth a look ! http://www.die-offenbachs.de/detlev/eric3.html Brian On Aug 2, 2005, at 3:26 PM, Colin Fleming wrote:> On 02/08/05, Michael Koziarski <koziarski-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > >> To which I''ll add my 2cNZD. >> > > +10. > > Kiwis are everywhere! > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails > --- > [This E-mail scanned for viruses by Utahweb] > > >--- [This E-mail scanned for viruses by Utahweb]
It''s been mentioned earlier, but JEdit does syntax highlighting for both ruby and rhtml, and code folding too. And it should run on Win/Linux (though I''ve only used it on Linux). On 8/2/05, Brian Morton <rails-X/bbetz7PncCKpcuo1ySvdBPR1lH4CV8@public.gmane.org> wrote:> I am surprised no one has mentioned Eric3 for working in rails. > Although it is primarily aimed at Python programmers, Detlev - the > main developer, has been adding lots of ruby stuff and since it uses > Scintilla as the text editor, it is pretty easy to add highlighting > for rhtml. It also supports svn or cvs version control and lots of > other features. I use it on my BSD box. > > Otherwise I use XCode on the mac because Eric in not very stable on > the mac. However, it is very stable on Linux, BSD. > > Might be worth a look ! > > http://www.die-offenbachs.de/detlev/eric3.html > > Brian > > > > > > On Aug 2, 2005, at 3:26 PM, Colin Fleming wrote: > > > On 02/08/05, Michael Koziarski <koziarski-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > >> To which I''ll add my 2cNZD. > >> > > > > +10. > > > > Kiwis are everywhere! > > _______________________________________________ > > Rails mailing list > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > --- > > [This E-mail scanned for viruses by Utahweb] > > > > > > > > --- > [This E-mail scanned for viruses by Utahweb] > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- "Impossible is nothing."
Oh, God.> Just out of interest, what do you guys need this ''sftp support'' for?Nice tone. "This" sftp support. How very Frasier, almost as if you''ve never heard of such a thing. "What is ''this'' sftp support of which we''ve been hearing? Balderdash! Niles!?" I love the quotes around ''sftp support'', too. They succinctly convey the implied superior sneer thus marking as truly geekish the attempt to appear as incontestably knowledgable.> Are you making changes to live applications on production servers?NO! You wouldn''t be doing THAT would you? Uh, yeah, sometimes. Sometimes I drive over the speed limit, too. I know. I''m bad. I use Subversion for many projects, but not everything. Yes, yes, all the Dave Thomas disciples on the list just read this and instantly formed 2^20 finger-wagging responses they were prevented from typing because they were caught mid-heart attack brought on by self-righteous shock, but not every single thing I do in an editor needs a freaking repository.> It seems to me that proper use of source control should make this kind > of thing *almost* unnecessaryAgain, as though uttered by an English gentleman pronouncing a passing judgement through his handlebar mustache just before he cuts into his rare beefsteak. Go ahead, try it yourself with a high-class English accent, followed with a pause and then, "Anyway, there''ve been troubling reports that the natives have been acting up. I say, what *is* the world coming to?" Subversion is a tool, not a process in itself. SFTP support in an editor -- it''s a *good* thing. -- Martha Stewart
In article <ef46c93e050802143572453637-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>, koziarski- Re5JQEeQqe8AvxtiuMwx3w-XMD5yJDbdMReXY1tMh2IBg@public.gmane.org says...> > So you''re saying it makes more sense to invest the effort to get Rails > > working on every machine where I might want to do development - my PC > > desktop, my Mac laptop, etc., including installing cygwin, Apache, Fink, > > etc., than to edit the files sitting on a dedicated Linux/Apache > > development server? > > If it''s *your* server, then sure. I see no problem with that, if you > have *anyone else* making changes too, then that''s exactly what I''m > saying.Yes. My server, solitary piece of development-only hardware devoted to supporting my project, web-accessible so we can test our changes in as broad or narrow an environment as we want.> > > Keep in mind that, in my environment, all work is > > done from home; there is no office per-se, and no LAN. We''re all > > working on our individual, heterogeneous machines. > > We do the same at textdrive, works fine. Admittedly we''re all > running on mac os.Yeah, that might make things a little easier, methinks :)> > When I want to show a fellow programmer the changes I''ve made, to see if > > he has comments, I do what? Check them all in, even if they''re only > > interim changes, so I can sync up the dev server running our internal > > dev environment? > > What if I''ve "broken the build"? What if I''m using > > features that simply aren''t ported to Windows, Mac, etc.? What if he > > has a change that he can''t get working, and wants me to debug his latest > > changes? And he''s on a Mac, and I''m on Windows? > > > Email the patches around, you don''t need to commit.OK, but what if his change only causes problems on his Mac, and not my Windows setup? Then we have to go debug the environment.> Neither am I, but what if you want to add another developer to the > project? There''s a happy mean between some kind of linuxfromscratch > approach, and shared files without version control.I''m not talking about shared files at all - once we actually get to the point of generating source, it''ll all be in a repository. But the sandboxes will all still be on this Linux server, so that we don''t have to maintain a development environment on each platform used by a developer. In fact, it''s a lot easier to add a developer if all we have to do is get him SFTP access than if we have to recreate the entire toolchain. -- Jay Levitt | Wellesley, MA | I feel calm. I feel ready. I can only Faster: jay at jay dot fm | conclude that''s because I don''t have a http://www.jay.fm | full grasp of the situation. - Mark Adler
On 8/3/05, Greg McClure <gmcclure-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Oh, God.Clearly email is not the most effective channel for conveying one''s intentions. You''ve clearly read much more malcontent into my email than was intended. I personally couldn''t see a use case for sftp, so I asked. The vitriol in your email is unmistakable & unnecessary it completely undermines your argument and makes you look like a fool. -- Cheers Koz
> Yes. My server, solitary piece of development-only hardware devoted to > supporting my project, web-accessible so we can test our changes in as > broad or narrow an environment as we want.OK, it sounds a lot riskier than what I''d like, but hey, whatever floats your boat. You''ve got no locking or anything, NFS or SMB drive mounts would help with that. -- Cheers Koz
In article <ef46c93e05080219002acd2304-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>, koziarski- Re5JQEeQqe8AvxtiuMwx3w-XMD5yJDbdMReXY1tMh2IBg@public.gmane.org says...> OK, it sounds a lot riskier than what I''d like, but hey, whatever > floats your boat. You''ve got no locking or anything, NFS or SMB drive > mounts would help with that.Only one person edits any given file - each dev has their own separate rails app running. No locking required. We''ll use svn to merge these into the overall development system, once we get that far. -- Jay Levitt | Wellesley, MA | I feel calm. I feel ready. I can only Faster: jay at jay dot fm | conclude that''s because I don''t have a http://www.jay.fm | full grasp of the situation. - Mark Adler
On Aug 2, 2005, at 8:17 PM, Greg McClure wrote:> Oh, God. > >> Just out of interest, what do you guys need this ''sftp support'' for? > > Nice tone. "This" sftp support. How very Frasier, almost as if you''ve > never heard of such a thing. "What is ''this'' sftp support of which > we''ve been hearing? Balderdash! Niles!?" I love the quotes around > ''sftp support'', too. They succinctly convey the implied superior sneer > thus marking as truly geekish the attempt to appear as incontestably > knowledgable.Dude, unplug and have some coffee. And stop watching TV. Seriously.
On 8/3/05, Jay Levitt <jay-news-WxwZQdyI2t0@public.gmane.org> wrote:> In article <ef46c93e05080219002acd2304-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>, koziarski- > Re5JQEeQqe8AvxtiuMwx3w-XMD5yJDbdMReXY1tMh2IBg@public.gmane.org says... > > OK, it sounds a lot riskier than what I''d like, but hey, whatever > > floats your boat. You''ve got no locking or anything, NFS or SMB drive > > mounts would help with that. > > Only one person edits any given file - each dev has their own separate > rails app running. No locking required. We''ll use svn to merge these > into the overall development system, once we get that far.Right, so we''re on the same page completely ;). You''re just editing over sftp, rather than local disk. But you''re not all going mad editing the same file, or changing the same running application. -- Cheers Koz
In article <ef46c93e0508022002229536a2-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>, koziarski- Re5JQEeQqe8AvxtiuMwx3w-XMD5yJDbdMReXY1tMh2IBg@public.gmane.org says...> Right, so we''re on the same page completely ;). You''re just editing > over sftp, rather than local disk. But you''re not all going mad > editing the same file, or changing the same running application.Yes, absolutely - I guess we''re violently agreeing :) So now, ArachnoRuby, FreeRide, etc., can go add SFTP support, secure in the knowledge that I won''t be abusing it... -- Jay Levitt | Wellesley, MA | I feel calm. I feel ready. I can only Faster: jay at jay dot fm | conclude that''s because I don''t have a http://www.jay.fm | full grasp of the situation. - Mark Adler