Displaying 20 results from an estimated 40000 matches similar to: "How to run a project tutoial you have downloaded?"
2006 Aug 19
1
if starting index is html?
Hi,
Is the index.html file in public folder is the first page the user would see when he browses to my web site? How do I direct him to the other pagesif they are rhtml.
Jim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060819/466adf68/attachment.html
2006 May 05
1
create a report page with 3 tables involved?
Hi,
I am learning Radrails and want to tie the web project all together by displaying 3 tables linked together.
I want to select one item from the main table, and then link to the other two tables. they will be linked by the key of the first table.
It seems that I should create a rhtml in a main table or should I just copy the list.rhtml created by the generator scaffold?
I might not make any
2006 May 29
1
Server won''t start
Hi,
I have the demo "depot" running on my windows XP computer.For some reason I try to start the server. I select the server, click the green arrow, but it only displays the red button not the yellow restart that indicates that the server is running, along with the status message changing from stopped to running.
What have I done or ?
Jim
-------------- next part --------------
An HTML
2006 Mar 06
6
rails app in professional development environment
I''ve been working on my rails app which will be a web app that i want to
launch as a business. Being new to rails i''m wondering what professional
web app developers do for their development environment. Right now i''m
developing and testing on my laptop. I think i''ve gotten far enough along
where i want to put it up on a hosting machine to develop further,
2006 Apr 23
1
really silly question (my first project and such)
Hi all
My question has to do with a statement made in the database.yml file as
generated by RadRails-
"
# There is no gem for Windows. Install mysql.so from RubyForApache.
# http://rubyforge.org/projects/rubyforapache
"
Is webrick based on the apache web server? I don''t understand this
particular aspect yet. I apologize if radrails questions aren''t supposed to
be
2016 Jul 15
3
[PATCH 1/4] Create a simple project to create version.h to run before any other
Avoids trying to create and replace version.h more than once which
led to file-locking errors with multicore builds.
---
Makefile.am | 1 +
win32/VS2015/celt.vcxproj | 48 +++++++++++++++++---------
win32/VS2015/generate_version.vcxproj | 65 +++++++++++++++++++++++++++++++++++
win32/VS2015/opus.sln | 32 ++++++++++++++++-
2007 Jun 21
2
Error when trying to run expense program
Guys, I m trying to get up to speed on Rails via the Apple tutorial
at:http://developer.apple.com/tools/rubyonrails.html
Problem is when I try and access localhost:3000/expenses I get the
following error. It may be a breeze for you to figure out but since I
dont know jack about rails it seems cryptic to me. Application.rb seems
to be very similar to the database.yml file.
I''m running
2007 Mar 05
2
Scheduled workers only run once unless you call self.delete inside the worker
I had a worker scheduled to run every minute with
backgroundrb_schedules.yml:
ebay_runner:
:class: :ebay_auction_worker
:job_key: :ebay_auction_runner
:trigger_type: :cron_trigger
:trigger_args: 0 * * * * * *
This worker posts an auction to eBay from a queue of auctions every minute.
I was having a problem where the worker would run ok the first time, but
never any subsequent minutes
2006 Jul 19
2
best practice deployment
what is the best method to deploy from a development machine to production
when you need slightly different files for each mode
do you use TWO files such as db.yml.dev and db.yml.prod
and use capistrano to deploy one or the other to database.yml
or is it better to have one file
and use conditions in your file such as
<% if ENV[''RAILS_ENV''] = "production" %>
2006 May 02
17
Tests just deleted my production Database!!! PLEASE HELP
Running the functional tests has deleted the data in my production
database!!! please help!! Using rails 1.1.1 + Oracle.
This is my database.yml file :
development:
adapter: oci
host: "V2:1521/TIM"
username: salt
password: oracle1
test:
adapter: oci
host: "V2:1521/TIM"
username: rectest
password: oracletest
production:
adapter: oci
host:
2017 Sep 04
2
how to build Xapian project on windows?
> It's close to irrelevant when they last worked at this point - the current
> stable release series is 1.4.x, and they definitely won't work with that.
acknowledged
Visual Studio 2008, win32 makefiles (from C. Hull's website)
and xapian-core-1.2.8 are mentioned together on this webpage
https://lists.xapian.org/pipermail/xapian-devel/2012-October/001883.html
2007 May 08
5
mongrel_cluster 1.0.1.1 does not create /var/run/mongrel_cluster
Hi everyone,
I am going crazy over here! :)
I just want to be able to use --clean with my mongrel_rails
cluster::start command.
I''ve upgraded to mongrel_cluster 1.0.1.1 and mongrel_rails 1.0.1.
my config file is in /etc/mongrel_rails/config.yml
and contains:
---
log_file: log/mongrel.log
port: 8000
pid_file: /var/run/mongrel_cluster/mongrel.pid
servers: 2
address: 127.0.0.1
environment:
2006 Jul 29
6
Complex tests - use a DSL instead of fixtures
I''ve been finding I use fixtures less and less lately. I am working with
rather complex testing of code that does data analysis. Each test may
involve 5-10 tables and some of the data is different in nearly every
test. I''ve found it much more readable to build a mini-DSL for the
setting up the database rather than using a huge amount of fixtures. It
has the added benefit of
2006 Jan 24
2
SwitchTower and multiple database.yml files - how do you deal with them?
Hi everyone,
What are other people doing with regards to database.yml being in
version control? My dilema:
I set up my rails app in svn using these instructions:
http://wiki.rubyonrails.com/rails/pages/HowtoUseRailsWithSubversion
The part to note is where I ignore database.yml, allowing different
developers to keep their own database.yml without clobbering other
developers'' files.
2010 Jun 22
3
Project
I am an intern in Virginia Beach and I am currently working on a
project that involves converting a script of Pearl to R. The code
takes one input text file and outputs six text files. If you think you
can help, I will be able to provide more detailed information. Thank
you for your time!
Colton Hunt
2011 Oct 04
9
Postgresql adapter not working
Hello everyone. I''m starting with Rails going through the obvious
"Getting Started with Rails" guide:
http://guides.rubyonrails.org/getting_started.html
Everything goes smoothly until the rake db:create command, which
returns this strange error message referring to a gem that apparently
doesn''t exist:
Please install the postgresql adapter: `gem install activerecord-
2006 Sep 06
1
Need to override database.yml settings for Capistrano run
All,
Database: SQL Server 2000
SQLServer adapter in ODBC mode
I have a Capistrano deploy script which fails when I run against my
production DB.
Apparently, this is the because the user that is set up for production
has "guest" privileges in my SQL Server database and when Capistrano
runs, instead of looking at the dbo.schema_info table (which has the
correct version # - yes I
2008 Jan 03
5
Start script not working when run via Rake
Hi there
I''m using the latest release (r300) and ''script/backgroundrb start'' works
perfectly when executed on the server, but when put inside a Rake task, it
doesn''t launch the worker processes.
The Rake task is as follows:
task :start_backgroundrb do
run "cd #{current_path} && ./script/backgroundrb start"
end
When I run this task, the
2006 Jul 06
6
Capistrano deployment questions == Best practice type ones
Hi everyone,
I''ve been sold on the whole idea of using Capistrano for deployment
of my sites and have successfully deployed three apps in three
different environments all with success.
As I''m trying to configure my sites I''ve encountered a number of
issues/questions hence this post.
1. Database.yml
Twice I''ve been stumped by apps refusing to work on
2006 Mar 30
2
help : No database specified. Missing argument: database.
Hi,
I''m new to Ruby programming. I''m wnt thru the example by curt in onlamp and was stuck up in the midst of configuration.
I''m getting the "No database specified. Missing argument: database." error when i tried creating a table recipe in cookbook db .
My database.yml contains the following entries
Development:
adapter:mysql
host:127.0.0.1