search for: railstest

Displaying 12 results from an estimated 12 matches for "railstest".

2007 Feb 07
8
Apache+Mongrel Redirection Problems
...Linux system (CentOS) * The plan is to create two virtual hosts. /ETC/HOSTS LOOKS LIKE THIS: # Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 localhost.localdomain localhost egovm04 10.4.1.84 rss 10.4.1.84 railstest HTTPD.CONF LOOKS LIKE THIS: [snip] NameVirtualHost 10.4.1.84 <VirtualHost rss> ServerName rss ServerAlias rss RewriteEngine on RewriteRule ^/rss(.*) http://10.4.1.84:5432$1 <http://10.4.1.84:5432/>[P] ProxyPass / http://10.4.1.84:5432/ ProxyPassReverse / ht...
2007 Feb 22
1
OT(?): ReverseProxy and URLs
...on. Before investigating too deeply, I wonder if some of you have already found solutions. The Apache httpd.conf VirtualHost directives are these: NameVirtualHost 10.4.1.84 <VirtualHost 10.4.1.84> RewriteEngine on RewriteRule ^/rss(.*) http://10.4.1.84:5222$1 [P] RewriteRule ^/railstest(.*) http://10.4.1.84:8223$1 [P] </VirtualHost> <VirtualHost 10.4.1.84> ServerName rss ProxyPass / http://10.4.1.84:5222/ ProxyPassReverse /rss http://10.4.1.84:5222/ ProxyPreserveHost on </VirtualHost> <VirtualHost 10.4.1.84> ServerName railstest...
2006 Nov 28
0
"Exec format error" (Windows)
...ave this weird issue on Windows. I''ve installed mongrel_cluster and friends, and I''m trying to get a cluster up and running. Here''s my mongrel_cluster.yml: ------------ --- port: 8000 environment: production address: 127.0.0.1 pid_file: log/mongrel.pid servers: 10 cwd: c:/railstest docroot: public log_file: log/mongrel.log ------------ I''ve tried different versions, all yield the same result that you can see in this command prompt dump: ------------ C:\railstest>mongrel_rails cluster::start Starting 10 Mongrel servers... c:/ruby/lib/ruby/gems/1.8/gems/mongrel_clu...
2006 Apr 21
3
Rails on Pair networks
....11 and rails 1.1.2. - I didn''t set up a new domain. I assumed that everything would work fine if I placed the app in a subdirectory of an existing domain. I''m not quite sure why the wiki page asks you to set up a whole new domain. My app is installed here... http://kupio.com/railstest/test/public/ ... and I haven''t messed with any URL rewriting stuff. - I didn''t fix the shebangs at the tops of the ruby scripts since they already had the correct path in them. Things I did/didn''t do are... - I didn''t set up my database info in config/data...
2005 Dec 14
0
relative subdirectory of partials
if im in the views dir for the railtstest controller and render a partial like so: render(:partial=>''container/ thepartial'') then it will only work if that partial is in views/container/thepartial not if its in views/railstest/container/thepartial as I expected. but what i want is to have a dir called container inside of railstest and be able to render a partial from there. is this possible? ------------------------------------------------------------------------ Hunter Peress hunterp-hceJc2YFNylFcjXmduoLkw@publi...
2009 Oct 20
6
Rails & OpenSSL: `require_frameworks': no such file to load
.../1.8/gems/rails-2.3.4/lib/initializer.rb:134:in `process'' from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/initializer.rb:113:in `send'' from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/initializer.rb:113:in `run'' from /scratch/usr/local/railstest/config/environment.rb:9 from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'' from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'' from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3...
2006 Feb 23
3
rake error
I installed at least one gem since I thought I actually once was able to run ''rake appdoc'' command since there is an api for my models and the ez_where plugin that I installed earlier. I wanted to see the api for pdf-writer which is the gem that I installed most recently. (no, I haven''t given up the issue of ''looping'' that Kevin and some others replied
2006 Apr 20
1
Unable to connect to postgres on Fedora Core 5
...lruby -lpq -lnsl -ldl -lcrypt -lm -lc make install make: Nothing to be done for `install''. Successfully installed postgres-0.7.1 If I require ''postgres'' in irb it fails to load, I have also set up this in database.yml: development: adapter: postgres database: railstest username: martinto password: host: localhost If I then type: script/generate migration initial I get a long stack trace which has this at the start: /usr/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/connection_adapters/abstract/connection_specification.rb:200:in `estab...
2006 Feb 11
1
Fastcgi and mysql woes
...ysql5/mysqld.sock So I''m guessing its an Apache or Fastcgi problem. Here is my config inside apache: LoadModule fastcgi_module /opt/local/apache2/modules/mod_fastcgi.so <IfModule mod_fastcgi.c> AddHandler fastcgi-script .fcgi FastCgiIpcDir /tmp/fcgi_ipc/ FastCgiServer /tmp/railstest/public/dispatch.fcgi -initial-env RAILS_ENV=development -processes 2 -idle-timeout 60 </IfModule> Any ideas? scott ---------------------------------------------------------------------------------------------------- What''s an Intel chip doing in a Mac? A whole lor more that it...
2007 May 30
0
DRYing up controller tests and mailer tests using superclasses
...nymore, we should probably show how to use them in the dummy test_foo method. Could be something like: def test_foo @request.host = "foo.bar.com" assert true ... end * The creation of the method_added-method in ControllerTest and MailerTest should probably be DRYed up and put into RailsTest. In any case, feedback on this is appreciated. Thanks! Ciao! Florian --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googl...
2006 Apr 28
0
Re: Recognition failed for "/dispatch.cgi"
.... > > At least part of the problem must be with paths. I have ruby installed > in ~/devtemp/bin. However, most of the scripts reference "#!/usr/bin/env > ruby" when the path is set to some basic default. > > I tried SetEnv PATH /home/natevw/devtemp/bin in the > railstest/public/.htaccess, and tried setting ENV[''PATH''] ||= ''<path>'' > in an environment.rb file. Still no luck! > > > How do I set the CGI''s path correctly so that Ruby sees it? > > > Googling and forum searching, I''m...
2006 Apr 27
2
easiest rails install for LAMP webserver?
Greetings! Here''s my first nuby question, apologies to all because it''s probably not /your/ first time hearing one. I''ve been learning Ruby lately, and would like to start some Rails development as soon as school''s done. So, in the midst of finals and term papers and moving out into the world of dial-up, I''d like to get things set up on a hosted