From: Daniel Sheppard Date: 2005-10-21T16:09:22+09:00 Subject: Re: MouseHole 1.2 -- rose-colored spectacles for the Web The MH environment variable isn't being set because it can't find your home directory. homes = [] homes << [ENV['HOME'], File.join( ENV['HOME'], '.mouseHole' )] if ENV['HOME'] homes << [ENV['APPDATA'], File.join( ENV['APPDATA'], 'MouseHole' )] if ENV['APPDATA'] homes.each do |home_top, home_dir| next unless home_top if File.exists? home_top File.makedirs( home_dir ) MH = home_dir break end end You need to have either the APPDATA environment variable configured - the fact that you don't suggests to me that you're running a non-NT based windows (ie, 95, 98 or Me). If you set directory manually, you should be up and running. Also - mousehole should probably be fixed to exit more informatively if it doesn't find a homedir. > -----Original Message----- > From: CBlair1986 [mailto:CBlair1986@gmail.com] > Sent: Monday, 3 October 2005 9:42 AM > To: ruby-talk ML > Subject: Re: MouseHole 1.2 -- rose-colored spectacles for the Web > > I can't get MouseHole to run. When I run mousehole.exe I get > > ../lib/mouseHole.rb:1121: uninitialized constant MouseHole::Log::MH > (NameError) > from C:\WINDOWS\TEMP\eee.mouseHole.exe.2\app\mouseHole.rb:4:in > `require' > > from C:\WINDOWS\TEMP\eee.mouseHole.exe.2\app\mouseHole.rb:4 > from C:\WINDOWS\TEMP\eee.mouseHole.exe.2\bootstrap.rb:31:in > `load' > from C:\WINDOWS\TEMP\eee.mouseHole.exe.2\bootstrap.rb:31 > > Any ideas? > > > > ##################################################################################### This email has been scanned by MailMarshal, an email content filter. #####################################################################################