[Ironruby-core] problems with new rakefile require 'pathname2'

Stefan Hüttenrauch stefan.huettenrauch at hpi.uni-potsdam.de
Wed Sep 26 17:08:31 EDT 2007


Thanks, Tony for your answer,
with IronRuby revision 35 it worked. Before I had 33 and that wasn't even
working with your work-around.
Cheers,
Stefan


-----Original Message-----
From: ironruby-core-bounces at rubyforge.org
[mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Tony Djordjevski
Sent: Mittwoch, 26. September 2007 18:46
To: ironruby-core at rubyforge.org
Subject: Re: [Ironruby-core] problems with new rakefile require 'pathname2'

I had the same problem.  Ultimately, I fixed it by uninstalling my Ruby 
One-Click installer and installing the most recent version:

http://rubyforge.org/frs/download.php/18566/ruby186-25.exe

After the installation, I did a "gem install -y pathname2" and then I 
was able to compile.

Tony

Stefan Hüttenrauch wrote:
> I did the gem install for pathname2 and now get
> rake aborted!
> no such file to load -- windows/path
> 
> which goes down to the following code snipped in 
> c:/ruby/lib/ruby/gems/1.8/gems/pathname2-1.5.2/lib/pathname2.rb:54
> 53 if RUBY_PLATFORM.match('mswin')
> 54      require 'windows/path'
> 55      require 'windows/file'
> 56      include Windows::Path
> 57      include Windows::File
> 58 end
> 
> 
> Does anybody have any ideas?
> Thanks
> Stefan
> 
>  
> 
>  
> 
> *From:* ironruby-core-bounces at rubyforge.org 
> [mailto:ironruby-core-bounces at rubyforge.org] *On Behalf Of *Eric Nicholson
> *Sent:* Mittwoch, 26. September 2007 02:45
> *To:* ironruby-core at rubyforge.org
> *Subject:* Re: [Ironruby-core] problems with new rakefile require 
> 'pathname2'
> 
>  
> 
> The build works much better now.  Thanks!
> 
> Any chance we could get that as a "require_gem" in a future release?
> 
> On 9/25/07, *John Lam (DLR)* <jflam at microsoft.com 
> <mailto:jflam at microsoft.com>> wrote:
> 
> It's a gem – just gem install pathname2.
> 
>  
> 
> Thanks,
> 
> -John
> 
>  
> 
>  
> 
> *From:* ironruby-core-bounces at rubyforge.org 
>
<mailto:ironruby-core-bounces at rubyforge.org>[mailto:ironruby-core-bounces at rubyf
orge.org 
> <mailto:ironruby-core-bounces at rubyforge.org>] *On Behalf Of *Eric Nicholson
> *Sent:* Tuesday, September 25, 2007 5:24 PM
> *To:* ironruby-core at rubyforge.org <mailto:ironruby-core at rubyforge.org>
> *Subject:* [Ironruby-core] problems with new rakefile require 'pathname2'
> 
>  
> 
> When I run the updated rakefile I get "no such file to load -- 
> pathname2".  Is it possible that this file wasn't added to SVN in the 
> last update?
> 
> -Eric
> 
> 
> _______________________________________________
> 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
> http://rubyforge.org/mailman/listinfo/ironruby-core
_______________________________________________
Ironruby-core mailing list
Ironruby-core at rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core



More information about the Ironruby-core mailing list