Hi, I''m sure this is another case of PEBKAC but I''ve been looking in the code and I think that''s how it''s supposed to work. When I want to use -X:ILDebug or -X:SaveAssemblies I assume the rbx command also expects the -X:AssembliesDir argument, is that correct? Which brings me to my next point: When I want to execute ? rbx -X:AssembliesDir C:\projects\temp\ir_test test.rb mscorlib:0:in `CanonicalizePath'': The given path''s format is not supported. (System::NotSupportedException) from mscorlib:0:in `CreateListFromExpressions'' from mscorlib:0:in `AddPathList'' from mscorlib:0:in `.ctor'' from mscorlib:0:in `Init'' from mscorlib:0:in `.ctor''+ C:\projects\temp\ir_test -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/ironruby-core/attachments/20080314/e3973958/attachment.html
Ooops.. I hit tab-enter.. sorry for that. ---------- Forwarded message ---------- From: Ivan Porto Carrero <ivan at flanders.co.nz> Date: Fri, Mar 14, 2008 at 10:50 AM Subject: On Console options To: ironruby-core at rubyforge.org Hi, I''m sure this is another case of PEBKAC but I''ve been looking in the code and I think that''s how it''s supposed to work. When I want to use -X:ILDebug or -X:SaveAssemblies I assume the rbx command also expects the -X:AssembliesDir argument, is that correct? Which brings me to my next point: When I want to execute ? rbx -X:AssembliesDir C:\projects\temp\ir_test test.rb mscorlib:0:in `CanonicalizePath'': The given path''s format is not supported. (System::NotSupportedException) from mscorlib:0:in `CreateListFromExpressions'' from mscorlib:0:in `AddPathList'' from mscorlib:0:in `.ctor'' from mscorlib:0:in `Init'' from mscorlib:0:in `.ctor'' Is that not how I''m supposed to execute the test.rb file when I want to use the save assemblies or ILDebug? Thanks Ivan -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/ironruby-core/attachments/20080314/96cda6c7/attachment.html
Don''t do it from PowerShell :) You also have to pass in -X:SaveAssemblies... On Thu, Mar 13, 2008 at 5:58 PM, Ivan Porto Carrero <ivan at flanders.co.nz> wrote:> Ooops.. I hit tab-enter.. sorry for that. > > > > ---------- Forwarded message ---------- > From: Ivan Porto Carrero <ivan at flanders.co.nz> > Date: Fri, Mar 14, 2008 at 10:50 AM > Subject: On Console options > To: ironruby-core at rubyforge.org > > > Hi, > > I''m sure this is another case of PEBKAC but I''ve been looking in the code > and I think that''s how it''s supposed to work. > When I want to use -X:ILDebug or -X:SaveAssemblies I assume the rbx command > also expects the -X:AssembliesDir argument, is that correct? > > Which brings me to my next point: > When I want to execute > ? rbx -X:AssembliesDir C:\projects\temp\ir_test test.rb > mscorlib:0:in `CanonicalizePath'': The given path''s format is not > supported. (System::NotSupportedException) > from mscorlib:0:in `CreateListFromExpressions'' > from mscorlib:0:in `AddPathList'' > from mscorlib:0:in `.ctor'' > from mscorlib:0:in `Init'' > from mscorlib:0:in `.ctor'' > > Is that not how I''m supposed to execute the test.rb file when I want to use > the save assemblies or ILDebug? > > Thanks > Ivan > > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > >-- Michael Letterle [Polymath Prokrammer] http://blog.prokrams.com
> Don''t do it from PowerShell :) You also have to pass in -X:SaveAssemblies...:) You can actually still use rbx from powershell, simply wrap the -X switches in quotes: .\rbx ''-X:AssembliesDir'' ''C:\'' test.rb -- Tomas Restrepo http://www.winterdom.com/weblog/
Ah, I had only tried wrapping the path in quotes, not the option itself... That''s weird, do you know why off hand? On Fri, Mar 14, 2008 at 8:50 AM, Tomas Restrepo <tomas at winterdom.com> wrote:> > Don''t do it from PowerShell :) You also have to pass in -X:SaveAssemblies... > > :) > > You can actually still use rbx from powershell, simply wrap the -X > switches in quotes: > > .\rbx ''-X:AssembliesDir'' ''C:\'' test.rb > > -- > Tomas Restrepo > http://www.winterdom.com/weblog/ > > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core >-- Michael Letterle [Polymath Prokrammer] http://blog.prokrams.com