Pete Bacon Darwin
2009-Feb-13 14:13 UTC
[Ironruby-core] Incorrect library paths in App.Config
Hi, I just noticed that the App.Config that is generated in an in Unsigned build of IronRuby (i.e. rake compile) contains incorrect library paths. When I tried to run rake mspec:core it failed to require ''fileutils''. Currently (Git commit 6855c7c41ee2...) has the following in Merlin/Main/Config/Unsigned/App.Config: <set language="Ruby" option="LibraryPaths" value="..\..\Languages\Ruby\libs\;..\..\..\External\Languages\Ruby\ruby-1.8. 6\lib\ruby\site_ruby\1.8\;..\..\..\External\Languages\Ruby\ruby-1.8.6\lib\ru by\site_ruby\;..\..\..\External\Languages\Ruby\ruby-1.8.6\lib\ruby\1.8\" /> But the repository has the following folder layout: Merlin/External/Languages/Ruby/redist-libs/ruby/1.8 And Merlin/External/Languages/Ruby/redist-libs/ruby/site_ruby So therefore this file should look like this: <set language=''Ruby'' option=''LibraryPaths'' value=''..\..\Languages\Ruby\libs;..\..\..\External\Languages\Ruby\redist-lib s\ruby\site_ruby\1.8;..\..\..\External\Languages\Ruby\redist-libs\ruby\site_ ruby;..\..\..\External\Languages\Ruby\redist-libs\ruby\1.8''/> I thought I must be wrong since this should have been picked up already but then I guess that most people who are building IR at the moment are either inside MSFT (and using signed builds) or running on Mono and having to rewrite this file anyway. Am I right here? Pete -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20090213/3b0b79a4/attachment.html>
Ivan Porto Carrero
2009-Feb-13 15:53 UTC
[Ironruby-core] Incorrect library paths in App.Config
I think so.. I actually have an app.config.mine that I use to keep the paths correct. On Fri, Feb 13, 2009 at 3:13 PM, Pete Bacon Darwin < bacondarwin at googlemail.com> wrote:> Hi, > > > > I just noticed that the App.Config that is generated in an in Unsigned > build of IronRuby (i.e. rake compile) contains incorrect library paths. > When I tried to run rake mspec:core it failed to require ''fileutils''. > > > > Currently (Git commit 6855c7c41ee2...) has the following in > Merlin/Main/Config/Unsigned/App.Config: > > > > <set language="Ruby" option="LibraryPaths" > value="..\..\Languages\Ruby\libs\;..\..\..\External\Languages\Ruby\ruby-1.8.6\lib\ruby\site_ruby\1.8\;..\..\..\External\Languages\Ruby\ruby-1.8.6\lib\ruby\site_ruby\;..\..\..\External\Languages\Ruby\ruby-1.8.6\lib\ruby\1.8\" > /> > > > > But the repository has the following folder layout: > > > > Merlin/External/Languages/Ruby/redist-libs/ruby/1.8 > > And > > Merlin/External/Languages/Ruby/redist-libs/ruby/site_ruby > > > > So therefore this file should look like this: > > > > <set language=''Ruby'' option=''LibraryPaths'' > value=''..\..\Languages\Ruby\libs;..\..\..\External\Languages\Ruby\redist-libs\ruby\site_ruby\1.8;..\..\..\External\Languages\Ruby\redist-libs\ruby\site_ruby;..\..\..\External\Languages\Ruby\redist-libs\ruby\1.8''/> > > > > I thought I must be wrong since this should have been picked up already but > then I guess that most people who are building IR at the moment are either > inside MSFT (and using signed builds) or running on Mono and having to > rewrite this file anyway. > > > > Am I right here? > > > > Pete > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20090213/f87402fc/attachment-0001.html>
Tomas Matousek
2009-Feb-13 16:56 UTC
[Ironruby-core] Incorrect library paths in App.Config
Yep, you''re right. Will fix App.config by the next GIT push. BTW: What changes are needed for Mono? Tomas From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Pete Bacon Darwin Sent: Friday, February 13, 2009 6:13 AM To: ironruby-core at rubyforge.org Subject: [Ironruby-core] Incorrect library paths in App.Config Hi, I just noticed that the App.Config that is generated in an in Unsigned build of IronRuby (i.e. rake compile) contains incorrect library paths. When I tried to run rake mspec:core it failed to require ''fileutils''. Currently (Git commit 6855c7c41ee2...) has the following in Merlin/Main/Config/Unsigned/App.Config: <set language="Ruby" option="LibraryPaths" value="..\..\Languages\Ruby\libs\;..\..\..\External\Languages\Ruby\ruby-1.8.6\lib\ruby\site_ruby\1.8\;..\..\..\External\Languages\Ruby\ruby-1.8.6\lib\ruby\site_ruby\;..\..\..\External\Languages\Ruby\ruby-1.8.6\lib\ruby\1.8\" /> But the repository has the following folder layout: Merlin/External/Languages/Ruby/redist-libs/ruby/1.8 And Merlin/External/Languages/Ruby/redist-libs/ruby/site_ruby So therefore this file should look like this: <set language=''Ruby'' option=''LibraryPaths'' value=''..\..\Languages\Ruby\libs;..\..\..\External\Languages\Ruby\redist-libs\ruby\site_ruby\1.8;..\..\..\External\Languages\Ruby\redist-libs\ruby\site_ruby;..\..\..\External\Languages\Ruby\redist-libs\ruby\1.8''/> I thought I must be wrong since this should have been picked up already but then I guess that most people who are building IR at the moment are either inside MSFT (and using signed builds) or running on Mono and having to rewrite this file anyway. Am I right here? Pete -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20090213/dede5f83/attachment.html>
Pete Bacon Darwin
2009-Feb-13 18:51 UTC
[Ironruby-core] Incorrect library paths in App.Config
Actually I guess that since all the paths are relative, the shouldn''t need to be changed. I think I was assuming that mono users would automatically create their own App.config anyway, as a matter of course. Pete From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Tomas Matousek Sent: Friday,13 February 13, 2009 16:57 To: ironruby-core at rubyforge.org Subject: Re: [Ironruby-core] Incorrect library paths in App.Config Yep, you''re right. Will fix App.config by the next GIT push. BTW: What changes are needed for Mono? Tomas From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Pete Bacon Darwin Sent: Friday, February 13, 2009 6:13 AM To: ironruby-core at rubyforge.org Subject: [Ironruby-core] Incorrect library paths in App.Config Hi, I just noticed that the App.Config that is generated in an in Unsigned build of IronRuby (i.e. rake compile) contains incorrect library paths. When I tried to run rake mspec:core it failed to require ''fileutils''. Currently (Git commit 6855c7c41ee2...) has the following in Merlin/Main/Config/Unsigned/App.Config: <set language="Ruby" option="LibraryPaths" value="..\..\Languages\Ruby\libs\;..\..\..\External\Languages\Ruby\ruby-1.8. 6\lib\ruby\site_ruby\1.8\;..\..\..\External\Languages\Ruby\ruby-1.8.6\lib\ru by\site_ruby\;..\..\..\External\Languages\Ruby\ruby-1.8.6\lib\ruby\1.8\" /> But the repository has the following folder layout: Merlin/External/Languages/Ruby/redist-libs/ruby/1.8 And Merlin/External/Languages/Ruby/redist-libs/ruby/site_ruby So therefore this file should look like this: <set language=''Ruby'' option=''LibraryPaths'' value=''..\..\Languages\Ruby\libs;..\..\..\External\Languages\Ruby\redist-lib s\ruby\site_ruby\1.8;..\..\..\External\Languages\Ruby\redist-libs\ruby\site_ ruby;..\..\..\External\Languages\Ruby\redist-libs\ruby\1.8''/> I thought I must be wrong since this should have been picked up already but then I guess that most people who are building IR at the moment are either inside MSFT (and using signed builds) or running on Mono and having to rewrite this file anyway. Am I right here? Pete -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20090213/f0f42400/attachment.html>
Ivan Porto Carrero
2009-Feb-13 19:13 UTC
[Ironruby-core] Incorrect library paths in App.Config
This is from my app.config.mono <set language="Ruby" option="LibraryPaths" value="../lib;../lib/ruby/site_ruby/1.8/;../lib/ruby/site_ruby/;../lib/ruby/1.8/" /> On Fri, Feb 13, 2009 at 5:56 PM, Tomas Matousek < Tomas.Matousek at microsoft.com> wrote:> Yep, you''re right. Will fix App.config by the next GIT push. > > BTW: What changes are needed for Mono? > > > > Tomas > > > > *From:* ironruby-core-bounces at rubyforge.org [mailto: > ironruby-core-bounces at rubyforge.org] *On Behalf Of *Pete Bacon Darwin > *Sent:* Friday, February 13, 2009 6:13 AM > *To:* ironruby-core at rubyforge.org > *Subject:* [Ironruby-core] Incorrect library paths in App.Config > > > > Hi, > > > > I just noticed that the App.Config that is generated in an in Unsigned > build of IronRuby (i.e. rake compile) contains incorrect library paths. > When I tried to run rake mspec:core it failed to require ''fileutils''. > > > > Currently (Git commit 6855c7c41ee2...) has the following in > Merlin/Main/Config/Unsigned/App.Config: > > > > <set language="Ruby" option="LibraryPaths" > value="..\..\Languages\Ruby\libs\;..\..\..\External\Languages\Ruby\ruby-1.8.6\lib\ruby\site_ruby\1.8\;..\..\..\External\Languages\Ruby\ruby-1.8.6\lib\ruby\site_ruby\;..\..\..\External\Languages\Ruby\ruby-1.8.6\lib\ruby\1.8\" > /> > > > > But the repository has the following folder layout: > > > > Merlin/External/Languages/Ruby/redist-libs/ruby/1.8 > > And > > Merlin/External/Languages/Ruby/redist-libs/ruby/site_ruby > > > > So therefore this file should look like this: > > > > <set language=''Ruby'' option=''LibraryPaths'' > value=''..\..\Languages\Ruby\libs;..\..\..\External\Languages\Ruby\redist-libs\ruby\site_ruby\1.8;..\..\..\External\Languages\Ruby\redist-libs\ruby\site_ruby;..\..\..\External\Languages\Ruby\redist-libs\ruby\1.8''/> > > > > I thought I must be wrong since this should have been picked up already but > then I guess that most people who are building IR at the moment are either > inside MSFT (and using signed builds) or running on Mono and having to > rewrite this file anyway. > > > > Am I right here? > > > > Pete > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20090213/46d5f4a9/attachment.html>
Pete Bacon Darwin
2009-Feb-15 14:03 UTC
[Ironruby-core] Incorrect library paths in App.Config
Actually the offending bit is actually hard coded into context.rb!! def transform_config_file(configuration, source_path, target_build_path) # signing is on for IronRuby in Merlin, off for SVN and Binary layout = {''Merlin'' => { :signing => false, :LibraryPaths => ''..\..\Languages\Ruby\libs;..\..\..\External\Languages\Ruby\Ruby-1.8.6\lib\r uby\site_ruby\1.8;..\..\..\External\Languages\Ruby\Ruby-1.8.6\lib\ruby\site_ ruby;..\..\..\External\Languages\Ruby\Ruby-1.8.6\lib\ruby\1.8'' }, ''Binary'' => { :signing => true, :LibraryPaths => ''..\lib\IronRuby;..\lib\ruby\site_ruby\1.8;..\lib\ruby\site_ruby;..\lib\ruby \1.8'' } } transform_config source_path, target_build_path, layout[configuration][:LibraryPaths] end Pete From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Tomas Matousek Sent: Friday,13 February 13, 2009 16:57 To: ironruby-core at rubyforge.org Subject: Re: [Ironruby-core] Incorrect library paths in App.Config Yep, you''re right. Will fix App.config by the next GIT push. BTW: What changes are needed for Mono? Tomas From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Pete Bacon Darwin Sent: Friday, February 13, 2009 6:13 AM To: ironruby-core at rubyforge.org Subject: [Ironruby-core] Incorrect library paths in App.Config Hi, I just noticed that the App.Config that is generated in an in Unsigned build of IronRuby (i.e. rake compile) contains incorrect library paths. When I tried to run rake mspec:core it failed to require ''fileutils''. Currently (Git commit 6855c7c41ee2...) has the following in Merlin/Main/Config/Unsigned/App.Config: <set language="Ruby" option="LibraryPaths" value="..\..\Languages\Ruby\libs\;..\..\..\External\Languages\Ruby\ruby-1.8. 6\lib\ruby\site_ruby\1.8\;..\..\..\External\Languages\Ruby\ruby-1.8.6\lib\ru by\site_ruby\;..\..\..\External\Languages\Ruby\ruby-1.8.6\lib\ruby\1.8\" /> But the repository has the following folder layout: Merlin/External/Languages/Ruby/redist-libs/ruby/1.8 And Merlin/External/Languages/Ruby/redist-libs/ruby/site_ruby So therefore this file should look like this: <set language=''Ruby'' option=''LibraryPaths'' value=''..\..\Languages\Ruby\libs;..\..\..\External\Languages\Ruby\redist-lib s\ruby\site_ruby\1.8;..\..\..\External\Languages\Ruby\redist-libs\ruby\site_ ruby;..\..\..\External\Languages\Ruby\redist-libs\ruby\1.8''/> I thought I must be wrong since this should have been picked up already but then I guess that most people who are building IR at the moment are either inside MSFT (and using signed builds) or running on Mono and having to rewrite this file anyway. Am I right here? Pete -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20090215/01a19a09/attachment.html>
Ivan Porto Carrero
2009-Feb-15 14:29 UTC
[Ironruby-core] Incorrect library paths in App.Config
Yes I also found that out.. I added a new one there in my branch. MonoDist On Sun, Feb 15, 2009 at 3:03 PM, Pete Bacon Darwin < bacondarwin at googlemail.com> wrote:> Actually the offending bit is actually hard coded into context.rb!! > > > > def transform_config_file(configuration, source_path, target_build_path) > > # signing is on for IronRuby in Merlin, off for SVN and Binary > > layout = {''Merlin'' => { :signing => false, :LibraryPaths => > ''..\..\Languages\Ruby\libs;..\..\..\External\Languages\Ruby\Ruby-1.8.6\lib\ruby\site_ruby\1.8;..\..\..\External\Languages\Ruby\Ruby-1.8.6\lib\ruby\site_ruby;..\..\..\External\Languages\Ruby\Ruby-1.8.6\lib\ruby\1.8'' > }, > > ''Binary'' => { :signing => true, :LibraryPaths => > ''..\lib\IronRuby;..\lib\ruby\site_ruby\1.8;..\lib\ruby\site_ruby;..\lib\ruby\1.8'' > } } > > > > transform_config source_path, target_build_path, > layout[configuration][:LibraryPaths] > > end > > > > Pete > > > > *From:* ironruby-core-bounces at rubyforge.org [mailto: > ironruby-core-bounces at rubyforge.org] *On Behalf Of *Tomas Matousek > *Sent:* Friday,13 February 13, 2009 16:57 > *To:* ironruby-core at rubyforge.org > *Subject:* Re: [Ironruby-core] Incorrect library paths in App.Config > > > > Yep, you''re right. Will fix App.config by the next GIT push. > > BTW: What changes are needed for Mono? > > > > Tomas > > > > *From:* ironruby-core-bounces at rubyforge.org [mailto: > ironruby-core-bounces at rubyforge.org] *On Behalf Of *Pete Bacon Darwin > *Sent:* Friday, February 13, 2009 6:13 AM > *To:* ironruby-core at rubyforge.org > *Subject:* [Ironruby-core] Incorrect library paths in App.Config > > > > Hi, > > > > I just noticed that the App.Config that is generated in an in Unsigned > build of IronRuby (i.e. rake compile) contains incorrect library paths. > When I tried to run rake mspec:core it failed to require ''fileutils''. > > > > Currently (Git commit 6855c7c41ee2...) has the following in > Merlin/Main/Config/Unsigned/App.Config: > > > > <set language="Ruby" option="LibraryPaths" > value="..\..\Languages\Ruby\libs\;..\..\..\External\Languages\Ruby\ruby-1.8.6\lib\ruby\site_ruby\1.8\;..\..\..\External\Languages\Ruby\ruby-1.8.6\lib\ruby\site_ruby\;..\..\..\External\Languages\Ruby\ruby-1.8.6\lib\ruby\1.8\" > /> > > > > But the repository has the following folder layout: > > > > Merlin/External/Languages/Ruby/redist-libs/ruby/1.8 > > And > > Merlin/External/Languages/Ruby/redist-libs/ruby/site_ruby > > > > So therefore this file should look like this: > > > > <set language=''Ruby'' option=''LibraryPaths'' > value=''..\..\Languages\Ruby\libs;..\..\..\External\Languages\Ruby\redist-libs\ruby\site_ruby\1.8;..\..\..\External\Languages\Ruby\redist-libs\ruby\site_ruby;..\..\..\External\Languages\Ruby\redist-libs\ruby\1.8''/> > > > > I thought I must be wrong since this should have been picked up already but > then I guess that most people who are building IR at the moment are either > inside MSFT (and using signed builds) or running on Mono and having to > rewrite this file anyway. > > > > Am I right here? > > > > Pete > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20090215/d59e49ff/attachment.html>