Displaying 20 results from an estimated 7000 matches similar to: "create production tables? use "rake db:migrate"?"
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 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 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 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 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 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
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 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
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
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 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
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
2008 Sep 13
4
rake does recognize "rake examples_with_rcov"
Hi,
Q1 - Know why rake doesn''t recognize "rake examples_with_rcov" per
http://rspec.info/documentation/tools/rcov.html ?
Q2 - Also when I run "rake spec:rcov" it seems to give me the same as
if I just run "autotest" or "rake spec". I was expecting a heap of
pointers to code I haven''t tested?
2006 Jul 14
2
browser connection issue to http://localhost:3000/ on XP ?
http://www.ruby-forum.com/topic/73035#new
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 :(
Note that I posted this at
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>,
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
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 24
3
Exception Notification Plugin Question
Hi,
I have two questions re the Exception Notifier plugin (i.e. which you
install via "ruby script/plugin install exception_notification")
Q1 - In it''s current setup (where it uses /public/500.html) is it possible
to remove the "Status: 500 Internal Server Error Content-Type: text/html"
text which seems to mysteriously get place at the top of the page?
Q2 -
2007 Jan 16
4
RJS - What the the advantages? / Why use?
Hi,
I''ve read up on RJS and understand the concept/how-to-use. It''s still not
clear in my mind when and why to use RJS? Can anyone drop in a couple of
bullet points re advantages + when/why would RJS make sense?
Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2007 Feb 08
1
flex mock?
Hi guys,
Would you mind if I ask how Flex Mock and Mocha sit together? They compete
directly?
I read that Flex Mock was built into Rails 1.2. Is there a reason to use
Mocha instead of Flex Mock?
Tks
Greg