This is the command: …/script/setup_database production
Run it how?! When one types this command into Termial, one gets a
massive error! Does anybody know if I need to go to a specific directory
before I run this command? If yes, does anybody know where I must go and
what such a command would look like in Terminal?
I’m close, I just know it, but I cannot get this to work.
I have logged in and logged out a million times, and googled, and tried
everything I can to get help.
Have you looked at the script?
What does the first line say?
What language is it in?
Where is your ruby executable?
Jena Jena said the following on 03/07/2007 03:44 PM:
Here’s their document/instructions:
I’m close, I just know it, but I cannot get this to work.
I have logged in and logged out a million times, and googled, and tried
everything I can to get help.
Any advice would be appreciated.
Thank you!
–
Men fear thought as they fear nothing else on earth, more than ruin,
more
even than death. . . . Thought is subversive and revolutionary,
destructive
and terrible, thought is merciless to privilege, established
institutions,
and comfortable habit. Thought looks into the pit of hell and is not
afraid.
Thought is great and swift and free, the light of the world, and the
chief
glory of man.
– Bertrand Russell
I have no idea what language it is in. I’m not a programmer and I’m just
trying to teach myself this stuff.
I also don’t know where my ruby is executable.
If I could figure that out, I’d know how to access the script from
terminal, yes?
Am I even on the right track?
Thank you!
Anton A. wrote:
Have you looked at the script?
What does the first line say?
What language is it in?
Where is your ruby executable?
Jena Jena said the following on 03/07/2007 03:44 PM:
Here’s their document/instructions:
I’m close, I just know it, but I cannot get this to work.
I have logged in and logged out a million times, and googled, and tried
everything I can to get help.
Any advice would be appreciated.
Thank you!
–
Men fear thought as they fear nothing else on earth, more than ruin,
more
even than death. . . . Thought is subversive and revolutionary,
destructive
and terrible, thought is merciless to privilege, established
institutions,
and comfortable habit. Thought looks into the pit of hell and is not
afraid.
Thought is great and swift and free, the light of the world, and the
chief
glory of man.
– Bertrand Russell
Try running the script with the word ‘ruby’ in front of it. If you do
not have Ruby installed, well then I am afraid you have to ask again.
ruby …/script/setup_database production
Regards,
Erik.
Jena Jena wrote:
terminal, yes?
Where is your ruby executable?
Any advice would be appreciated.
institutions,
and comfortable habit. Thought looks into the pit of hell and is not
afraid.
Thought is great and swift and free, the light of the world, and the
chief
glory of man.
– Bertrand Russell
Jena Jena said the following on 03/07/2007 04:00 PM:
Hi!
The first line says: #!/usr/bin/env ruby
^^^^
Hint --------------------|
I have no idea what language it is in. I’m not a programmer and I’m just
trying to teach myself this stuff.
I also don’t know where my ruby is executable.
Do you know what operating system you’re running under?
Hint:
try running "/usr/bin/env ruby"
If I could figure that out, I’d know how to access the script from
terminal, yes?
Yes.
Am I even on the right track?
No.
I’m not trying to be obscure, I’m trying to get you to solve your
problem
instead of calling for help at every hurdle and blindly following
instructions and learning nothing.
I suspect that your are going to have to learn a modicum of, if not
programming in the sense of “C++”, then basic command line scripting and
bit
about Ruby and some background about how Rails works.
Ruby is totally installed - it comes with the package…
I’ll try this now…
Thanks!
Erik van Oosten wrote:
Hi Jena,
Try running the script with the word ‘ruby’ in front of it. If you do
not have Ruby installed, well then I am afraid you have to ask again.
ruby …/script/setup_database production
Regards,
Erik.
Jena Jena wrote:
terminal, yes?
Where is your ruby executable?
Any advice would be appreciated.
institutions,
and comfortable habit. Thought looks into the pit of hell and is not
afraid.
Thought is great and swift and free, the light of the world, and the
chief
glory of man.
– Bertrand Russell
I give up. It’s in there someplace, but I can’t seem to figure out how
to target it.
Thanks for the help!
-Jena
Jena Jena wrote:
Ruby is totally installed - it comes with the package…
I’ll try this now…
Thanks!
Erik van Oosten wrote:
Hi Jena,
Try running the script with the word ‘ruby’ in front of it. If you do
not have Ruby installed, well then I am afraid you have to ask again.
ruby …/script/setup_database production
Regards,
Erik.
Jena Jena wrote:
terminal, yes?
Where is your ruby executable?
Any advice would be appreciated.
institutions,
and comfortable habit. Thought looks into the pit of hell and is not
afraid.
Thought is great and swift and free, the light of the world, and the
chief
glory of man.
– Bertrand Russell
It’s ok now, and MT were, in the end, helpful in helping me.
Thanks so much!
-Jena
Jena Jena wrote:
Nope. No go.
I give up. It’s in there someplace, but I can’t seem to figure out how
to target it.
Thanks for the help!
-Jena
Jena Jena wrote:
Ruby is totally installed - it comes with the package…
I’ll try this now…
Thanks!
Erik van Oosten wrote:
Hi Jena,
Try running the script with the word ‘ruby’ in front of it. If you do
not have Ruby installed, well then I am afraid you have to ask again.
ruby …/script/setup_database production
Regards,
Erik.
Jena Jena wrote:
terminal, yes?
Where is your ruby executable?
Any advice would be appreciated.
institutions,
and comfortable habit. Thought looks into the pit of hell and is not
afraid.
Thought is great and swift and free, the light of the world, and the
chief
glory of man.
– Bertrand Russell