Topic: WEBrick won't start on clone from Git.

I'm using Windows.

When I do this, WEBrick starts up fine, and I can see the correct page at localhost:3000.

  • rails new myproject  (creates new project)

  • cd C:\Sites\myproject  (go to the project folder)

  • rails s

When I create a project by cloning from git, WEBrick won't start.
I do this:

And get this message:



C:\Sites\mailr>rails s
Usage:
  rails new APP_PATH [options]

Options:
  -r, [--ruby=PATH]              # Path to the Ruby binary of your choice
                                 # Default: C:/RailsInstaller/Ruby1.9.3/bin/ruby
.exe
  -b, [--builder=BUILDER]        # Path to a application builder (can be a files
ystem path or URL)
  -m, [--template=TEMPLATE]      # Path to an application template (can be a fil
esystem path or URL)
      [--skip-gemfile]           # Don't create a Gemfile
      [--skip-bundle]            # Don't run bundle install
  -G, [--skip-git]               # Skip Git ignores and keeps
  -O, [--skip-active-record]     # Skip Active Record files
  -S, [--skip-sprockets]         # Skip Sprockets files
  -d, [--database=DATABASE]      # Preconfigure for selected database (options:
mysql/oracle/postgresql/sqlite3/frontbase/ibm_db/sqlserver/jdbcmysql/jdbcsqlite3
/jdbcpostgresql/jdbc)
                                 # Default: sqlite3

Re: WEBrick won't start on clone from Git.

I still haven't solved this.

Any assistance is appreciated.

Thanks!
Adam

Re: WEBrick won't start on clone from Git.

It's probably a 2.x app
instead of

rails s

try

script/server

Make sure you have rails 2 installed
(rvm will help)

What you want and what you need are too often not the same thing!
When your head is hurting from trying to solve a problem, stop standing on it. When you are the right way up you will see the problem differently and you just might find the solution.
(Quote by me 15th July 2009)

Re: WEBrick won't start on clone from Git.

I agree with James, visiting the indicated GIT url confirms that it is Rails 2.3.2 version application.