|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
Need some help with Win98/WinMe bugHi all,
I'd like to ask for some help here on the list because, as you might know, I don't have access to a Windows machine here and I'd like to fix a recently opened bug concerning Win98/WinMe. The BIG question, sortof, is if someone can verify which of the ENV variables are set: USERPROFILE and/or 'HOME'? --- puts ENV['USERPROFILE'] puts ENV['HOME'] --- Thanks very much for helping me. Jonathan M _______________________________________________ Freeride-devel mailing list Freeride-devel@... http://rubyforge.org/mailman/listinfo/freeride-devel |
|
|
Re: Need some help with Win98/WinMe bugJonathan Maasland wrote:
> Hi all, > > I'd like to ask for some help here on the list because, as you might > know, I don't have access to a Windows machine here and I'd like to fix > a recently opened bug concerning Win98/WinMe. > > The BIG question, sortof, is if someone can verify which of the ENV > variables are set: USERPROFILE and/or 'HOME'? > > --- > puts ENV['USERPROFILE'] > puts ENV['HOME'] > --- > > Thanks very much for helping me. > > Jonathan M On my old Win98 box where I have the same problem as the one reported in the FR bug tracker, none of the variables are set. Note: I don't have any user account setup on my Win98 machine. Laurent _______________________________________________ Freeride-devel mailing list Freeride-devel@... http://rubyforge.org/mailman/listinfo/freeride-devel |
|
|
Re: Need some help with Win98/WinMe bugHaving none of those ENV-vars set is the cause for bug #3815 FreeRIDE crashes out of the box on Win ME If you look at readers.rb (freebase/lib/freebase/readers.rb) starting line 32: ---- def self.setup $FREEBASE_APPLICATION = "freeride" unless $FREEBASE_APPLICATION if RUBY_PLATFORM =~ /(mswin32|mingw32)/ @@userdir = File.join(ENV['USERPROFILE'], $FREEBASE_APPLICATION) unless ENV['USERPROFILE'].nil? else @@userdir = File.join(ENV['HOME'],".#{$FREEBASE_APPLICATION}") unless ENV['HOME'].nil? end end ---- Because the env-vars aren't set @@userdir is never initialized. What would be a sensible default here? (A .freeride directory in the C: root?) Jonathan Laurent Julliard wrote: Jonathan Maasland wrote: _______________________________________________ Freeride-devel mailing list Freeride-devel@... http://rubyforge.org/mailman/listinfo/freeride-devel |
|
|
Re: Need some help with Win98/WinMe bugCurt On 3/13/06, Jonathan Maasland <nochoice@...> wrote:
_______________________________________________ Freeride-devel mailing list Freeride-devel@... http://rubyforge.org/mailman/listinfo/freeride-devel |
|
|
Re: Need some help with Win98/WinMe bugCurt Hibbs wrote:
> I think that c:\freeride would be a reasonable default. > > Curt > Could be... except that if you install a new version of FreeRide you'll very likely loose the .freeride directory and all your settings... This being said I don't see where to store this file other than c:\freeride or rather than hardcoding one should probably set the ENV variable with the directory where FreeRIDE is installed so that who install elsewhere are also fine. Laurent _______________________________________________ Freeride-devel mailing list Freeride-devel@... http://rubyforge.org/mailman/listinfo/freeride-devel |
|
|
Re: Need some help with Win98/WinMe bugCurt said:
> I think that c:\freeride would be a reasonable default. Don't use the root. Use C:\Program Files\freeride or C:\My Documents\.freeride. Really, "C:\My Documents" is as close to ENV["HOME"] as you get on Windows 98/ME. Cheers, Dave _______________________________________________ Freeride-devel mailing list Freeride-devel@... http://rubyforge.org/mailman/listinfo/freeride-devel |
| Free Forum Powered by Nabble | Forum Help |