I have worked with php for awhile and am taking a look at moving to RoR. I am working my way through Simply Rails 2 and ran into a problem with installing. I am running on Windows XP 32-bit SP3. The Ruby version that was installed is ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32] and the Rails version is 3.2.5. The Apache version is 1.3.33.
I downloaded InstantRails-2.0-win.zip and followed the instruction to install it. I have the InstantRails console up but when I entered the
command, I started seeing errors. Here is the output from the window ( the errors have been highlighted and are in red text):
am Files\\Common Files\\Microsoft Shared\\Windows Live;C:\\Program Files\\Common File
Files\\Common Files\\DivX Shared\\;C:\\Program Files\\ATI Technologies\\ATI.ACE\\Core-
Static;C:\\Program Files\\Common Files\\Microsoft Shared\\Windows Live;C:\\INSTAN~1\
Volume in drive C has no label.
Volume Serial Number is B06F-07AB
Directory of C:\\InstantRails\\rails_apps
02/04/2010 09:34 AM <DIR> .
02/04/2010 09:34 AM <DIR> ..
02/04/2010 09:34 AM <DIR> .metadata
02/04/2010 09:34 AM <DIR> cookbook
02/04/2010 09:35 AM <DIR> typo-2.6.0
0 File(s) 0 bytes
5 Dir(s) 686,822,768,640 bytes free
Updating installed gems
Successfully installed activesupport-2.3.5
Successfully installed rack-1.0.1
Successfully installed actionpack-2.3.5
Successfully installed actionmailer-2.3.5
Successfully installed activerecord-2.3.5
Successfully installed activeresource-2.3.5
Successfully installed net-ssh-2.0.19
Successfully installed net-sftp-2.0.4
Successfully installed net-scp-1.0.2
Successfully installed net-ssh-gateway-1.0.1
Successfully installed capistrano-2.5.14
Successfully installed fxri-0.3.7
Building native extensions. This could take a while...
<font color='"Red"'>[B]ERROR: Error installing fxruby:
ERROR: Failed to build gem native extension.[/B]</font>
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
Provided configuration options:
<font color='"Red"'>[B]extconf.rb:31:in `find_installed_fox_version': couldn't find FOX header files (R
Gem files will remain installed in C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/f
xruby-1.6.20 for inspection.
Results logged to C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/fxruby-1.6.20/ext/
Successfully installed highline-1.5.2
Successfully installed hpricot-0.8.2-x86-mswin32
Successfully installed log4r-1.1.4
Successfully installed mongrel-1.1.5-x86-mswin32-60
Successfully installed mysql-2.8.1-x86-mswin32
Successfully installed rake-0.8.7
Successfully installed rails-2.3.5
Successfully installed sqlite3-ruby-1.2.5-x86-mswin32
<font color='"Red"'>[B]ERROR: While executing gem ... (Gem::GemNotFoundException)
could not find gem win32-api locally or in a repository
Any pointers would be appreciated.