While trying to install DataMapper from source, I ran into a few additional issues. I can create cases if they are legit, but I suspect I''m just missing something. When I tried to install dm-more, I received an error stating I didn''t have bundler installed. When I tried installing bundler, I couldn''t because it requires RubyGems 1.3.6. When I tried executing `ir -S gem update --system`, I received the following: C:\Users\ryan>ir -S gem update --system Updating RubyGems Updating rubygems-update Successfully installed rubygems-update-1.3.6 Updating RubyGems to 1.3.6 Installing RubyGems 1.3.6 ERROR: While executing gem ... (Gem::Exception) [BUG] invalid exec_format "ir", no %s Is IronRuby telling me it has a known bug, or is this something else? Can I upgrade to RubyGems 1.3.6? Can I install Bundler? Thanks, Ryan Riley Email: ryan.riley at panesofglass.org LinkedIn: http://www.linkedin.com/in/ryanriley Blog: http://wizardsofsmart.net/ Twitter: @panesofglass Website: http://panesofglass.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100422/84369792/attachment.html>
This is a bug in RubyGems. It seems that we can get around it by providing lib/rubygems/ironruby.rb file: http://rubyforge.org/tracker/index.php?func=detail&aid=27995&group_id=126&atid=575 Tomas From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Ryan Riley Sent: Thursday, April 22, 2010 10:07 PM To: ironruby-core at rubyforge.org Subject: [Ironruby-core] RubyGems 1.3.6, Bundler, etc. While trying to install DataMapper from source, I ran into a few additional issues. I can create cases if they are legit, but I suspect I''m just missing something. When I tried to install dm-more, I received an error stating I didn''t have bundler installed. When I tried installing bundler, I couldn''t because it requires RubyGems 1.3.6. When I tried executing `ir -S gem update --system`, I received the following: C:\Users\ryan>ir -S gem update --system Updating RubyGems Updating rubygems-update Successfully installed rubygems-update-1.3.6 Updating RubyGems to 1.3.6 Installing RubyGems 1.3.6 ERROR: While executing gem ... (Gem::Exception) [BUG] invalid exec_format "ir", no %s Is IronRuby telling me it has a known bug, or is this something else? Can I upgrade to RubyGems 1.3.6? Can I install Bundler? Thanks, Ryan Riley Email: ryan.riley at panesofglass.org<mailto:ryan.riley at panesofglass.org> LinkedIn: http://www.linkedin.com/in/ryanriley Blog: http://wizardsofsmart.net/ Twitter: @panesofglass Website: http://panesofglass.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100423/ae563031/attachment.html>
Where exactly does the #{RUBY_ENGINE}.rb file go? I am having a hard time finding the location. I changed the impl. of default_exec_format and was able to update RubyGems. However, I think adding the ruby engine file is a better way to go. Ryan Riley On Thu, Apr 22, 2010 at 11:39 PM, Tomas Matousek < Tomas.Matousek at microsoft.com> wrote:> This is a bug in RubyGems. It seems that we can get around it by providing lib/rubygems/ironruby.rb file: > > > > > http://rubyforge.org/tracker/index.php?func=detail&aid=27995&group_id=126&atid=575 > > > > Tomas > > > > *From:* ironruby-core-bounces at rubyforge.org [mailto: > ironruby-core-bounces at rubyforge.org] *On Behalf Of *Ryan Riley > *Sent:* Thursday, April 22, 2010 10:07 PM > > *To:* ironruby-core at rubyforge.org > *Subject:* [Ironruby-core] RubyGems 1.3.6, Bundler, etc. > > > > While trying to install DataMapper from source, I ran into a few additional > issues. I can create cases if they are legit, but I suspect I''m just missing > something. When I tried to install dm-more, I received an error stating I > didn''t have bundler installed. When I tried installing bundler, I couldn''t > because it requires RubyGems 1.3.6. When I tried executing `ir -S gem update > --system`, I received the following: > > > > C:\Users\ryan>ir -S gem update --system > > Updating RubyGems > > Updating rubygems-update > > Successfully installed rubygems-update-1.3.6 > > Updating RubyGems to 1.3.6 > > Installing RubyGems 1.3.6 > > ERROR: While executing gem ... (Gem::Exception) > > [BUG] invalid exec_format "ir", no %s > > > > Is IronRuby telling me it has a known bug, or is this something else? Can I > upgrade to RubyGems 1.3.6? Can I install Bundler? > > > > Thanks, > > > Ryan Riley > > Email: ryan.riley at panesofglass.org > LinkedIn: http://www.linkedin.com/in/ryanriley > Blog: http://wizardsofsmart.net/ > Twitter: @panesofglass > Website: http://panesofglass.org/ > > _______________________________________________ > 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/20100424/0355c0bc/attachment.html>
This is the comment we got from Eric (RubyGems maintainer). JD>Comment By: Eric Hodel (drbrain)Date: 2010-04-20 20:47 Message: rubygems/defaults/ironruby.rb would go in RbConfig::CONFIG[''rubylibdir''] (not in RuybGems) so it should be picked up even by setup.rb From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Ryan Riley Sent: Saturday, April 24, 2010 11:33 AM To: ironruby-core at rubyforge.org Subject: Re: [Ironruby-core] RubyGems 1.3.6, Bundler, etc. Where exactly does the #{RUBY_ENGINE}.rb file go? I am having a hard time finding the location. I changed the impl. of default_exec_format and was able to update RubyGems. However, I think adding the ruby engine file is a better way to go. Ryan Riley On Thu, Apr 22, 2010 at 11:39 PM, Tomas Matousek <Tomas.Matousek at microsoft.com<mailto:Tomas.Matousek at microsoft.com>> wrote: This is a bug in RubyGems. It seems that we can get around it by providing lib/rubygems/ironruby.rb file: http://rubyforge.org/tracker/index.php?func=detail&aid=27995&group_id=126&atid=575 Tomas From: ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org> [mailto:ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org>] On Behalf Of Ryan Riley Sent: Thursday, April 22, 2010 10:07 PM To: ironruby-core at rubyforge.org<mailto:ironruby-core at rubyforge.org> Subject: [Ironruby-core] RubyGems 1.3.6, Bundler, etc. While trying to install DataMapper from source, I ran into a few additional issues. I can create cases if they are legit, but I suspect I''m just missing something. When I tried to install dm-more, I received an error stating I didn''t have bundler installed. When I tried installing bundler, I couldn''t because it requires RubyGems 1.3.6. When I tried executing `ir -S gem update --system`, I received the following: C:\Users\ryan>ir -S gem update --system Updating RubyGems Updating rubygems-update Successfully installed rubygems-update-1.3.6 Updating RubyGems to 1.3.6 Installing RubyGems 1.3.6 ERROR: While executing gem ... (Gem::Exception) [BUG] invalid exec_format "ir", no %s Is IronRuby telling me it has a known bug, or is this something else? Can I upgrade to RubyGems 1.3.6? Can I install Bundler? Thanks, Ryan Riley Email: ryan.riley at panesofglass.org<mailto:ryan.riley at panesofglass.org> LinkedIn: http://www.linkedin.com/in/ryanriley Blog: http://wizardsofsmart.net/ Twitter: @panesofglass Website: http://panesofglass.org/ _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org<mailto: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/20100426/053a4354/attachment-0001.html>
Confirming, that it seems to work properly for me: C:\IronRuby1.0_V4>ir IronRuby 1.0.0.0 on .NET 4.0.30319.1 Copyright (c) Microsoft Corporation. All rights reserved.>>> require ''rubygems''=> true>>> RbConfig::CONFIG[''rubylibdir'']=> "C:/IronRuby1.0_V4/lib/ruby/1.8" # <-- Sounds like it should go here. I then created an ironruby.rb in: C:\IronRuby1.0_V4\Lib\ruby\1.8\rubygems\defaults my ironruby.rb just commented out the "unless" block. after that, "igem update --system" just worked., as did the install of the bundler gem. Was there a version of ironruby.rb attached somewhere earlier with all of the appropriate overrides? - I just guessed. Thanks Best Regards, Kevin Radcliffe On Mon, Apr 26, 2010 at 11:41 AM, Jim Deville <jdeville at microsoft.com>wrote:> This is the comment we got from Eric (RubyGems maintainer). > > > > JD > > > > >Comment By: Eric Hodel (drbrain) > Date: 2010-04-20 20:47 > > Message: > rubygems/defaults/ironruby.rb would go in RbConfig::CONFIG[''rubylibdir''] > (not in RuybGems) so it should be picked up even by setup.rb > > > > *From:* ironruby-core-bounces at rubyforge.org [mailto: > ironruby-core-bounces at rubyforge.org] *On Behalf Of *Ryan Riley > *Sent:* Saturday, April 24, 2010 11:33 AM > > *To:* ironruby-core at rubyforge.org > *Subject:* Re: [Ironruby-core] RubyGems 1.3.6, Bundler, etc. > > > > Where exactly does the #{RUBY_ENGINE}.rb file go? I am having a hard time > finding the location. I changed the impl. of default_exec_format and was > able to update RubyGems. However, I think adding the ruby engine file is a > better way to go. > > > Ryan Riley > > > On Thu, Apr 22, 2010 at 11:39 PM, Tomas Matousek < > Tomas.Matousek at microsoft.com> wrote: > > This is a bug in RubyGems. It seems that we can get around it by providing lib/rubygems/ironruby.rb file: > > > > > http://rubyforge.org/tracker/index.php?func=detail&aid=27995&group_id=126&atid=575 > > > > Tomas > > > > *From:* ironruby-core-bounces at rubyforge.org [mailto: > ironruby-core-bounces at rubyforge.org] *On Behalf Of *Ryan Riley > *Sent:* Thursday, April 22, 2010 10:07 PM > > > *To:* ironruby-core at rubyforge.org > > *Subject:* [Ironruby-core] RubyGems 1.3.6, Bundler, etc. > > > > While trying to install DataMapper from source, I ran into a few additional > issues. I can create cases if they are legit, but I suspect I''m just missing > something. When I tried to install dm-more, I received an error stating I > didn''t have bundler installed. When I tried installing bundler, I couldn''t > because it requires RubyGems 1.3.6. When I tried executing `ir -S gem update > --system`, I received the following: > > > > C:\Users\ryan>ir -S gem update --system > > Updating RubyGems > > Updating rubygems-update > > Successfully installed rubygems-update-1.3.6 > > Updating RubyGems to 1.3.6 > > Installing RubyGems 1.3.6 > > ERROR: While executing gem ... (Gem::Exception) > > [BUG] invalid exec_format "ir", no %s > > > > Is IronRuby telling me it has a known bug, or is this something else? Can I > upgrade to RubyGems 1.3.6? Can I install Bundler? > > > > Thanks, > > > Ryan Riley > > Email: ryan.riley at panesofglass.org > LinkedIn: http://www.linkedin.com/in/ryanriley > Blog: http://wizardsofsmart.net/ > Twitter: @panesofglass > Website: http://panesofglass.org/ > > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > > > > _______________________________________________ > 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/20100426/14e296a1/attachment.html>
My own ironruby.rb: http://gist.github.com/379763 <http://gist.github.com/379763>Thanks - Kevin On Mon, Apr 26, 2010 at 1:23 PM, Kevin Radcliffe <kevin.radcliffe at gmail.com>wrote:> Confirming, that it seems to work properly for me: > > C:\IronRuby1.0_V4>ir > IronRuby 1.0.0.0 on .NET 4.0.30319.1 Copyright (c) Microsoft Corporation. > All rights reserved. > >>> require ''rubygems'' > => true > >>> RbConfig::CONFIG[''rubylibdir''] > => "C:/IronRuby1.0_V4/lib/ruby/1.8" # <-- Sounds like it should go here. > > I then created an ironruby.rb > in: C:\IronRuby1.0_V4\Lib\ruby\1.8\rubygems\defaults > my ironruby.rb just commented out the "unless" block. > after that, "igem update --system" just worked., as did the install of the > bundler gem. > > Was there a version of ironruby.rb attached somewhere earlier with all of > the appropriate overrides? - I just guessed. > Thanks > Best Regards, > Kevin Radcliffe > > On Mon, Apr 26, 2010 at 11:41 AM, Jim Deville <jdeville at microsoft.com>wrote: > >> This is the comment we got from Eric (RubyGems maintainer). >> >> >> >> JD >> >> >> >> >Comment By: Eric Hodel (drbrain) >> Date: 2010-04-20 20:47 >> >> Message: >> rubygems/defaults/ironruby.rb would go in RbConfig::CONFIG[''rubylibdir''] >> (not in RuybGems) so it should be picked up even by setup.rb >> >> >> >> *From:* ironruby-core-bounces at rubyforge.org [mailto: >> ironruby-core-bounces at rubyforge.org] *On Behalf Of *Ryan Riley >> *Sent:* Saturday, April 24, 2010 11:33 AM >> >> *To:* ironruby-core at rubyforge.org >> *Subject:* Re: [Ironruby-core] RubyGems 1.3.6, Bundler, etc. >> >> >> >> Where exactly does the #{RUBY_ENGINE}.rb file go? I am having a hard time >> finding the location. I changed the impl. of default_exec_format and was >> able to update RubyGems. However, I think adding the ruby engine file is a >> better way to go. >> >> >> Ryan Riley >> >> >> On Thu, Apr 22, 2010 at 11:39 PM, Tomas Matousek < >> Tomas.Matousek at microsoft.com> wrote: >> >> This is a bug in RubyGems. It seems that we can get around it by providing lib/rubygems/ironruby.rb file: >> >> >> >> >> http://rubyforge.org/tracker/index.php?func=detail&aid=27995&group_id=126&atid=575 >> >> >> >> Tomas >> >> >> >> *From:* ironruby-core-bounces at rubyforge.org [mailto: >> ironruby-core-bounces at rubyforge.org] *On Behalf Of *Ryan Riley >> *Sent:* Thursday, April 22, 2010 10:07 PM >> >> >> *To:* ironruby-core at rubyforge.org >> >> *Subject:* [Ironruby-core] RubyGems 1.3.6, Bundler, etc. >> >> >> >> While trying to install DataMapper from source, I ran into a few >> additional issues. I can create cases if they are legit, but I suspect I''m >> just missing something. When I tried to install dm-more, I received an error >> stating I didn''t have bundler installed. When I tried installing bundler, I >> couldn''t because it requires RubyGems 1.3.6. When I tried executing `ir -S >> gem update --system`, I received the following: >> >> >> >> C:\Users\ryan>ir -S gem update --system >> >> Updating RubyGems >> >> Updating rubygems-update >> >> Successfully installed rubygems-update-1.3.6 >> >> Updating RubyGems to 1.3.6 >> >> Installing RubyGems 1.3.6 >> >> ERROR: While executing gem ... (Gem::Exception) >> >> [BUG] invalid exec_format "ir", no %s >> >> >> >> Is IronRuby telling me it has a known bug, or is this something else? Can >> I upgrade to RubyGems 1.3.6? Can I install Bundler? >> >> >> >> Thanks, >> >> >> Ryan Riley >> >> Email: ryan.riley at panesofglass.org >> LinkedIn: http://www.linkedin.com/in/ryanriley >> Blog: http://wizardsofsmart.net/ >> Twitter: @panesofglass >> Website: http://panesofglass.org/ >> >> >> _______________________________________________ >> Ironruby-core mailing list >> Ironruby-core at rubyforge.org >> http://rubyforge.org/mailman/listinfo/ironruby-core >> >> >> >> _______________________________________________ >> 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/20100426/b054d4cf/attachment.html>
Can we take this as a patch? Have you signed an agreement? ________________________________ From: Kevin Radcliffe <kevin.radcliffe at gmail.com> Sent: Monday, April 26, 2010 12:26 PM To: ironruby-core at rubyforge.org <ironruby-core at rubyforge.org> Subject: Re: [Ironruby-core] RubyGems 1.3.6, Bundler, etc. My own ironruby.rb: http://gist.github.com/379763 <http://gist.github.com/379763>Thanks - Kevin On Mon, Apr 26, 2010 at 1:23 PM, Kevin Radcliffe <kevin.radcliffe at gmail.com<mailto:kevin.radcliffe at gmail.com>> wrote: Confirming, that it seems to work properly for me: C:\IronRuby1.0_V4>ir IronRuby 1.0.0.0 on .NET 4.0.30319.1 Copyright (c) Microsoft Corporation. All rights reserved.>>> require ''rubygems''=> true>>> RbConfig::CONFIG[''rubylibdir'']=> "C:/IronRuby1.0_V4/lib/ruby/1.8" # <-- Sounds like it should go here. I then created an ironruby.rb in: C:\IronRuby1.0_V4\Lib\ruby\1.8\rubygems\defaults my ironruby.rb just commented out the "unless" block. after that, "igem update --system" just worked., as did the install of the bundler gem. Was there a version of ironruby.rb attached somewhere earlier with all of the appropriate overrides? - I just guessed. Thanks Best Regards, Kevin Radcliffe On Mon, Apr 26, 2010 at 11:41 AM, Jim Deville <jdeville at microsoft.com<mailto:jdeville at microsoft.com>> wrote: This is the comment we got from Eric (RubyGems maintainer). JD>Comment By: Eric Hodel (drbrain)Date: 2010-04-20 20:47 Message: rubygems/defaults/ironruby.rb would go in RbConfig::CONFIG[''rubylibdir''] (not in RuybGems) so it should be picked up even by setup.rb From: ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org> [mailto:ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org>] On Behalf Of Ryan Riley Sent: Saturday, April 24, 2010 11:33 AM To: ironruby-core at rubyforge.org<mailto:ironruby-core at rubyforge.org> Subject: Re: [Ironruby-core] RubyGems 1.3.6, Bundler, etc. Where exactly does the #{RUBY_ENGINE}.rb file go? I am having a hard time finding the location. I changed the impl. of default_exec_format and was able to update RubyGems. However, I think adding the ruby engine file is a better way to go. Ryan Riley On Thu, Apr 22, 2010 at 11:39 PM, Tomas Matousek <Tomas.Matousek at microsoft.com<mailto:Tomas.Matousek at microsoft.com>> wrote: This is a bug in RubyGems. It seems that we can get around it by providing lib/rubygems/ironruby.rb file: http://rubyforge.org/tracker/index.php?func=detail&aid=27995&group_id=126&atid=575 Tomas From: ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org> [mailto:ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org>] On Behalf Of Ryan Riley Sent: Thursday, April 22, 2010 10:07 PM To: ironruby-core at rubyforge.org<mailto:ironruby-core at rubyforge.org> Subject: [Ironruby-core] RubyGems 1.3.6, Bundler, etc. While trying to install DataMapper from source, I ran into a few additional issues. I can create cases if they are legit, but I suspect I''m just missing something. When I tried to install dm-more, I received an error stating I didn''t have bundler installed. When I tried installing bundler, I couldn''t because it requires RubyGems 1.3.6. When I tried executing `ir -S gem update --system`, I received the following: C:\Users\ryan>ir -S gem update --system Updating RubyGems Updating rubygems-update Successfully installed rubygems-update-1.3.6 Updating RubyGems to 1.3.6 Installing RubyGems 1.3.6 ERROR: While executing gem ... (Gem::Exception) [BUG] invalid exec_format "ir", no %s Is IronRuby telling me it has a known bug, or is this something else? Can I upgrade to RubyGems 1.3.6? Can I install Bundler? Thanks, Ryan Riley Email: ryan.riley at panesofglass.org<mailto:ryan.riley at panesofglass.org> LinkedIn: http://www.linkedin.com/in/ryanriley Blog: http://wizardsofsmart.net/ Twitter: @panesofglass Website: http://panesofglass.org/ _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org> http://rubyforge.org/mailman/listinfo/ironruby-core _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org<mailto: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/20100426/9d6950ad/attachment-0001.html>
Why not just return "i%s" ? Tomas From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Jim Deville Sent: Monday, April 26, 2010 1:54 PM To: ironruby-core at rubyforge.org Subject: Re: [Ironruby-core] RubyGems 1.3.6, Bundler, etc. Can we take this as a patch? Have you signed an agreement? ________________________________ From: Kevin Radcliffe <kevin.radcliffe at gmail.com> Sent: Monday, April 26, 2010 12:26 PM To: ironruby-core at rubyforge.org <ironruby-core at rubyforge.org> Subject: Re: [Ironruby-core] RubyGems 1.3.6, Bundler, etc. My own ironruby.rb: http://gist.github.com/379763 Thanks - Kevin On Mon, Apr 26, 2010 at 1:23 PM, Kevin Radcliffe <kevin.radcliffe at gmail.com<mailto:kevin.radcliffe at gmail.com>> wrote: Confirming, that it seems to work properly for me: C:\IronRuby1.0_V4>ir IronRuby 1.0.0.0 on .NET 4.0.30319.1 Copyright (c) Microsoft Corporation. All rights reserved.>>> require ''rubygems''=> true>>> RbConfig::CONFIG[''rubylibdir'']=> "C:/IronRuby1.0_V4/lib/ruby/1.8" # <-- Sounds like it should go here. I then created an ironruby.rb in: C:\IronRuby1.0_V4\Lib\ruby\1.8\rubygems\defaults my ironruby.rb just commented out the "unless" block. after that, "igem update --system" just worked., as did the install of the bundler gem. Was there a version of ironruby.rb attached somewhere earlier with all of the appropriate overrides? - I just guessed. Thanks Best Regards, Kevin Radcliffe On Mon, Apr 26, 2010 at 11:41 AM, Jim Deville <jdeville at microsoft.com<mailto:jdeville at microsoft.com>> wrote: This is the comment we got from Eric (RubyGems maintainer). JD>Comment By: Eric Hodel (drbrain)Date: 2010-04-20 20:47 Message: rubygems/defaults/ironruby.rb would go in RbConfig::CONFIG[''rubylibdir''] (not in RuybGems) so it should be picked up even by setup.rb From: ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org> [mailto:ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org>] On Behalf Of Ryan Riley Sent: Saturday, April 24, 2010 11:33 AM To: ironruby-core at rubyforge.org<mailto:ironruby-core at rubyforge.org> Subject: Re: [Ironruby-core] RubyGems 1.3.6, Bundler, etc. Where exactly does the #{RUBY_ENGINE}.rb file go? I am having a hard time finding the location. I changed the impl. of default_exec_format and was able to update RubyGems. However, I think adding the ruby engine file is a better way to go. Ryan Riley On Thu, Apr 22, 2010 at 11:39 PM, Tomas Matousek <Tomas.Matousek at microsoft.com<mailto:Tomas.Matousek at microsoft.com>> wrote: This is a bug in RubyGems. It seems that we can get around it by providing lib/rubygems/ironruby.rb file: http://rubyforge.org/tracker/index.php?func=detail&aid=27995&group_id=126&atid=575 Tomas From: ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org> [mailto:ironruby-core-bounces at rubyforge.org<mailto:ironruby-core-bounces at rubyforge.org>] On Behalf Of Ryan Riley Sent: Thursday, April 22, 2010 10:07 PM To: ironruby-core at rubyforge.org<mailto:ironruby-core at rubyforge.org> Subject: [Ironruby-core] RubyGems 1.3.6, Bundler, etc. While trying to install DataMapper from source, I ran into a few additional issues. I can create cases if they are legit, but I suspect I''m just missing something. When I tried to install dm-more, I received an error stating I didn''t have bundler installed. When I tried installing bundler, I couldn''t because it requires RubyGems 1.3.6. When I tried executing `ir -S gem update --system`, I received the following: C:\Users\ryan>ir -S gem update --system Updating RubyGems Updating rubygems-update Successfully installed rubygems-update-1.3.6 Updating RubyGems to 1.3.6 Installing RubyGems 1.3.6 ERROR: While executing gem ... (Gem::Exception) [BUG] invalid exec_format "ir", no %s Is IronRuby telling me it has a known bug, or is this something else? Can I upgrade to RubyGems 1.3.6? Can I install Bundler? Thanks, Ryan Riley Email: ryan.riley at panesofglass.org<mailto:ryan.riley at panesofglass.org> LinkedIn: http://www.linkedin.com/in/ryanriley Blog: http://wizardsofsmart.net/ Twitter: @panesofglass Website: http://panesofglass.org/ _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org> http://rubyforge.org/mailman/listinfo/ironruby-core _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org<mailto: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/20100426/e5416839/attachment.html>
You could, and yes I did sign an agreement, but Tomas'' suggestion probably works better. I just threw it out there to show that it would work. Thanks! Best Regards, Kevin Radcliffe On Mon, Apr 26, 2010 at 2:54 PM, Jim Deville <jdeville at microsoft.com> wrote:> Can we take this as a patch? Have you signed an agreement? > > > > ------------------------------ > From: Kevin Radcliffe <kevin.radcliffe at gmail.com> > Sent: Monday, April 26, 2010 12:26 PM > To: ironruby-core at rubyforge.org <ironruby-core at rubyforge.org> > > Subject: Re: [Ironruby-core] RubyGems 1.3.6, Bundler, etc. > > My own ironruby.rb: http://gist.github.com/379763 > <http://gist.github.com/379763>Thanks - Kevin > > On Mon, Apr 26, 2010 at 1:23 PM, Kevin Radcliffe < > kevin.radcliffe at gmail.com> wrote: > >> Confirming, that it seems to work properly for me: >> >> C:\IronRuby1.0_V4>ir >> IronRuby 1.0.0.0 on .NET 4.0.30319.1 Copyright (c) Microsoft Corporation. >> All rights reserved. >> >>> require ''rubygems'' >> => true >> >>> RbConfig::CONFIG[''rubylibdir''] >> => "C:/IronRuby1.0_V4/lib/ruby/1.8" # <-- Sounds like it should go here. >> >> I then created an ironruby.rb >> in: C:\IronRuby1.0_V4\Lib\ruby\1.8\rubygems\defaults >> my ironruby.rb just commented out the "unless" block. >> after that, "igem update --system" just worked., as did the install of the >> bundler gem. >> >> Was there a version of ironruby.rb attached somewhere earlier with all >> of the appropriate overrides? - I just guessed. >> Thanks >> Best Regards, >> Kevin Radcliffe >> >> On Mon, Apr 26, 2010 at 11:41 AM, Jim Deville <jdeville at microsoft.com>wrote: >> >>> This is the comment we got from Eric (RubyGems maintainer). >>> >>> >>> >>> JD >>> >>> >>> >>> >Comment By: Eric Hodel (drbrain) >>> Date: 2010-04-20 20:47 >>> >>> Message: >>> rubygems/defaults/ironruby.rb would go in RbConfig::CONFIG[''rubylibdir''] >>> (not in RuybGems) so it should be picked up even by setup.rb >>> >>> >>> >>> *From:* ironruby-core-bounces at rubyforge.org [mailto: >>> ironruby-core-bounces at rubyforge.org] *On Behalf Of *Ryan Riley >>> *Sent:* Saturday, April 24, 2010 11:33 AM >>> >>> *To:* ironruby-core at rubyforge.org >>> *Subject:* Re: [Ironruby-core] RubyGems 1.3.6, Bundler, etc. >>> >>> >>> >>> Where exactly does the #{RUBY_ENGINE}.rb file go? I am having a hard time >>> finding the location. I changed the impl. of default_exec_format and was >>> able to update RubyGems. However, I think adding the ruby engine file is a >>> better way to go. >>> >>> >>> Ryan Riley >>> >>> >>> On Thu, Apr 22, 2010 at 11:39 PM, Tomas Matousek < >>> Tomas.Matousek at microsoft.com> wrote: >>> >>> This is a bug in RubyGems. It seems that we can get around it by providing lib/rubygems/ironruby.rb file: >>> >>> >>> >>> >>> http://rubyforge.org/tracker/index.php?func=detail&aid=27995&group_id=126&atid=575 >>> >>> >>> >>> Tomas >>> >>> >>> >>> *From:* ironruby-core-bounces at rubyforge.org [mailto: >>> ironruby-core-bounces at rubyforge.org] *On Behalf Of *Ryan Riley >>> *Sent:* Thursday, April 22, 2010 10:07 PM >>> >>> >>> *To:* ironruby-core at rubyforge.org >>> >>> *Subject:* [Ironruby-core] RubyGems 1.3.6, Bundler, etc. >>> >>> >>> >>> While trying to install DataMapper from source, I ran into a few >>> additional issues. I can create cases if they are legit, but I suspect I''m >>> just missing something. When I tried to install dm-more, I received an error >>> stating I didn''t have bundler installed. When I tried installing bundler, I >>> couldn''t because it requires RubyGems 1.3.6. When I tried executing `ir -S >>> gem update --system`, I received the following: >>> >>> >>> >>> C:\Users\ryan>ir -S gem update --system >>> >>> Updating RubyGems >>> >>> Updating rubygems-update >>> >>> Successfully installed rubygems-update-1.3.6 >>> >>> Updating RubyGems to 1.3.6 >>> >>> Installing RubyGems 1.3.6 >>> >>> ERROR: While executing gem ... (Gem::Exception) >>> >>> [BUG] invalid exec_format "ir", no %s >>> >>> >>> >>> Is IronRuby telling me it has a known bug, or is this something else? Can >>> I upgrade to RubyGems 1.3.6? Can I install Bundler? >>> >>> >>> >>> Thanks, >>> >>> >>> Ryan Riley >>> >>> Email: ryan.riley at panesofglass.org >>> LinkedIn: http://www.linkedin.com/in/ryanriley >>> Blog: http://wizardsofsmart.net/ >>> Twitter: @panesofglass >>> Website: http://panesofglass.org/ >>> >>> >>> _______________________________________________ >>> Ironruby-core mailing list >>> Ironruby-core at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/ironruby-core >>> >>> >>> >>> _______________________________________________ >>> Ironruby-core mailing list >>> Ironruby-core at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/ironruby-core >>> >>> >> > > _______________________________________________ > 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/20100426/99e4de3f/attachment-0001.html>