Hintergrundinfo läuft:Fehler // Usage: Schienen neue APP_PATH [Optionen] // wenn ‚Schienen-Server‘
ich GIT bin mit einem Repository eines Projekts mit Ruby-Dateien in es zu bekommen. Das Projekt befindet sich in meinem SITES-Ordner unter dem Home-Verzeichnis auf meinem Mac.
Ich habe Rubin: 1.8.7
ich Rails nur aktualisiert haben: 3.0.3
Alles, was ich zu tun versuche, ist in der Lage sein localhost.com:3000 in meinem Browser zu machen von das GIT-Projekt, das ich bereits heruntergeladen habe, damit ich lokal daran arbeiten kann.
lief ich den Befehl ‚Schienen Server‘ und wurde die Meldung unter ::
Usage:
rails new APP_PATH [options]
Options:
[--skip-gemfile] # Don't create a Gemfile
-m, [--template=TEMPLATE] # Path to an application template (can be a filesystem path or URL)
-d, [--database=DATABASE] # Preconfigure for selected database (options: mysql/oracle/postgresql/sqlite3/frontbase/ibm_db)
# Default: sqlite3
-O, [--skip-active-record] # Skip Active Record files
-J, [--skip-prototype] # Skip Prototype files
-T, [--skip-test-unit] # Skip Test::Unit files
[--dev] # Setup the application with Gemfile pointing to your Rails checkout
-r, [--ruby=PATH] # Path to the Ruby binary of your choice
# Default: /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
-G, [--skip-git] # Skip Git ignores and keeps
-b, [--builder=BUILDER] # Path to an application builder (can be a filesystem path or URL)
[--edge] # Setup the application with Gemfile pointing to Rails repository
Runtime options:
-f, [--force] # Overwrite files that already exist
-s, [--skip] # Skip files that already exist
-p, [--pretend] # Run but do not make any changes
-q, [--quiet] # Supress status output
Rails options:
-h, [--help] # Show this help message and quit
-v, [--version] # Show Rails version number and quit
Description:
The 'rails new' command creates a new Rails application with a default
directory structure and configuration at the path you specify.
Example:
rails new ~/Code/Ruby/weblog
This generates a skeletal Rails installation in ~/Code/Ruby/weblog.
See the README in the newly created application to get going.
Ich bekomme den gleichen Fehler und ich bin auch im richtigen Verzeichnis. Gibt es noch etwas, das das verursacht? – Ava
Was passiert, wenn Sie versuchen, "rails c" zu fahren? Wie lautet der Name Ihrer App und aus welchem Verzeichnis führen Sie den Serverbefehl aus? –
Hey David, ich habe es gelöst. Ich musste Skript/Server ausführen und iconv installieren. – Ava