Forum: IronRuby How to install IronRuby-Hpricot

Posted by Eduardo Blumenfeld (eblumenfeld)
on 2010-12-03 02:32
Hi all,

Does anyone has instructions on how to install
the Hpricot port to .net called IronRuby-hpricot?

https://github.com/nrk/ironruby-hpricot
is the git,
the download link is:
http://github.com/nrk/ironruby-hpricot/downloads

I get it, but I don't know how to install or copy
the files in the specific directories in order to
be used as a gem...

Thank you in advance

Eduardo
Posted by Daniele Alessandri (Guest)
on 2010-12-03 08:43
(Received via mailing list)
On Fri, Dec 3, 2010 at 02:32, Eduardo Blumenfeld <lists@ruby-forum.com> 
wrote:

> Does anyone has instructions on how to install
> the Hpricot port to .net called IronRuby-hpricot?

You should just copy the contents of the directory from one of those
compressed file (e.g. everything contained inside the
ironruby-hpricot_v0.8.1_dotnet4.0-bin/ directory from
ironruby-hpricot_v0.8.1_dotnet4.0-bin.zip) into a path where IronRuby
looks for libraries.

> I get it, but I don't know how to install or copy
> the files in the specific directories in order to
> be used as a gem...

Unfortunately I haven't yet bundled the library into a gem file, and I
still need to find the time to test if it still works with the latest
release of IronRuby (1.1.1) or the current master branch on Git :-(

--
Daniele Alessandri
http://clorophilla.net/
http://twitter.com/JoL1hAHN
Posted by Eduardo Blumenfeld (eblumenfeld)
on 2010-12-03 15:05
Hi Daniele,

Thank you for the quick response,

Unfortunately it is not workin with the version 1.1 of IronRuby,
It seems to me that the problem has to do with a hard-coded reference
to the 1.0 libraries in IronRuby.Hpricot.csproj :
<ItemGroup>
    <Reference Include="IronRuby, Version=1.0.0.0, Culture=neutral, 
PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
      <SpecificVersion>False</SpecificVersion>
      <HintPath>..\deps\IronRuby.dll</HintPath>
    </Reference>
    <Reference Include="IronRuby.Libraries, Version=1.0.0.0, 
Culture=neutral, PublicKeyToken=31bf3856ad364e35, 
processorArchitecture=MSIL">
      <SpecificVersion>False</SpecificVersion>
      <HintPath>..\deps\IronRuby.Libraries.dll</HintPath>
    </Reference>
    <Reference Include="Microsoft.Dynamic, Version=1.0.0.0, 
Culture=neutral, PublicKeyToken=31bf3856ad364e35, 
processorArchitecture=MSIL">
      <SpecificVersion>False</SpecificVersion>
      <HintPath>..\deps\Microsoft.Dynamic.dll</HintPath>
    </Reference>
    <Reference Include="Microsoft.Scripting, Version=1.0.0.0, 
Culture=neutral, PublicKeyToken=31bf3856ad364e35, 
processorArchitecture=MSIL">
      <SpecificVersion>False</SpecificVersion>
      <HintPath>..\deps\Microsoft.Scripting.dll</HintPath>
    </Reference>
    <Reference Include="Microsoft.Scripting.Core, Version=1.0.0.0, 
Culture=neutral, PublicKeyToken=31bf3856ad364e35, 
processorArchitecture=MSIL">
      <SpecificVersion>False</SpecificVersion>
      <HintPath>..\deps\Microsoft.Scripting.Core.dll</HintPath>
    </Reference>
    <Reference Include="System" />
    <Reference Include="System.Data" />
    <Reference Include="System.Xml" />
  </ItemGroup>

Unfortunately I don't know too much about git and how to branch, compile 
and contribute.

Thank you anyways.

Eduardo

Daniele Alessandri wrote in post #965909:
> On Fri, Dec 3, 2010 at 02:32, Eduardo Blumenfeld <lists@ruby-forum.com>
> wrote:
>
>> Does anyone has instructions on how to install
>> the Hpricot port to .net called IronRuby-hpricot?
>
> You should just copy the contents of the directory from one of those
> compressed file (e.g. everything contained inside the
> ironruby-hpricot_v0.8.1_dotnet4.0-bin/ directory from
> ironruby-hpricot_v0.8.1_dotnet4.0-bin.zip) into a path where IronRuby
> looks for libraries.
>
>> I get it, but I don't know how to install or copy
>> the files in the specific directories in order to
>> be used as a gem...
>
> Unfortunately I haven't yet bundled the library into a gem file, and I
> still need to find the time to test if it still works with the latest
> release of IronRuby (1.1.1) or the current master branch on Git :-(
>
> --
> Daniele Alessandri
> http://clorophilla.net/
> http://twitter.com/JoL1hAHN
Posted by Jimmy Schementi (Guest)
on 2010-12-03 19:11
(Received via mailing list)
You can still update those version numbers to unblock yourself. If you 
don't
know how to contribute, either ask the author or open a bug on the
IronRuby.Hpricot site.
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.