Bugs and segmentation faults on windows raise concern over whether windows is even usable at this time. Ruby 1.8.4 and the latest rails is very hard to install on a windows XP box. Gems seg faults. The ruby debugger segfaults. Rails segfaults with active_support/inflector.rb …
WikiGardening required. Some of this content may be out of date.
To install Rails and other dependencies as individual gem packages see the following tutorial
Install Rails on a Windows PC not connected to the internet
I’ve finally made it work for me on a laptop, so I thought I’d share. These instructions are probably pretty generic across different Window PC’s. If this works for any other Windows versions, Processor types, etc., please list them here:
Installing “RubyGems” – the standard Ruby package manager:
1. Download rubygems http://rubyforge.org/frs/download.php/20586/rubygems-0.9.3.zip
2. unzip archive
3. goto directory
4. ruby setup.rb all
5. thats it
See RailsOnWin9x for issues specific to Windows98/Windows95.
This is a remote installation to get the latest versions ruby Gems and its dependencies so an internet connection is a must.
If you need to use a proxy, add ’-p http://proxy:port’ to all gem install commands
Note: Some Windows XP users have complained about connectivity problems on initial installations, i.e. TCPServer errors and gem install—remote failures. Most often, the problems are caused by extra spyware and/or corrupted firewall settings and may require you to restore your winsock2. Before you change anything, you should try c:\netstat -ano; this will indicate port/service conflicts. See this link for more help.
This instructional is based on the use of windows as a development environment for Apache2 and Ruby on Rails. You may install Apache2 on windows or you may use any of the Apache2 install packages.
Install the Apache2 webserver according to the instructions in your choice of webserver package. In most cases this is just a single click on the installer icon and setting the paths to where you want things.
The use of FastCGI to deliver Rails applications can increase speed through in-memory caching.
Important Note for Windows: As of April 23, 2007, fastcgi is still not available for apache 2.2, but only for apache 2.0. When loading the Module, apache 2.2 will complain that it “cannot load module fastcgi into server: module not found”, while it works flawlessly with apache 2.0
Update for Windows: Since November 13, 2007, FastCGI is available for apache 2.2 as mod_fastcgi-2.4.6-AP22.dll.
Note for other OS: Don’t expect fastcgi to work with apache 2.2, but please try and report it back here.
You can get the fastcgi module from fastcgi.com , make sure to get the .dll for the version you’re using. Place the fast CGI dll in the folder used for Apache modules in your webserver installation (check the software docs) and configure httpd.conf by adding this line to the module section:
LoadModule fastcgi_module [path to the dll file]mod_fastcgi-2.4.2-AP20.dll
Here’s an example of what you should see in your httpd.conf file:
LoadModule php5_module "i:/wamp/php/php5apache.dll"
LoadModule fastcgi_module "i:/wamp/fastcgi/mod_fastcgi-2.4.2-AP20.dll"
If you were looking just to get fastCGI support for your present installation the you can stop here. This section of instruction is purely informative as we will use another easier method for installing fastCGI by using Ruby For Apache.
RubyForApache is an installer package for FastCGI
Bath and Shower
Fragrance
Gift Sets
Hair Care
Makeup
Men’s Grooming
Shaving and Hair Removal
Skin Care
Tools and Accessories
Computers – Computer Add-Ons
Computers – Desktops
Computers – Handhelds & PDAs
Computers – Notebooks
Baby Diapering
Baby Feeding
For Moms
Baby Furniture
Baby Gear
Baby Gifts
Baby Health & Baby Care
Nursery Décor
Potty Training
Baby Safety
Baby Strollers
Bugs and segmentation faults on windows raise concern over whether windows is even usable at this time. Ruby 1.8.4 and the latest rails is very hard to install on a windows XP box. Gems seg faults. The ruby debugger segfaults. Rails segfaults with active_support/inflector.rb …
WikiGardening required. Some of this content may be out of date.
To install Rails and other dependencies as individual gem packages see the following tutorial
Install Rails on a Windows PC not connected to the internet
I’ve finally made it work for me on a laptop, so I thought I’d share. These instructions are probably pretty generic across different Window PC’s. If this works for any other Windows versions, Processor types, etc., please list them here:
Installing “RubyGems” – the standard Ruby package manager:
1. Download rubygems http://rubyforge.org/frs/download.php/20586/rubygems-0.9.3.zip
2. unzip archive
3. goto directory
4. ruby setup.rb all
5. thats it
See RailsOnWin9x for issues specific to Windows98/Windows95.
This is a remote installation to get the latest versions ruby Gems and its dependencies so an internet connection is a must.
If you need to use a proxy, add ’-p http://proxy:port’ to all gem install commands
Note: Some Windows XP users have complained about connectivity problems on initial installations, i.e. TCPServer errors and gem install—remote failures. Most often, the problems are caused by extra spyware and/or corrupted firewall settings and may require you to restore your winsock2. Before you change anything, you should try c:\netstat -ano; this will indicate port/service conflicts. See this link for more help.
This instructional is based on the use of windows as a development environment for Apache2 and Ruby on Rails. You may install Apache2 on windows or you may use any of the Apache2 install packages.
Install the Apache2 webserver according to the instructions in your choice of webserver package. In most cases this is just a single click on the installer icon and setting the paths to where you want things.
The use of FastCGI to deliver Rails applications can increase speed through in-memory caching.
Important Note for Windows: As of April 23, 2007, fastcgi is still not available for apache 2.2, but only for apache 2.0. When loading the Module, apache 2.2 will complain that it “cannot load module fastcgi into server: module not found”, while it works flawlessly with apache 2.0
Update for Windows: Since November 13, 2007, FastCGI is available for apache 2.2 as mod_fastcgi-2.4.6-AP22.dll.
Note for other OS: Don’t expect fastcgi to work with apache 2.2, but please try and report it back here.
You can get the fastcgi module from fastcgi.com , make sure to get the .dll for the version you’re using. Place the fast CGI dll in the folder used for Apache modules in your webserver installation (check the software docs) and configure httpd.conf by adding this line to the module section:
LoadModule fastcgi_module [path to the dll file]mod_fastcgi-2.4.2-AP20.dll
Here’s an example of what you should see in your httpd.conf file:
LoadModule php5_module "i:/wamp/php/php5apache.dll"
LoadModule fastcgi_module "i:/wamp/fastcgi/mod_fastcgi-2.4.2-AP20.dll"
If you were looking just to get fastCGI support for your present installation the you can stop here. This section of instruction is purely informative as we will use another easier method for installing fastCGI by using Ruby For Apache.
RubyForApache is an installer package for FastCGI
Bath and Shower
Fragrance
Gift Sets
Hair Care
Makeup
Men’s Grooming
Shaving and Hair Removal
Skin Care
Tools and Accessories
Computers – Computer Add-Ons
Computers – Desktops
Computers – Handhelds & PDAs
Computers – Notebooks
Baby Diapering
Baby Feeding
For Moms
Baby Furniture
Baby Gear
Baby Gifts
Baby Health & Baby Care
Nursery Décor
Potty Training
Baby Safety
Baby Strollers