Orion Edwards | 22 May 05:26
Picon
Favicon

IronRuby installer

I spent a bit more time trying to get the IronRuby installer to go, and succeeded; resulting in the following pull request:

https://github.com/IronLanguages/main/pull/71

The main problem seemed to be that the IronRuby installer created 3 MSM's (DLR, IrRedist and IronStudio) and then merged them all... This failed because each MSM re-defined the NetFxScheduleNativeImage custom action, and more than one MSM is not allowed to do that. I'm not sure how this worked in the past... Did WIX get upgraded?

It looks like (from what I can tell) the IronPython installer has been re-done into a (much much simpler) wixproj whereas the IronRuby installer is still building with MSM's (and is much more complicated than perhaps it should be).

Is this right?

If so, should someone embark upon a project to re-do the IronRuby installer in a similar fashion to the IronPython one?

Thanks, Orion

Gravatar

Top issues with ironruby

Hi guys,

 

I would like to spend some time helping with ironruby. I was planning on starting with the specs. But I thought it might be a good idea to ask here if there are issues that are more pressing then others. I recently saw some stuff come by about open ssl, I have some experience using bouncycastle I could also look into using that to mimick openssl.  

 

Wouldn’t it also be a good idea to do a new release? Lots of stuff has been fixed since the last release.

 

 

Regards,

 

Albert-Jan

Craig Thompson | 1 May 19:00
Picon

uninitialized constant OpenSSL::Digest::SHA1

Trying to create a simple "hello world" application.  So far I simply deleted the /public/index.html file and created a home controller.  When I try to browse to the page, I get an uninitialized constant OpenSSL::Digest::SHA1 error.  Couple of pieces of information.  OS is Windows 7 and I am using the Visual Studio as my IDE.  I've done some googleing, but I haven't been able to find any articles that describe the error I'm having.  I've installed OpenSSL using a windows installer and I tried copying ssleay32.dll and libeay32.dll into the IronRuby bin folder, but that did not work.   Seems like I must be missing something really basic.

Thanks,
Craig
Per Lundberg | 30 Apr 22:10
Picon

Installing gems extremely slow?

Hi!

Is it just me, or is installing gems with IronRuby extremely slow? (at least compared to other Ruby platforms, like JRuby)

It seems to pretty much halt here:

C:\Work\git\rayak\examples\sinatra>igem install --verbose sinatra
GET http://rubygems.org/latest_specs.4.8.gz
302 Moved Temporarily
GET http://production.s3.rubygems.org/latest_specs.4.8.gz
200 OK
GET http://rubygems.org/specs.4.8.gz
302 Moved Temporarily
GET http://production.s3.rubygems.org/specs.4.8.gz
200 OK

After quite some time, it proceeded and went on with the install as expected.

With JRuby 1.6.7 it looks like this. Very similar as with the above, but a *lot* faster. Is there a significant performance bottleneck with the current IronRuby, or is it caused by some form of timeout or similar?

C:\Work\git\rayak\examples\sinatra>gem install --verbose sinatra
GET http://rubygems.org/latest_specs.4.8.gz
302 Moved Temporarily
GET http://production.s3.rubygems.org/latest_specs.4.8.gz
200 OK
GET http://rubygems.org/specs.4.8.gz
302 Moved Temporarily
GET http://production.s3.rubygems.org/specs.4.8.gz
200 OK
Installing gem sinatra-1.3.2
Downloading gem sinatra-1.3.2.gem
GET http://rubygems.org/gems/sinatra-1.3.2.gem
302 Moved Temporarily
GET http://production.cf.rubygems.org/gems/sinatra-1.3.2.gem
Fetching: sinatra-1.3.2.gem (100%)
200 OK
c:/jruby-1.6.7/lib/ruby/gems/1.8/gems/sinatra-1.3.2/.yardopts
c:/jruby-1.6.7/lib/ruby/gems/1.8/gems/sinatra-1.3.2/AUTHORS
c:/jruby-1.6.7/lib/ruby/gems/1.8/gems/sinatra-1.3.2/CHANGES
c:/jruby-1.6.7/lib/ruby/gems/1.8/gems/sinatra-1.3.2/Gemfile
c:/jruby-1.6.7/lib/ruby/gems/1.8/gems/sinatra-1.3.2/LICENSE
c:/jruby-1.6.7/lib/ruby/gems/1.8/gems/sinatra-1.3.2/README.de.rdoc
c:/jruby-1.6.7/lib/ruby/gems/1.8/gems/sinatra-1.3.2/README.es.rdoc
c:/jruby-1.6.7/lib/ruby/gems/1.8/gems/sinatra-1.3.2/README.fr.rdoc
c:/jruby-1.6.7/lib/ruby/gems/1.8/gems/sinatra-1.3.2/README.hu.rdoc
c:/jruby-1.6.7/lib/ruby/gems/1.8/gems/sinatra-1.3.2/README.jp.rdoc
[ snip ]

Best regards,
Per

Kevin McCaughey | 8 Apr 16:36

Trouble getting started - some basic questions

Hi,

I have read through a few pages of the list and read what I can on the
internet, but I am struggling to find answers to a couple of very basic
questions. I have just learned ruby using Notepad++ and the windows
package of Ruby 1.9.3. I used to be a systems programmer in assembly
language and C. I have a basic knowledge of .NET and a good knowledge of
Windows. I have IR 1.1 installed with VS 2010.

These questions are what I am confused about:

1. Can I write a Ruby application that uses .NET for system stuff
(Windows, forms, networking) and package that as an installation that
end users can install on their computer without going through the whole
(for users) Ruby installation rigmarole? i.e. Can I write a GUI
applications and distribute them with a few DLL's packaged and a
requirement for .NET 4?

2. Is the IR implementation any faster/slower than the standard?

3. Can Ironruby use JRuby as for the VM? Or maybe that is an irrelevant
question and I am misunderstanding how IronRuby works?

4. Is IR with Mono very bloated? I was going to use wxRuby, but it seems
dead and I am now thinking of working in IR instead.

Basically I am wanting to write simple GUI stuff in Ruby to help me
learn Ruby better and also learn a bit of .NET. I will be using Rails
for my main server app, but I am not moving on to that until I learn
Ruby much better. I have gotten fed up writing console apps and want a
simple way to get some GUI going.

Thanks very much for any help or advice you can give :)

Kevin McCaughey

--

-- 
Posted via http://www.ruby-forum.com/.
Ben Keeping | 3 Apr 17:13
Picon

mixing in a C# interface which declares generic return types

Hi,

I'm trying to mixin a C# interface into a ruby class, in order to use it as a mock.

My Ruby class :

class MockFoo
  include IFoo
end

The C# interface :

public interface IFoo {
  T Get<T>();   // this is OK
  IEnumerable<T> GetAll(); // this fails 
}

When calling MockFoo.new, I get the following error :

      Method System.Runtime.CompilerServices.CallSite`1[System.Func`4[System.Runtime.CompilerServices.CallSite,IronRuby.Runtime.RubyContext,System.Object,System.Collections.Generic.IEnumerable`1[T]]] Create(System.Runtime.CompilerServices.CallSiteBinder) contains generic parameters (ArgumentError)
      System.Core:0:in `ValidateMethodInfo'
      System.Core:0:in `Call'
      System.Core:0:in `BindCore'
      ./features/registration/send_verification_email/send_verification_email_steps.rb:18
      features\registration\send_verification_email\send_verification_email.feature:9:in `When I register'

Its OK for methods like :

T Get()
or 
T DoStuff(T bla)

But whenever I try to return a collection of T : 

IEnumerable<T> GetAll();

it fails.

Any ideas ?

Cheers,
Ben
evgeny vov | 10 Mar 07:47

catch exception issue

Hello,

We found issue in IronRuby core when running on Windows Phone 7
emulator.
Below is the code to reproduce the issue:

def test(*args);
  puts 'test';
  raise ArgumentError, 'Error';
end;

begin;
 test;
rescue => e;
 puts 'caught';
end;"

The problem is that rescue does not called and exception goes throw.

If we change test to:
def test();
  puts 'test';
  raise ArgumentError, 'Error';
end;

Exception caught fine. So the issue is with variable parameters list

Does anybody has any idea why it may happen?

Regards,
 Evgeny.

--

-- 
Posted via http://www.ruby-forum.com/.
Eugene A. | 6 Mar 22:47

IR compilation issue

So I'm running my newly made program and the code compiles but I do get
this debugging output every time I run it:

'ir.exe' (Managed (v4.0.30319)): Loaded
'C:\Windows\Microsoft.Net\assembly\GAC_32\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll'
'ir.exe' (Managed (v4.0.30319)): Loaded 'C:\Program Files (x86)\IronRuby
1.1\bin\ir.exe'
'ir.exe' (Managed (v4.0.30319)): Loaded
'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\IronRuby\v4.0_1.1.3.0__7f709c5b713576e1\IronRuby.dll'
'ir.exe' (Managed (v4.0.30319)): Loaded
'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll'
'ir.exe' (Managed (v4.0.30319)): Loaded
'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll'
'ir.exe' (Managed (v4.0.30319)): Loaded
'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.Dynamic\v4.0_1.1.0.20__7f709c5b713576e1\Microsoft.Dynamic.dll'
'ir.exe' (Managed (v4.0.30319)): Loaded
'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.Scripting\v4.0_1.1.0.20__7f709c5b713576e1\Microsoft.Scripting.dll'
'ir.exe' (Managed (v4.0.30319)): Loaded
'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll'
'ir.exe' (Managed (v4.0.30319)): Loaded
'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll'
'ir.exe' (Managed (v4.0.30319)): Loaded
'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\IronRuby.Libraries\v4.0_1.1.3.0__7f709c5b713576e1\IronRuby.Libraries.dll'
A first chance exception of type 'IronRuby.Builtins.SyntaxError'
occurred in IronRuby.dll
The program '[2432] ir.exe: Managed (v4.0.30319)' has exited with code 1
(0x1).

Any ideas what's going on here? Googling this Syntax Error didn't help
much. Thanks.

--

-- 
Posted via http://www.ruby-forum.com/.
Eugene A. | 1 Mar 16:26

Installing gems into IronRuby

Hi,

First post here. Excuse a n00b for silly questions. :) I've been trying
to figure this out for a short time and while I have an idea, I'd like
some confirmation.

I need to install a gem so I can automate some WPF code. One I'm
planning to use is called bewildr. How do I install gems into Ironruby
in Visual Studio 2010? Is there a specific way to do it? Or is
installing gems into a general ruby (non-ironruby) install sufficient?

--

-- 
Posted via http://www.ruby-forum.com/.
Mousumi A. | 12 Feb 19:21

{{{Sports Clinik}}} Real Madrid vs Levante live stream February 12, 2012 online La Liga of Spain

Watch Real Madrid vs Levante live streaming Online on pc today of
Spanish La Liga Soccer match.there will be very exciting match for the
Spanish La Liga viewers because of the previous highly competition.This
exclusive Match will be held in between Real Madrid vs Levante. Don't be
upset if you aren't still tuned with the channels, just click here and
we will provide you 100% HD quality software to Watch all the Spanish La
Liga Matches this season. Enjoy with the Real Madrid vs Levante live
score, preview, recaps and highlights here live streaming Real Madrid vs
Levante live tv sports Spanish La Liga Match. Watch this Match between
Real Madrid vs Levante live stream online by using below link.

SATELITE DIRECT CHANNEL

~~~~~~~~~~~~~~~~~~~COPY THIS LINK ON YOUR BROWSER~~~~~~~ENJOY~~~~~~~~

http://stream-score.blogspot.com/2012/02/watch-real-madrid-vs-levante-live.html

http://stream-score.blogspot.com/2012/02/watch-real-madrid-vs-levante-live.html

http://stream-score.blogspot.com/2012/02/watch-real-madrid-vs-levante-live.html

http://stream-score.blogspot.com/2012/02/watch-real-madrid-vs-levante-live.html

http://stream-score.blogspot.com/2012/02/watch-real-madrid-vs-levante-live.html

http://stream-score.blogspot.com/2012/02/watch-real-madrid-vs-levante-live.html

http://stream-score.blogspot.com/2012/02/watch-real-madrid-vs-levante-live.html

http://stream-score.blogspot.com/2012/02/watch-real-madrid-vs-levante-live.html

http://stream-score.blogspot.com/2012/02/watch-real-madrid-vs-levante-live.html

http://stream-score.blogspot.com/2012/02/watch-real-madrid-vs-levante-live.html

http://stream-score.blogspot.com/2012/02/watch-real-madrid-vs-levante-live.html
http://stream-score.blogspot.com/2012/02/watch-real-madrid-vs-levante-live.html

http://stream-score.blogspot.com/2012/02/watch-real-madrid-vs-levante-live.html

FREE TV WORLD_WIDE

Match detail Competition: Spanish La Liga Soccer Date : Sunday, February
12, 2012 Time : 20:30 GMT

Watch the exclusive and exciting Soccer match online. Go to the link and
watch live the all matches of Spanish La Liga. So don’t waste your time
watch and enjoy all Spanish La Liga match. Here is live streaming
broadcast link Real Madrid vs Levante Live HD Video online Spanish La
Liga.
Your subscription will grant you immediate access to the most
comprehensive listing of Spanish La Liga feeds from anywhere in the
world where you have access to an internet connection.

Attachments:
http://www.ruby-forum.com/attachment/7048/gfg5.gif

--

-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ironruby-core mailing list
Ironruby-core <at> rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core
Orion Edwards | 1 Feb 04:20
Picon
Favicon

Float specs

Added the following pull request

https://github.com/IronLanguages/main/pull/54

This has the following fixes, which are all pretty minor:

* Update Float#<=> to handle overflowed values correctly as per rubyspec
* Update Float#divmod as per rubyspec
* Implement Float#fdiv, which is just an alias for /
* Update Float#modulo and Float#% to raise ZeroDivisionError (as per rubyspec)
* Implement Float#round(decimalPlaces)

The last one isn't actually in rubyspec, but MRI has had it for ages and it's very useful.

The only things left for float_specs all involve converting it to Rational, so I'd suggest leaving them until IronRuby's implementation of Rational gets sorted out.

Thanks, Orion


______________________________________________________

Orion Edwards | Technical Leader
PHONE +64 7 838 9800 | FAX +64 7 838 9801 |
EMAIL orion.edwards-SOhHcSmW6PyvXiR4WA35Jg@public.gmane.org | WEB www.gallagher.co  


Gmane