Rails New Command Throws SSL_connect error

I just downloaded a fresh install of Ruby on Rails for Windows and when do a rails new projectName, I get an SSL_connect error! How do fix this?

Here’s the specific error that you will get:

Gem::RemoteFetcher::FetchError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://rubygems.org/gems/rake-10.4.2.gem)
An error occurred while installing rake (10.4.2), and Bundler cannot continue.
Make sure that `gem install rake -v ‘10.4.2’` succeeds before bundling.

After doing a big of Googling, I found this site that had a working solution. You can read the details there or just get this file, and put it in the folder:


Or similar location, and try again.

Conflicting Assemblies

In Visual Studio, when compiling solutions, you may encounter the following error message:

Found conflicts between different versions of the same dependent assembly. Please set the “AutoGenerateBindingRedirects” property to true in the project file. For more information, see http://go.microsoft.com/fwlink/?LinkId=294190.

Or you might see a similar version of this when trying to browse to an ASP.NET website that looks like:

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

To see exactly the path and the assemblies that are causing the problem, you’ll need to turn on logging for the .NET binding process. The information above in the error message is not sufficient to enable this though. Here’s the full information needed in order to see the assembly binding (from Stackoverflow):

DWORD ForceLog set value to 1
DWORD LogFailures set value to 1
DWORD LogResourceBinds set value to 1
String LogPath set value to folder for logs (e.g. C:\FusionLog\)

Make sure you have that trailing backslash in the log path.

Then, restart your application or build and inspect the details in the log file or the output from ASP.Net!

Force IE8 to IE7 Compatibility Mode

Is there a way that I can force IE8 users to enter IE7 compatibility mode when they hit my website so that I don’t have to change my working IE7 site?

Yes. There is. Details are on this Microsoft blog.

Essentially, there are two ways to implement this:

  • On a per-site basis, add a custom HTTP header

X-UA-Compatible: IE=EmulateIE7

  • On a per-page basis, add a special HTML tag to each document, right after the <head> tag

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />

I hope that works for you.  I understand from some that even with this setting, you might have to tweak a few things.


DW20.exe is Using 100% CPU

A process named DW20.exe is using 100% of my CPU on my web server and I can’t figure out what is causing it?

This is Microsoft’s error reporting tool (Dr. Watson). If you need to fix the problem immediately, feel free to kill the process when it appears. Your web server will start functioning fine after the process is dead.

In the long run, you can turn it off by following the instructions found here and just turning it off instead of on. By default, it is turned on.

Word 2007 Updates Entire Document On Its Own

Why is Word 2007 updating everything in my entire document to look like the small change I just made to one section or portion of my document?

I’ve been struggling with fixing all of the bizarre, out-of-the-b0x behavior that I got when I upgraded from Word 2003 to Word 2007. One of the things that has been driving me nuts all day is when I select a few lines of code, and make a change, such as adding bullet points, suddenly the entire document gets instantly modified in the same way. In this case, filled with bullet points! This is not what I was going for.

Figuring it had something to do with styles, I studied them for a while and noticed this interesting check box near the bottom of the Modify Style dialog box named "Automatically update" (shown below) .


Now . . . good luck finding anything about this in the snazzy new online help with no index. I tried searching for it by name and adding Modify Style to the search criteria but to no avail. And, no, clicking the question mark up there and hovering over the checkbox or clicking on it won’t pull up anything on that check box either. Neither will highlighting the field and pressing F1. I guess context sensitive help is too 90’s for Word now.

So, being the ol’skool hacker that I am, I just played around with it a little while and discovered that if you are working on a piece of text that has a style on it and the style has this checkbox checked, any changes you make to the text formatting-wise in the document will automatically update the style and subsequently change everything in the document tagged with that style! Wicked huh?

When I discovered this, I quickly looked at my Normal style and sure enough, the check box was checked. So, I unchecked it and the problem was solved.

Consequently, on the Normal style, after I unchecked the box, the entire check box disappeared from the Modify Style dialog box for that style altogether. Interesting eh?

I think this is telling and I’m willing to bet there is a bug in there somewhere when loading documents from previous versions of Word.

So, watch out for this. I have now taken the time to go back to all of my styles in the document and uncheck the checkbox above and life has been much better since.

I hope this helps you. Let me know if it does!

YouTube Won’t Work in Full Screen

Why won’t my YouTube video work when I go to full screen mode?

I struggled with this for a while.

First, make sure you have the latest version of the flash player. That didn’t fix it for me even though I didn’t have the latest.

For some reason, on my computer, Flash wouldn’t work with my video card’s hardware acceleration when changing from the small to the full screen version. So, I turned it off and I can now go to full screen mode.

Here’s how to turn off the hardware acceleration:

1. Right click on the video you are trying to watch in YouTube.
2. In the popup menu, choose Settings.
3. Click the first tab if it isn’t already selected.
4. Now, unclick Enable hardware acceleration.
5. Click the Close button.
6. Refresh the page in the browser.
7. Now, click play on the video and then click the full screen mode and see if that fixed it.

Let me know if it did!

If you want something to try it out on, you can watch Shania. You can watch her here in a better quality version using Windows media player. It goes to full screen much better than YouTube.

Good Luck!

Posted in Fix