Arkaplan bilgisi çalıştırırken: İçinde Ruby dosyaları ile bir projenin depo almak için GIT kullanıyorumHata // Kullanım: Yeni APP_PATH [seçenekler] raylar // 'raylar sunucu'
. Proje, Mac'imde ana dizinim altındaki SITES klasöründe yaşıyor.
Ben Ruby vardır: 3.0.3
ben başarmaya çalışıyorum tüm benim tarayıcıda localhost.com:3000 işlemek mümkün: Ben sadece Rails yükseltilmiş 1.8.7
Zaten indirdiğim GIT projesi için yerel olarak çalışabilirim.
Ben komutunu 'sunucu raylar' ran ve Yanlış dizindenrails server
çalıştırıyorsanız aşağıda ::
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.
Aynı hatayı alıyorum ve doğru dizinde de yaşıyorum. Buna neden olabilecek başka bir şey var mı? – Ava
"Raylar c" yi çalıştırmayı denerseniz ne olur? Uygulama adınız nedir ve sunucu komutunu hangi dizinden çalıştırıyorsunuz? –
Hey David Çözdüm. Komut dosyası/sunucu çalıştırıp iconv'i yüklemek zorunda kaldım. – Ava