similar to: Can I use Production mode but with Dev type characteristics?

Displaying 20 results from an estimated 20000 matches similar to: "Can I use Production mode but with Dev type characteristics?"

2006 Jul 25
3
create production tables? use "rake db:migrate"?
Hi, What is the normal mechanism for creating the tables in the (a) test and (b) production databases. For example the following didn''t work for creating the production tables: a) change environment.rb to include "ENV[''RAILS_ENV''] ||= ''production''" b) run "rake db:migrate" However this seemed to still work against DEV not
2006 Jul 26
9
RadRails config? Getting blank project only created?
Hi, Does anyone know how to correctly configure RadRails (0.7)? I can''t seem to get 0.7 version of radrails to create a Rails project. All I get is a blank project. I have ensured that my PATH does point to my ruby\bin area. Also any clarification regarding which directory (with an example) should be used for the following preferences setting (are they asking for a file or
2006 Jul 27
5
Dreamhost working deploy.rb? Can anyone post/send me a copy?
Hi, Just trying to get Capistrano working to Dreamhost. I''m hitting a permissions issue on the reaper file at the moment. Has anyone a copy of the capistrano DEPLOY.RB file they could post or send me a copy of please? Thanks Greg -- Posted via http://www.ruby-forum.com/.
2006 Jul 16
4
Cheap Hosting Options? (for Ruby on Rails) Suggestions?
Hi all, Any suggestions re cheap [or free ideally :)] hosting solutions for Ruby on Rails applications. At this stage for me it''s just the ability mainly to learn/play, but at the same time being able to publish the application to internet so friends can use. Thanks -- Posted via http://www.ruby-forum.com/.
2006 Jul 23
18
help with "rake db:migrate" error please?
Hi, Just trying to get my first database based rails app up on dreamhost.com. The app was working prior to putting in mysql DB usage but I''m just stuck on getting the app working with mysql. I''ve already created the database and can connect to it manually. Below is the error I get after running the rake migrate. It worked OK on my home PC environment. I did change the
2006 Jul 26
3
Capistrano - freezes & I don''t get prompted for password??
Hi, Just having a problem trying to get capistrano working to the remote server. I''ve set things up per the below to links, but when I enter "cap setup" (or "rake remote:exec ACTION=setup" - I assume they are the same) then things FREEZE and it never asks me for a password. I have to kill the "cmd" window. Is there a way to get some level of trace or
2006 Jul 19
11
Hosting a Ruby App From Home - Approach?
Hi, Any advice/comments on the potential for hosting some personal Ruby applications from home? (i.e. for learning, sharing with friends etc) Would the basic concept be: * Need to buy a static IP address from you ISP * By a domain name and point it to the static IP address * Run Apache as the front end web server - Q: What basic lockdown/security steps should one take? * Perform a PORT
2006 Aug 15
3
Versions Compatibility and RAILS_GEM_VERSION
Is there any problem with versions compatibility? A project I started with 1.1.2 cannot run with 1.1.4. Dreamhost recently updated their rails from 1.1.2 to 1.1.5 and 1.1.6. Needless to say I got "Application Error". However when I changed RAILS_GEM_VERSION to either 1.1.5 or 1.1.6, it works. (Haven''t made a thorough checking though.) Here it seems there is no
2006 Jul 14
5
browser connection issue to http://localhost:3000/ on XP ?
Hi, I think I have network issue on my XP PC here trying to run up InstantRails and using it. I create an application and run up the server "ruby scripts/server" and it runs up, but then when I try to browse to it the browser just sits and spins and doesn''t connect :( * I''ve tried: localhost:3000, 127.0.0.0:3000, 127.0.0.1:3000 + the IP address that
2006 Aug 12
1
Which defect tracking tool (Dreamhost)
Hi, Just wondering what people use for defect tracking generally in the RoR community? Is there an open-source/free online defect tracking site available? I already have my own SVN via dreamhost but am now thinking about use of a specific defect tracking system for defects/enhancements to track them. Note - I''ve gone for Dreamhost hosting. Not sure if there is a specific
2006 Jul 21
6
Troubleshooting tips for getting Apache/RailsApp/Dreamhost
Hi, Background: I''m currently stuck getting my basic rails application working on dreamhost. I have gone throught the doco. Note that I can via my unix account run "ruby script/server" and get the application working via webbrick. The problem I am having is that trying to go to the app via the normal apache approach my browser just sits and spins with nothing coming
2009 Jan 14
6
How do I change MYSQL startup options on Mac??? (can't work it out)
Hi, Can anyone help me out re how I change the startup options for mysql (v5.0) running on my Mac? (I just want to add the "--log" option is about it). I tried doing "sudo ./Library/StartupItems/MySQLCOM/MySQLCOM restart" however this started a 2nd instances of mysql & mysqld. Here is what I see start after Mac startup if this helps: $ ps aux | grep mysql _mysql 137 0.0
2008 Nov 07
15
any tricks re using " eql(5.5)", but where 5.5 is a decimal not float?
-- Sent from my mobile device
2006 Jul 29
6
why is webrick running in development mode?
Hi, I changed my environmnet.rb to say PRODUCTION mode, however when I start up a server "ruby scripts/server" a) it runs in development mode (via the logs) - any ideas why? b) why does webbrick run - I thought by default now it was supposed to be lightty Tks -- Posted via http://www.ruby-forum.com/.
2007 May 27
4
when will "TODO" comment/rake support come out?
Hi - quick question: when will "TODO" comment/rake support come out? Tks --~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com To unsubscribe from this group, send email to
2009 Sep 25
8
Cheapest Rails Hosting where they give you full access to Apache (to load modules etc)???
any pointers / suggestions re cheapest Rails hosting where they give you full access to Apache (to load modules etc)??? Can be a shared platform, however not sure if there is a shared platform type hosting service where they do give you such access?
2007 Feb 05
10
how does Mocha compare in terms of classical vs mock-based testing, and stubbing???
Hi guys, I''ve just been reading Martin Fowler''s article re mock versus stubbing<http://martinfowler.com/articles/mocksArentStubs.html>where he compares traditional TDD testing techniques with mock based testing. I''d be interested in comments from a ruby on rails perspective in terms of this and Mocha? For example: a) Do you see Mocha as a robust way to test Ruby
2008 May 30
9
find_by_sql without a model? how to do this?
Hi, I''d like to do a "find_by_sql" without a model (e.g. <model name>.find_by_sql("...")) as the results I get back are a once off special, and I''m happy to handle them as an array. How do I do this? "ActiveRecord::Base.find_by_sql(...)" does not seem to work? Background - At the moment I''m doing within a model <model_name>,
2008 Nov 06
8
anyone able to explain logic behind "rake spec" startup (e.g. db:test:prepare => abort_if_pending_migration => invoke environment => etc etc)
anyone able to explain logic behind "rake spec" startup? i.e. the below steps & why things occur when they do Macintosh-2:myequity greg$ rake spec --trace (in /Users/greg/source/myequity) ** Invoke spec (first_time) ** Invoke db:test:prepare (first_time) ** Invoke db:abort_if_pending_migrations (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute
2006 May 14
2
Timeout in production mode after 2 min, but not in dev mode?!
One of my actions runs for more than 2 minutes. In development mode it runs and completes successfully, but in production mode it quits out with a timeout error: "Timeout::Error (execution expired):" Any ideas how i can stop this? I''m desperate to find a solution. Is there a setting i can change somewhere? Any help would be greately appreciated, Thanks Chris -- Posted