Andrew Badera
2010-Jun-25 17:35 UTC
[Ironruby-core] igems update --system, [BUG] invalid exec_format "ir", no %s
Hi all, Ruby n00b here. Longtime Windows/.NET guy primarily. Trying to get IronRuby and RoR up and running on Windows 7 x64 with IIS7.5, with .NET 4.0 installed along with the IronRuby 1.0v4 release. Running into the RubyGems igem update --system issue with the response of: [BUG] invalid exec_format "ir", no %s I''ve seen Marcin Obel''s/Kevin Radcliffe''s fix: http://gist.github.com/379763 I''ve tried it, but I still get the error. I''ve put that snippet in an ironruby.rb under ruby\1.8\, ruby\1.8\gems\rubygems\default, site_ruby\1.8\gems\rubygems and site_ruby\1.8\rubygems\defaults, all to no avail. Am I missing something? Doing something obviously wrong? Thanks in advance- --Andy Badera -- Posted via http://www.ruby-forum.com/.
Will Green
2010-Jun-25 18:17 UTC
[Ironruby-core] igems update --system, [BUG] invalid exec_format "ir", no %s
http://hotgazpacho.org/2010/05/ironruby-gem-update-system/ <http://hotgazpacho.org/2010/05/ironruby-gem-update-system/> -- Will Green http://hotgazpacho.org/ On Fri, Jun 25, 2010 at 1:35 PM, Andrew Badera <lists at ruby-forum.com> wrote:> Hi all, Ruby n00b here. Longtime Windows/.NET guy primarily. > > Trying to get IronRuby and RoR up and running on Windows 7 x64 with > IIS7.5, with .NET 4.0 installed along with the IronRuby 1.0v4 release. > > Running into the RubyGems igem update --system issue with the response > of: > > [BUG] invalid exec_format "ir", no %s > > I''ve seen Marcin Obel''s/Kevin Radcliffe''s fix: > > http://gist.github.com/379763 > > I''ve tried it, but I still get the error. I''ve put that snippet in an > ironruby.rb under ruby\1.8\, ruby\1.8\gems\rubygems\default, > site_ruby\1.8\gems\rubygems and site_ruby\1.8\rubygems\defaults, all to > no avail. > > Am I missing something? Doing something obviously wrong? > > Thanks in advance- > --Andy Badera > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100625/0e1bd3b3/attachment-0001.html>
Andrew Badera
2010-Jun-25 18:28 UTC
[Ironruby-core] igems update --system, [BUG] invalid exec_format "ir", no %s
Will Green wrote:> http://hotgazpacho.org/2010/05/ironruby-gem-update-system/ > <http://hotgazpacho.org/2010/05/ironruby-gem-update-system/> > -- > Will Green > http://hotgazpacho.org/Hi Will, I''d tried your version as well, same result. I''ll doublecheck now though ... --ab -- Posted via http://www.ruby-forum.com/.
Andrew Badera
2010-Jun-25 18:33 UTC
[Ironruby-core] igems update --system, [BUG] invalid exec_format "ir", no %s
Andrew Badera wrote:> Will Green wrote: >> http://hotgazpacho.org/2010/05/ironruby-gem-update-system/ >> <http://hotgazpacho.org/2010/05/ironruby-gem-update-system/> >> -- >> Will Green >> http://hotgazpacho.org/ > > > Hi Will, > > I''d tried your version as well, same result. I''ll doublecheck now though > ... > > --abYeah, I put it there, with your code Will, and still had the same result unfortunately. I''m a little curious, IronRuby now ships with .NET 4.0 I believe, which I have installed. Any chance I''m kicking off my explicitly-installed igem but getting the wrong ir down the line? "where ir" seems to point to the right ir.exe ... -- Posted via http://www.ruby-forum.com/.
Will Green
2010-Jun-25 18:52 UTC
[Ironruby-core] igems update --system, [BUG] invalid exec_format "ir", no %s
I don''t use the i-whatever batch files. Untill this fix, I just did ir -S whatever -- Will Green http://hotgazpacho.org/ On Fri, Jun 25, 2010 at 2:33 PM, Andrew Badera <lists at ruby-forum.com> wrote:> Andrew Badera wrote: > > Will Green wrote: > >> http://hotgazpacho.org/2010/05/ironruby-gem-update-system/ > >> <http://hotgazpacho.org/2010/05/ironruby-gem-update-system/> > >> -- > >> Will Green > >> http://hotgazpacho.org/ > > > > > > Hi Will, > > > > I''d tried your version as well, same result. I''ll doublecheck now though > > ... > > > > --ab > > Yeah, I put it there, with your code Will, and still had the same result > unfortunately. > > I''m a little curious, IronRuby now ships with .NET 4.0 I believe, which > I have installed. Any chance I''m kicking off my explicitly-installed > igem but getting the wrong ir down the line? "where ir" seems to point > to the right ir.exe ... > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100625/0e32ee3c/attachment.html>
Andrew Badera
2010-Jun-25 19:07 UTC
[Ironruby-core] igems update --system, [BUG] invalid exec_format "ir", no %s
Will Green wrote:> I don''t use the i-whatever batch files. Untill this fix, I just did > > ir -S whatever > > -- > Will Green > http://hotgazpacho.org/Forgive me for not being super knowledgeable about syntax, but what do I need to pass it as a param for the rubygems package? I''ve downloaded 1.3.7 explicitly, but not sure what context to use ir -S in ... -- Posted via http://www.ruby-forum.com/.
Will Green
2010-Jun-25 19:35 UTC
[Ironruby-core] igems update --system, [BUG] invalid exec_format "ir", no %s
If you put the file I referenced in the correct location, you can then just: ir -S gem update --system After that, the gem and gem.bat files in %IronRubyRoot%\bin get re-written with the correct path to the correct interpreter (as will any scripts installed by ruby gems AFTER this), so from then on, you can just: gem dosomething assuming %IronRubyRoot%\bin is in you path ahead of other Ruby binary directories. I use pik to manage this http://github.com/vertiginous/pik (pik is like rvm for Windows). -- Will Green http://hotgazpacho.org/ On Fri, Jun 25, 2010 at 3:07 PM, Andrew Badera <lists at ruby-forum.com> wrote:> Will Green wrote: > > I don''t use the i-whatever batch files. Untill this fix, I just did > > > > ir -S whatever > > > > -- > > Will Green > > http://hotgazpacho.org/ > > Forgive me for not being super knowledgeable about syntax, but what do I > need to pass it as a param for the rubygems package? I''ve downloaded > 1.3.7 explicitly, but not sure what context to use ir -S in ... > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100625/474024c5/attachment.html>