Displaying 20 results from an estimated 10000 matches similar to: "Installing Ruby On Rails"
2006 Apr 17
2
installation of ruby on rail on linux fedora
i installed and work fine with ruby on rails on windows.
i used onlamp.com sites tutorial for that.
now i want to install it on linux.
how i can?
Please help....
Thank You in advance
--
Posted via http://www.ruby-forum.com/.
2006 Feb 13
1
Executing ruby on rail program through address bar
I Want to run my ruby on rail application through address bar.
i.e like: http://localhost/rail_program/first.rhtml.
when i trying this it only executes html part but not executing rail
part.
Here is the code:
<html>
<head>
<title>eruby example</title>
</head>
<body>
<h1>Enumeration</h1>
<ul>
<%(1..10).each do|i|%>
<li>number
2006 Feb 16
6
http://127.0.0.1:3000/
Hi,
I installed ruby on rail on my windows system.
I sucessfully made one database related application.
But when i want to execute it, i have to give url like
http://127.0.0.1:3000/wedding/ etc.
can''t i browse through my browser?
192.168.0.51 is my ip.
Another one thing is i never get file named new in my example then also
it executes file called new for database inserting ,how it is?
2006 Feb 13
1
Executing ruby on rail program
Hi,
I prepared code using ruby on rail.
Now i want to execute it.
How i will?
Please help me,I m new in ruby on rails.
Thank you,
--
Posted via http://www.ruby-forum.com/.
2006 Jun 14
2
How to do routing ?
Hi folks,
I am working in Fedora Core 2 Linux, and using Apache 2.0 and mod_fastcgi,
as per mentioned in the following link, to support Rails.
http://wiki.rubyonrails.org/rails/pages/RailsOnFedora
I had created virtual host and specified the path to my application''s
/var/www/html/myapp/public/ directory as a value for DocumentRoot
directives.
Now what is happening is that,
my
2006 Feb 17
3
Ajax On Rails
Hi,
I want database query in rail for ''LIKE''
i.e in sql it something like.
"SELECT * FROM tablename where filedname LIKE ''%keyword%'' " etc.
What for rail?
--
Posted via http://www.ruby-forum.com/.
2006 May 15
3
Mysql::Error in RecipeController#new
Hi,
I''m doing the following tutorial
:http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html?page=3
but when I''m trying to access the database I get the following error
#28000Access denied for user ''root''@''localhost'' (using password: NO)
That''s strange because the database.yml file is defined with a password
:
development:
2003 Sep 11
0
RV: WARNING[5126] Maximum retries exceeded on call
Hello
I'm tryng to install Asterisk and by now I got a first congfiguration
working
(0ne PBX box and 2 X-lite phone communicating with each other)
The problem now is that I keep this annoying message every time:
WARNING[5126]: File chan_sip.c, Line 435 (retrans_pkt): Maximum retries
exceeded on call
43c827415f83584c0c9dc15b03ed6924@10.1.1.1 for seqno 102 (Request)
Do you have a
2006 Mar 22
2
n00b question
Total Ruby N00b here with a question about the Hibbs OnLamp tutorial.
I''m trying to hook up to my cookbook database and I''m getting:
ActiveRecord::StatementInvalid in Recipe#index
Mysql::Error: #42S02Table ''cookbook.recipes'' doesn''t exist: SELECT COUNT(*)
FROM recipes
RAILS_ROOT: ./script/../config/..
My thoughts:
I think I''m not actually
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
2006 Jun 20
0
problem with list definition
hello,
I am gererateing a missing template error when I overwrite the list part of
the scaffold. it seems to have the wrong path to list.rhtml. Looking at the
error path (below) it is looking for in a folder called <public>. This seems
wierd to me becausae that path does not exist in the frame work. the path
should be
/Users/dima/Documents/ruby/rails/cookbook/app/views/recipe/list.rhtml
2006 Nov 09
0
Apache configuration
i TRY TO CONFIGURE APACHE FOR RUBY ON RAILS ON UNIX.
BY THE FOLLOWING WAYl:
Install FastCGI
1. wget http://www.fastcgi.com/dist/fcgi-2.4.0.tar.gz
2. gunzip fcgi-2.4.0.tar.gz
3. tar -xvf fcgi-2.4.0.tar
4. cd fcgi-2.4.0
5. ./configure
6. make
7. make install
8. cd ../
Install mod_fcgid
1. cd ~
2. wget http://fastcgi.coremail.cn/mod_fcgid.1.09.tar.gz
3. gunzip
2006 Jul 05
1
newbie question: Mapping Collections
Hi,
Day 3 with rails here. Forgive me. If this has been covered many times
before, pls just point me at the article.
I worked through the Rolling with Rails tutorial
(http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html) built up my
cookbook. Things work great.
I now want to add Ingredients to my app. So, a Recipe will have 1 or
more Ingredients and any single ingredient can be
2006 May 07
6
Unable to get past Tutorial 1 in RubyOnRails
Unable to get past Tutorial 1 in RubyOnRails
On 29 April 2006 I met some one in a Microsoft sponsored developers?
community gahering. I was told that ruby on rails is a free software,
easy to use, and in no time will have my mind blown with all the
wonderful prospects and possibilities.
After almost a week, I am still unable to get past tutorial 1 and still
unable to make any tutorials work
2006 Jun 22
1
Problem integrating rails into apache
Hi all,
I''ve read the guide on integrating rails into apache on the
wiki.rubyonrails.com wiki, but I run into a problem.
I am trying to get the cookbook application as treated in the onlamp
tutorial about ruby on rails to work form apache. I can view the
index.html, but visiting cookbook/recipe/list gives me
Application error
Change this error message for exceptions thrown outside
2005 Mar 09
2
LoadError
Hi,
Im new to both Ruby and Rails, though am impressed by both. I am however
stuck on a problem, when trying to run a demo. I''ve setup a postgresql
database with a cookbook demo as per OnLamp, returned is the following
error message:
LoadError in Recipe#new
No such file to load -- postgres
script/server:48
Has anyone come across this error before? Anyone know how I should go
about
2006 Jun 06
4
Rails keeps adding the letter s to the MySQL tablename.
I followed this tutorial for Ruby on Rails...
http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html?page=1
Everything went fine. I created the DB in MySQL and tested the
recipe/new and recipe/list functions, and all went smooth.
Now I''m trying to use Ruby on Rails to track software licenses here at
work and I keep running into this strange problem. I am setting up the
DB,
2006 Jul 30
8
Method_missing from Ruby for Rails book
I''m having a problem getting this example from the book to work:
class Cookbook
attr_accessor :title, :author
def initialize
@recipes = []
end
def method_missing(m, *args, &block)
@recipes.send(m, *args, &block)
end
end
cb = Cookbook.new
cb << recipe_for_cake
cb << recipe_for_chicken
beef_dishes = cb.find_all {|recipes| recipe.main_ingredient ==
2006 Jan 05
1
recipes/categories to books/authors but listing doesn''t work
People,
I have gone through the cookbook example:
http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html?page=1
and everything worked fine an a FC4/Postgres setup.
I then tried to reproduce this success with something that would be
useful to me - a library db using books & authors tables. The author
list works but NOT the book list (unless I take line #17 out).
I get this message:
2006 May 03
2
WEBrick initialisation error
I am new to Ruby so I thought the best way to get into it would be to
follow the ONLamp "Rolling with Ruby on Rails" intro. I followed the
instructions to the letter and everything work just great, very
impressive:-).
A couple of days later when I went back to it I got the following
message when trying to start the WEBrick server.
U:\RoRProjects\cookbook>ruby script\server
=>