On Sun, Oct 5, 2014 at 9:14 PM, Juan Torres <cybersys...@gmail.com> wrote:

> I am trying to setup RoR on my test developer node, and I have some
> difficulties when I created my new application. I noticed that the “script”
> directory is not created, which it does not allow me to start hosting the
> web page.

> # rails -v
> Rails 4.1.6

It sounds like you're using an out-of-date tutorial --

>       create  bin
>       create  bin/bundle
>       create  bin/rails
>       create  bin/rake

> IT DOES NOT CREATE THE SCRIPT DIRECTORY

Exactly correct. Rails 4.0 and on don't have a "script" directory;
it's been replaced by "bin".

> # ruby script/server Webrick
> ruby: No such file or directory -- script/server (LoadError)

That's Rails < 4.0 syntax

You would start your local dev server with `rails server` (or `rails s`).
Try running `rails --help` for more info.

> Don't run Bundler as root.

There's really no good reason to run development as root, at least
that I've ever seen; better to use a standard user account to limit the
possibility of accidental damage :-)

HTH and good luck,
-- 
Hassan Schroeder ------------------------ hassan.schroe...@gmail.com
http://about.me/hassanschroeder
twitter: @hassan

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CACmC4yCcvBG6c4XEj7-Z6OFyZfBG%2B8X8vt9MFw6%2BP26hWW0Zqw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to