The files checked out of SVN come out without the ability to be executed. So, I can''t run the samples without prefixing with ''ruby '' Before, the file associations allowed me to run samples just by putting the name on the command line. Can we fix this? Roy
Roy Sutton wrote:> The files checked out of SVN come out without the ability to be > executed. So, I can''t run the samples without prefixing with ''ruby '' > Before, the file associations allowed me to run samples just by putting > the name on the command line. Can we fix this?I don''t have this problem (running Win XP). As long as the file ends in .rb it should be fine--SVN shouldn''t affect it at all. --Mark
Mark Ping wrote:> Roy Sutton wrote: > >> The files checked out of SVN come out without the ability to be >> executed. So, I can''t run the samples without prefixing with ''ruby '' >> Before, the file associations allowed me to run samples just by putting >> the name on the command line. Can we fix this? >> > I don''t have this problem (running Win XP). As long as the file ends in > .rb it should be fine--SVN shouldn''t affect it at all. >Checking the file''s security settings it''s marked as not executable for my user. It''s SVN doing this, somehow. So you''re saying in the executable directory you can type ''ShapedWindow.rbw'' and press enter and not get ''Access is denied.''? bigdemo.rb works for me, just not the others in that directory, including run.rb I -think- Daniel has the right idea. I don''t have write access to SVN though. Roy
Roy Sutton wrote:> Mark Ping wrote: > >> Roy Sutton wrote: >> >> >>> The files checked out of SVN come out without the ability to be >>> executed. So, I can''t run the samples without prefixing with ''ruby '' >>> Before, the file associations allowed me to run samples just by putting >>> the name on the command line. Can we fix this? >>> >>> >> I don''t have this problem (running Win XP). As long as the file ends in >> .rb it should be fine--SVN shouldn''t affect it at all. >> >> > Checking the file''s security settings it''s marked as not executable for > my user. It''s SVN doing this, somehow. So you''re saying in the > executable directory you can type ''ShapedWindow.rbw'' and press enter and > not get ''Access is denied.''? bigdemo.rb works for me, just not the > others in that directory, including run.rbYes, I can execute just fine--but I''m running on Windows (which I thought you were as well). On a *nix system, it does probably need the svn flag set. --Marm -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/wxruby-users/attachments/20060919/5ad6e5bd/attachment.html
Mark Ping wrote:> Yes, I can execute just fine--but I''m running on Windows (which I > thought you were as well). On a *nix system, it does probably need > the svn flag set. >Odd. I am running on Windows XP. Best to set the flag anyhow, I suppose. Roy
Daniel F. Savarese wrote:> Assuming I understand the problem correctly, this should do the trick: > svn propset svn:executable '''' filename >Yep, this seems to do it on OS X. Surprised it affects Windows, but will correct in SVN. alex
Roy Sutton wrote:> The files checked out of SVN come out without the ability to be > executed. So, I can''t run the samples without prefixing with ''ruby '' > Before, the file associations allowed me to run samples just by putting > the name on the command line. Can we fix this? >All samples files should have the svn:executable property set now. alex