Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installation #6

Open
tinku99 opened this issue Sep 16, 2012 · 3 comments
Open

installation #6

tinku99 opened this issue Sep 16, 2012 · 3 comments

Comments

@tinku99
Copy link

tinku99 commented Sep 16, 2012

Hi Nat,
Thanks for this nice wrapper around CUIAutomation.

I am a newcomer to ruby, so the installation instructions are a little confusing to me.

  1. gem update --system
    doens't ironruby use igem ? which doesn't seem to work on ironruby 1.1.3...

  2. So I just forked the repo and tried
    require 'bewildr' in the bewildr/lib directory.
    Then I got an error on the line trying to load the bewildr.clicker.
    Does it need to be added to the path somewhere ?
    I just removed the reference to the clickr and the mouse in bewildr.rb.

  3. I still am getting this error:

    @app.windows
    System.Core:0:in BindCore': Method not found: 'Microsoft.Scripting.Actions.Call s.OverloadInfo[] Microsoft.Scripting.Actions.Calls.ReflectionOverloadInfo.Create Array(System.Reflection.MemberInfo[])'. (NoMethodError) from ./bewildr/windows.rb:9:inwindows_by_process_id'
    from ./bewildr/application.rb:51:in `windows'
    from (ir):1

Ok, building ironruby 1.1.4 from source fixed the last error above.

@natritmeyer
Copy link
Owner

  1. Yeah, ironruby uses igem, but it's just a wrapper around gem. Try it without doing gem update --system... it will probably just work...
  2. require'ing bewildr in any way other than the standard way will lead to fireworks (this is the case for all gems), as you've found :)
  3. Removing bewildrClickr means you won't be able to click on certain types of objects - a bad idea

Recommendation: put it all back together again. Changing the files in the gem will only make your problems significantly worse.

Whereabouts during the install does it go wrong? And what errors are you seeing?

@iwx1
Copy link

iwx1 commented Aug 23, 2013

hi tinku99,

I need your urgent help on the error which you have mentioned to get resolve by building ironruby 1.1.4 .
Could you please guide me on how to build ironruby 1.1.4?

I have installed ironruby 1.1.3 but I am able to work with igem .
When I give the below command
igem -v
then I get the error below

C:\Users\iwx1>igem -v
System.Core:0:in BindCore': Method not found: 'Microsoft.Scripting.Actions.Calls.OverloadInfo[] Microsoft.Scripting.Actions.Calls.Reflectio nOverloadInfo.CreateArray(System.Reflection.MemberInfo[])'. (NoMethodError) from C:/Program Files (x86)/IronRuby 1.1/Lib/ruby/1.9.1/rubygems.rb:152 from C:/Program Files (x86)/IronRuby 1.1/Lib/ruby/1.9.1/rubygems/custom_require.rb:29:inrequire'
from C:/Program Files (x86)/IronRuby 1.1/Lib/ruby/1.9.1/rubygems/custom_require.rb:29:in `require'
from C:/Program Files (x86)/IronRuby 1.1/bin/gem:9

I have search in many forums but every where it is just the problem that is mentioned but not the solution.
Please guide me and thanks a lot in advance.

regards,
iwx1

@iwx1
Copy link

iwx1 commented Aug 23, 2013

Hello,

Can anyone share with me the latest msi installer for IronRuby1.1.4 created by them ?

Many thanks in advance!

Regards,
iwx1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants