<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle">P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</style>
</head>
<body fPStyle="1" ocsi="0">
<div style="FONT-FAMILY: Tahoma; DIRECTION: ltr; COLOR: #000000; FONT-SIZE: 13px">
<div>What problem does "gem sources -a" have with %HOME%? Does MRI have the same problem? If %HOME% is not set, IronRuby and MRI should both use the same algorithm to figure out the return value of File.expand_path("~") based on other environment variables
like %USERPROFILE%.</div>
<div> </div>
<div>Do you get the SocketError with MRI? You could try running "gem install" and "gem uninstall" in a loop with MRI to see if its an issue with the machine configuration itself.</div>
<div> </div>
<div>I do have a fix for the OpenSSL issue. It does get more active_resource tests working. However, I am not sure if it is sufficient to unblock your scenarios.</div>
<div> </div>
<div style="FONT-FAMILY: Times New Roman; COLOR: #000000; FONT-SIZE: 16px">
<hr tabindex="-1">
<div style="DIRECTION: ltr" id="divRpF934723"><font color="#000000" size="2" face="Tahoma"><b>From:</b> ironruby-core-bounces@rubyforge.org [ironruby-core-bounces@rubyforge.org] on behalf of Ivan Porto Carrero [ivan@whiterabbitconsulting.eu]<br>
<b>Sent:</b> Thursday, February 11, 2010 10:37 AM<br>
<b>To:</b> ironruby-core<br>
<b>Subject:</b> [Ironruby-core] running some benchmarks<br>
</font><br>
</div>
<div></div>
<div>Hi
<div><br>
</div>
<div>I'm currently helping David m. Peterson by setting up 2 windows boxes with ironruby and running a few benchmarks and tests with it. </div>
<div>For example I'm going to try running a few of the complexer rails apps and see how it holds up, i'm thinking about spree and redmine atm.</div>
<div>We'll also run the ruby shootout suite, if you have more suggestions they're welcome.</div>
<div><br>
</div>
<div>The machines are hosted on EC2.</div>
<div><br>
</div>
<div>However using gem sources -a proves to be a little difficult if you don't have the %HOME% environment variable set. </div>
<div>on the both machines I could set %HOME%=%USERPROFILE% in the environment variables to remedy this, but I feel like this is something that should be handled by the installer or by the ironruby gem library.</div>
<div><br>
</div>
<div>I couldn't use the installer in windows 2003 R2 SP2 telling me I needed a higher service pack for my windows, but there is no higher one when I wanted to get that one.</div>
<div><br>
</div>
<div>I also ran into issues installing a bunch of gems at once. Below the rails gem is the one causing trouble. The problems for the rails gem go away after I installed the gemcutter gem (?), but then it fails on the rspec-rails gem with the same error. If
I then remove rails from the list of gems to install everything installs fine.</div>
<div><br>
</div>
<div>
<div>D:\Console2>ir -S gem install caricature rails rspec-rails shoulda test-unit ZenTest ironruby-sqlite3 ironruby-sqlserver</div>
<div>Successfully installed uuidtools-2.1.1</div>
<div>Successfully installed caricature-0.7.6</div>
<div>ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)</div>
<div> SocketError: An established connection was aborted by the software in your host machine (<a href="http://gemcutter.org/gems/rake-0.8.7.gem" target="_blank">http://gemcutter.org/gems/rake-0.8.7.gem</a>)</div>
<div><br>
</div>
<div>D:\Console2>ir -S gem install rails rspec-rails shoulda test-unit ZenTest ironruby-sqlite3 ironruby-sqlserver</div>
<div>ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)</div>
<div> SocketError: An established connection was aborted by the software in your host machine (<a href="http://gemcutter.org/gems/rack-1.0.1.gem" target="_blank">http://gemcutter.org/gems/rack-1.0.1.gem</a>)</div>
<div><br>
</div>
<div>D:\Console2>ir -S gem env</div>
<div>RubyGems Environment:</div>
<div> - RUBYGEMS VERSION: 1.3.5</div>
<div> - RUBY VERSION: 1.8.6 (2009-03-31 patchlevel 368) [i386-mswin32]</div>
<div> - INSTALLATION DIRECTORY: D:/ironruby/lib/ironruby/gems/1.8</div>
<div> - RUBY EXECUTABLE: D:/ironruby/bin/ir.exe</div>
<div> - EXECUTABLE DIRECTORY: D:/ironruby/bin</div>
<div> - RUBYGEMS PLATFORMS:</div>
<div> - ruby</div>
<div> - x86-mswin32-60</div>
<div> - GEM PATHS:</div>
<div> - D:/ironruby/lib/ironruby/gems/1.8</div>
<div> - C:/Users/casualjim/.gem/ironruby/1.8</div>
<div> - GEM CONFIGURATION:</div>
<div> - :update_sources => true</div>
<div> - :verbose => true</div>
<div> - :benchmark => false</div>
<div> - :backtrace => false</div>
<div> - :bulk_threshold => 1000</div>
<div> - :sources => ["<a href="http://gemcutter.org" target="_blank">http://gemcutter.org</a>"]</div>
<div> - REMOTE SOURCES:</div>
<div> - <a href="http://gemcutter.org" target="_blank">http://gemcutter.org</a></div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Additionally on windows 2003 ironruby can't find gem.bat and I did set the necessary environment variables. PATH, HOME. install</div>
<div><br>
</div>
<div>
<div>D:\Console2>ir -S gem install caricature rails rspec-rails shoulda test-unit ZenTest ironruby-sqlite3 ironruby-sqlserver</div>
<div>unknown: Could not find file 'D:\Console2\gem'. (Errno::ENOENT)</div>
<div><br>
</div>
<div><br>
</div>
<div>D:\Console2>ir -v</div>
<div>IronRuby 0.9.4.0 on .NET 2.0.50727.3603</div>
<div>Copyright (c) Microsoft Corporation. All rights reserved.</div>
<div><br>
</div>
<div>>>> exit</div>
<div><br>
</div>
<div><br>
</div>
<div>Apart from the issues above, I'm unable to push gems to gemcutter with ironruby it fails with an OpenSSL error. The same error I get on my mac when I want to install gems with ironruby.</div>
<div><br>
</div>
<div>I'll keep you updated as I make more progress and/or come across more issues.</div>
---<br>
Met vriendelijke groeten - Best regards - Salutations<br>
Ivan Porto Carrero<br>
Blog: <a href="http://flanders.co.nz" target="_blank">http://flanders.co.nz</a><br>
Twitter: <a href="http://twitter.com/casualjim" target="_blank">http://twitter.com/casualjim</a><br>
Author of IronRuby in Action (<a href="http://manning.com/carrero" target="_blank">http://manning.com/carrero</a>)<br>
<br>
</div>
</div>
</div>
</div>
</body>
</html>