[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

reply to closed post: error with rails generate script

idletask

6/10/2006 3:54:00 PM

I also had an error with ruby's script/generate call - exactly the same
error as you had:

/usr/local/lib/ruby/1.8/yaml.rb:133:in `load': syntax error on line 16,
col 2: ` password:' (ArgumentError)
from /usr/local/lib/ruby/1.8/yaml.rb:133:in `load'
from
/usr/local/lib/ruby/gems/1.8/gems/rails-1.1.0/lib/initializer.rb:459:in
`database_configuration'
from
/usr/local/lib/ruby/gems/1.8/gems/rails-1.1.0/lib/initializer.rb:181:in
`initialize_database'
from
/usr/local/lib/ruby/gems/1.8/gems/rails-1.1.0/lib/initializer.rb:84:in
`process'
from
/usr/local/lib/ruby/gems/1.8/gems/rails-1.1.0/lib/initializer.rb:42:in
`run'
from ./script/../config/../config/environment.rb:10
from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require'
from
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.0/lib/active_support/dependencies.rb:136:in
`require'
from
/usr/local/lib/ruby/gems/1.8/gems/rails-1.1.0/lib/commands/generate.rb:1
from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require'
from
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.0/lib/active_support/dependencies.rb:136:in
`require'
from script/generate:3

It seems that the database.yml file is very picky.

I had to place a space between the "username" field and the actual
username..

<before/>
development:
adapter: mysql
database: depot_development
username:root
password:
host: localhost

<after/>
development:
adapter: mysql
database: depot_development
username: root #note the space here!
password:
host: localhost

- and then it would work.

3 Answers

Psyborgue

3/13/2008 7:55:00 AM

0

On Mar 13, 3:55 am, "Nelson" <nhenders...@cogeco.ca> wrote:
> "capricious" <pokers...@beer.com> wrote in message
>
> news:0530a01e-bca0-4a57-bee2-310fc8e3bcb5@d4g2000prg.googlegroups.com...
>
>
>
> > On Mar 12, 6:43 pm, "Nelson" <nhenders...@cogeco.ca> wrote:
> >> "Alert" <flicking_you...@hotmail.com> wrote in message
>
> >>news:13df1f36-a933-4312-a9e1-df71479119ea@s19g2000prg.googlegroups.com...
>
> >> >http://www.youtube.com/watch?v=2...
>
> >> >http://www.xenu.net/archive/multimedia....
> >> > "Actually, have you ever noticed how a negro, in particular, down
> >> > south, where they're pretty close to the soil, personifies MEST? The
> >> > gate post and the wagon and the whip and anything around there. A hat
> >> > -- they talk to 'em, you know. "Wassa madda wit you, hat?" [laughter].
> >> > They imbue them, with personality."
>
> >> Well that was a nice hatchet job. But anyone listening to the whole
> >> portion
> >> of that would see that was taken out of context and in reality Ron was
> >> complimenting that race on an ability the white man seems to have lost.
> >> So,
> >> stfu.
>
> >> Nelson
>
> > Just like his "not smoking enough will cause cancer" comment, right
> > Nelson?
>
> > Since it was taken out of context and you are well aware of this, then
> > you should certainly have no problem providing the proper context its
> > lacking?
>
> > I fail to see how with any stretch of the imagination that he could
> > say something like "they talk to em you know, they imbue them with
> > personality."  Furthermore, can you please tell me how the tone and
> > emphasis in his voice ALONE during the "Whats da matter with you, you
> > hat?" comment is OBVIOUSLY a very slanderous and mocking tone.
>
> > The more of your posts that I read, the deeper my sympathy is for
> > you.  I'm serious.
>
> Well Ms.-Smarty-Pants, tell me the name and data of the tape and I will do
> what you ask.
> I remember hearing the tape but not which one.  Of course the maker of the
> video does not provide the reference and so a rebuttal is made more
> difficult.  I say you are one dishonest anti-scientologist trying to prevent
> the unmasking of dishonesty in another anti-scientologist.  Your agreement
> with my opinion is not necessary.
>
> Nelson

Therapy Section of Technique 80: Part I, Route to Infinity, 21 May
1952

This includes all the sources: http://www.xenu.net/archive/multimedia....

capricious

3/13/2008 3:30:00 PM

0

On Mar 13, 7:28 am, Ronnie Marks <Ron...@RonnieMarks.org> wrote:
> Sometime near Wed, 12 Mar 2008 22:55:10 -0400, "Nelson" <nhenders...@cogeco.ca>
> may have written:
>
> >Well Ms.-Smarty-Pants,
>
> Nelson,
>
> How old are you?
>
> Because you act like you have
> the intelligence of an 8 year old.
>
> I really would like to know,
> and you education history might help
> all of us understand you better, as well.
>
> --
> Pride grows in the human heart like lard on a pig.
> - Alexander Solzhenitsyn

I second the curiosity. I would also like to know.

Since it's only fair: I am 27 years old myself with a high school
education with a few intro college courses (psychology, marketing and
advertising*). I was introduced to the computer at age 11 and the
internet at age 13. I'm a self-taught freelance graphic designer
specializing in web design, layout and print design, custom vector
illustrations and corporate identities.

My religious background is composed of exposure to many different
religions all on my own accord (Baptism, Catholicism, Christianity and
Mormonism). I consider myself pretty much an Atheist and do not
believe in anything spiritual whatsoever, but respect and understand
how those who do believe, do. As I've said previously, I actually am
jealous anyone could believe in something so fanciful while convinced
it truly helps them in their lives.

(* Courses were taken not with the intention of obtaining any degree,
but to satisfy my own personal curiosity and expand my general
understanding of these subjects.)

Alert

3/17/2008 11:36:00 PM

0

"I was quite pleased with our results in Savannah, picking up people
there who were carried through on what the South considered an
adequate education for a Negro. By the time he got through a Negro
high school he was about as well educated as a third grader! And they
wondered sometimes why they were a little bit backward. If they had
paid attention to that educational quota they would have seen that
country advance.

But these people were not responding on an educated basis at all. I
would try to explain to them, sometimes without calling it Dianetics,
how the mechanism worked. "Yes, yes," they would reply very politely,
"you're an awful smart man, Mr. Hubbard. Yes, sir. Yes, doctor."

"I'm not a doctor."

"Yes, doctor."

That was the sort of reaction I received. And yet I would ask them to
give me flash answers, and I would take them down the track, breaking
a couple of locks, and getting these blow-offs and smiles, with the
person feeling very cheerful and happy about it.

And I would ask them, "What are you laughing about, why are you so
cheerful?"

"I don't know, doctor. It just seemed funny. Ain't it supposed to be
funny?"

And yet when they got to thinking over it, they were laughing about
their mother's death or something. In other words, the technique was
working on them."

L. Ron Hubbard
Lecture 24 July 1950: DIAGNOSIS DATA Using the Dramatization as a Key