similar to: Instant Rails on Win XP SP2

Displaying 20 results from an estimated 11000 matches similar to: "Instant Rails on Win XP SP2"

2006 Apr 12
4
Instant Rails SCGI Problem
I have installed instant rails and configured it http://instantrails.rubyforge.org/wiki/wiki.pl?Getting_Started I can get typo and webrick to work on webrick localhost:3000 but cant get anything to work with scgi. When i start the scgi server i get a blank dos window screen. When i type www.mycookbook.com into the browser i get the following Unable to connect Firefox can''t
2006 Jan 18
1
The 30 year old *Ruby* Virgin
All, Apologies for the simplicity of the problem but getting started with InstantRails. Does anyone have any experience of setup in this way? Get to the: * Click on the Start SCGI button. * Once the SCGI server says that it is listening to 127.0.0.1:9999, open our browser and go to: www.mycookbook.com Unfortunately once I press the button, a DOS cmd window pops up and
2006 Apr 11
1
Apache configuration problem
Ive installed apache2triad on my windows xp machine. I have followed the instructions on http://wiki.rubyonrails.com/rails/pages/Fast+CGI+and+Apache2+for+Windows+XP When i open a browser and type http://localhost/blog/ i get a file listing directory with all my rails application folders inside the page. If i click on the public folder i get the Welcome to rails web page. Can anyone help?
2006 May 18
2
Lighttpd scgi error on windows
Hi, I have followed the instructions below to get lighttpd and scgi working on windows. http://wiki.rubyonrails.org/rails/pages/HowToDeployWithLighttpdOnWindows When i typ in the following address http://127.0.0.1:9999/ i get just a blank white page. In the scgi.log file i have the following error but dont know what the problem is [INF][3552] Running in production mode on 127.0.0.1:9999
2005 Oct 12
7
www.mycookbook.com not working - just shows apache page
Curt, This is really, really cool.... On hiccup for me though. All was well until I went to manage the cookbook application. The Start SCGI command gave the following output: D:\INSTAN~1\rails_apps\cookbook>..\..\ruby\bin\ruby.exe script\scgi_rails start -p 9999 -e production -D ERROR: Could not setup a SIGHUP handler. You won''t be able to get status. Listening for connections on
2007 May 24
4
Create a virtual host using Instant Rails 1.7
Hi, I created a new rails application called demo using Instant Rails 1.7. It runs at the URL http://localhost:3003/blog/ The applications that a packaged with the zip file, cookbook and typo are currenlty the two virtual hosts. I can already run them using the following URLs http://www.mycookbook.com and http://typo/ Now, I want to add my application demo as the third virtual host in
2006 Apr 11
5
RJS adds comment but doesn''t update form
Hi, When a user adds a comment i want to add the comment to the end of the comments list using ajax so there is no full page refresh. The code i have below adds the comment to the database but doesn''t update the comments div with the new comment. Can anyone help? This is my first use of rjs templates and i have read http://www.codyfauser.com/articles/2005/11/20/rails-rjs-templates
2006 Apr 05
7
Archive monthly count for blog
I am creating a blog to learn ruby on rails. from the layout page i pass all the posts as a collection to _archive.rhtml <%= render :partial => "archive", :collection => @archive %> On _archive.rhtml i have access to the collection. I am then gone to render partial another page _archivecount.rhtml to display the number of posts for each month. Can anyone give a clue
2006 Apr 03
12
scgi?? do i need it for ruby?
This might be obvious to everyone but it is something that i haven''t been able to find an answer to. Do I need to have either scgi/fastcgi/cgi running on either lighttpd/apache for ruby scripts to work? If yes, why? I have installed the scgi server and i can get the service to run, i have also installed the following mod_fastcgi/2.4.2 mod_ruby/1.2.4 Ruby/1.8.2(2004-12-25) mod_scgi,
2006 Jan 10
13
InstantRails 1.0 problems...
Hi, I have installed InstantRails 1.0 Final on Win XP (Home SP2) and Win 2K 2000. I was able to get the two apps (cookbook, typo) work fine with Webrick but not with SCGI server. I tried changing the SCGI settings through the InstallRails.exe console so that the Runtime Mode: would be "development" instead of "production" and SCGI port: to 5000 instead of 9998.
2006 Dec 11
5
Instant Rails on XP sp1 setup issue
I recently downloaded and extracted Instant Rails v1.4 on my Win XP sp1 machine. After changing and saving the windows host file and starting the cookbook app with Mongrel, browsing to www.mycookbook.com does not work. With Mozilla it displays ''redirecting to cookbook...'' but never loads. It is finding the index.html in the cookbook/public dir, but the redirect to
2006 Aug 16
3
Validate your forms with a table-less model
Ive followed this example of how to validate a form with a tableless model: http://rails.techno-weenie.net/tip/2005/11/19/validate_your_forms_with_a_table_less_model Ive got this example working but when validation fails the failed boxes are not highlighted in red. At the moment i have a contact details form and want to validate the information entered by the user but this will just result
2006 Apr 03
8
Layout problem
Hi, I am creating a blog to learn ruby on rails. The blog.rhtml in the layout folder has a the following code <td width=150 valign="top">This is the left menu</td> <td width=600 valign="top"><%= @content_for_layout %></td> <td width=150 valign ="top"><%= render :partial => "categorylist", :collection =>
2006 Jan 11
10
Recommend server for developing RoR on win
Hi all, can you recommend me which web server config to use for developing rails on windows machine. I tried webrick, which is good but it''s annoying because console window is in taskbar for every site running and it have to be started manually. Apache with CGI is to slow and using FastCGI on the other side brings me lot of problems, like randomly not working RoR sites. Any help is
2006 Aug 14
4
Controller method problem
Hi, I have a def in my controller see below where i want to find the page object based on a parameter value and then use the page_id to then find all the contents that belong to that page in the same method. Controller def aboutus @page = Page.find_by_name(params[''About Us'']) @contents = Content.find(:all, :conditions => "page_id = #{@page.id}") end
2006 Mar 29
42
Production environment for Rails on Win32, anyone interested for a binary release?
Hi all, as part of adopting Rails in my company I had to go through the hassle of setting up a Rails production environment on Win32 system since we mostly use MS SQL as our database back end and also because we mostly dealing with customers who become green-blue-purple as soon as you mention Unix/Linux and run for the door. I also need to mention that most of our web applications are internal and
2006 Aug 04
3
Pass a variable via Link To
Can anyone tell me how to pass a value from a link_to in a view to a controler? The value is just a piece of text for the time being. <%= link_to ''About Us'', :action => ''about'', :params => ''string'' %> ??? -- Posted via http://www.ruby-forum.com/.
2007 Mar 06
10
Windows rspec "gem install win32console"
Hi, Hi I am trying to use RSPEC on windows and i keep getting the following error "You must gem install win32console to use colour on Windows" I have installed this Gem but i am still getting the same error. The file that error is coming from is: C:\ruby\lib\ruby\gems\1.8\gems\rspec-0.8.2\lib\spec\runner\formatter\base_text_formatter.rb Do i need to put this line of code in? Where
2005 Dec 15
5
Instant Rails 1.0 preview7 -- with Typo!
My apologies to all who downloaded preview6, it did not contain Rails 1.0 as advertised -- I screwed up! Preview7 does, in fact, contain Rails 1.0 and as a bonus, also includes Typo 2.6.0 as a preinstalled sample app. See the Getting Started page for instructions on running Typo in Instant Rails: http://instantrails.rubyforge.org/wiki/wiki.pl?Getting_Started Also, you can thank David Morton
2005 Dec 28
11
some notes about rails, apache, fastcgi and windows
hello. i''d like to share some feelings of mine after a couple of *weeks* intermittent attempts to have rails applications working on windows (XP) with fastcgi performances under apache (2.0). i''d say the software stack i''m using now will be fairly common as more and more new rails developers will join the bandwagon. what is stunning me is the fact that, even if