help... cant get localhost

545 views
Skip to first unread message

lane

unread,
Sep 22, 2012, 4:48:54 PM9/22/12
to railsin...@googlegroups.com
Help !  Im obviously new...
3 min into this video... it says to type http://localhost:3000 and I get

Oops! Google Chrome could not connect to localhost:3000

help !

 

Evan Machnic

unread,
Sep 22, 2012, 4:53:06 PM9/22/12
to railsin...@googlegroups.com
Lane,

Did you make sure and run "rails server" from the root of the application directory?

Thanks,


Evan B. Machnic // Application Support Engineer

Engine Yard

The Leading Platform as a Service

Office: 415.994.5365

Skype: evan.ey

Twitter: @emachnic


Laney Bevill

unread,
Sep 22, 2012, 5:12:27 PM9/22/12
to railsin...@googlegroups.com
I ran  "rails s"  (which is what the demo video told me to do)
but I also just ran "rails server" and it did the same thing
 
by "root of the application directory"  ... you do mean the Administrator window?  it seemed to do something when I typed "rails s" .... so I think Im in the right spot...
 
I feel like it is something with my computer protection but I have turned off the Windows firewall...
I also have AVG on there... could that be the problem?
 
I appreciate your thoughts

--
~~ Practice Joy ~~

Evan Machnic

unread,
Sep 22, 2012, 5:20:00 PM9/22/12
to railsin...@googlegroups.com
Lane,

AVG could cause issues if it isn't allowing connections. Can you please paste the output of "rails server" (same thing as "rails s").

Thanks,


Evan B. Machnic // Application Support Engineer

Engine Yard

The Leading Platform as a Service

Office: 415.994.5365

Skype: evan.ey

Twitter: @emachnic






Laney Bevill

unread,
Sep 22, 2012, 10:21:57 PM9/22/12
to railsin...@googlegroups.com

C:\Sites>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
  -j, [--javascript=JAVASCRIPT]  # Preconfigure for selected JavaScript library
                                 # Default: jquery
  -J, [--skip-javascript]        # Skip JavaScript files
      [--dev]                    # Setup the application with Gemfile pointing t
o your Rails checkout
      [--edge]                   # Setup the application with Gemfile pointing t
o Rails repository
  -T, [--skip-test-unit]         # Skip Test::Unit files
      [--old-style-hash]         # Force using old style hash (:foo => 'bar') on
 Ruby >= 1.9

Runtime options:
  -f, [--force]    # Overwrite files that already exist
  -p, [--pretend]  # Run but do not make any changes
  -q, [--quiet]    # Supress status output
  -s, [--skip]     # Skip files that already exist

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.

    You can specify extra command-line arguments to be used every time
    'rails new' runs in the .railsrc configuration file in your home directory.

    Note that the arguments specified in the .railsrc file don't affect the
    defaults values shown above in this help message.

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.

Laney Bevill

unread,
Sep 22, 2012, 10:25:18 PM9/22/12
to railsin...@googlegroups.com
ps... sorry... i have a baby who keeps pulling me away...

Evan Machnic

unread,
Sep 23, 2012, 12:48:02 AM9/23/12
to railsin...@googlegroups.com

Lane,

That should be run from the root if the application eg: C:\Sites\railsinstaller_demo

Evan

Laney Bevill

unread,
Sep 23, 2012, 11:35:06 AM9/23/12
to railsin...@googlegroups.com
worky worky !  thanks you !
Reply all
Reply to author
Forward
0 new messages