Bài đăng phổ biến

Sunday, November 10, 2013

Install/Setup windows from Usb


1. Download and extract WinSetupFromUSB and run it.
2. Mark checkbox corresponding to Windows 2000/XP/2003 Setup and locate installation source or CD that contains I386 or AMD64 folders.
3. Now click on Go button to start copying installation source to USB stick and finalizing all sort of things.



Once its Done! you can restart your PC and boot from USB stick. You need to follow 3-Steps installation, viz:
    1. Text mode setup
    2. GUI mode setup
    3. Start Windows for first time



Sunday, February 3, 2013

/usr/lib64/ruby/gems/1.8/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:in `require': no such file to load -- fcgi (LoadError)

Problem: Apache can not load dispatch.fcgi it return this error:
/usr/lib64/ruby/gems/1.8/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:in `require': no such file to load -- fcgi (LoadError)

Fix:
Adding to lines to dispatch.fcgi solved it:

require 'rubygems'
require 'fcgi'
Have Funs!!!

(Source: http://www.redmine.org/boards/2/topics/31410 )


fcgio.cpp:50: error: 'EOF' was not declared in this scope

fix:
add #include <stdio.h> to start of fcgio.cpp

Done!

ERROR: RDoc documentation generator not installed: no such file to load -- rdoc/rdoc

Fix:
yum install ruby-rdoc -y

Done!

ERROR: Failed to build gem native extension

Fix:
yum install ruby-devel -y

Done!