Ruby on Rails Friday, December 11, 2015

Colin Law wrote in post #1179830:
> On 11 December 2015 at 10:25, Naresh Jilla <lists@ruby-forum.com> wrote:
>> hi all,
>> How to install WEBrick server in ubuntu14.0
>
> There is no Ubuntu 14.0, perhaps you mean 14.04.
>
> What exactly are you trying to do? Do you mean that you want it to be
> used when you run rails s? If so then which version of rails are you
> using?
>
> Colin

Hi Colin,

my rails version is 4.0.2,ruby version is 1.9.3p484 and i am trying to
design login page but when i try to start rails server following is
message coming and i am not able open on the browser by localhost
because it doesnot display any port number

guest-QI1NUN@bitstack-vindhya:~$ rails s
Usage:
rails new APP_PATH [options]

Options:
-r, [--ruby=PATH] # Path to the Ruby binary of your
choice
# Default: /usr/bin/ruby
-m, [--template=TEMPLATE] # Path to some application template
(can be a filesystem path or URL)
[--skip-gemfile] # Don't create a Gemfile
-B, [--skip-bundle] # Don't run bundle install
-G, [--skip-git] # Skip .gitignore file
[--skip-keeps] # Skip source control .keep files
-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 to your Rails checkout
[--edge] # Setup the application with Gemfile
pointing to Rails repository
-T, [--skip-test-unit] # Skip Test::Unit files
[--rc=RC] # Path to file containing extra
configuration options for rails command
[--no-rc] # Skip loading of extra configuration
options from .railsrc file

Runtime options:
-f, [--force] # Overwrite files that already exist
-p, [--pretend] # Run but do not make any changes
-q, [--quiet] # Suppress 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.

--
Posted via http://www.ruby-forum.com/.

--
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+unsubscribe@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/fcb6f1ee7e9edaa69219a4e1454fcdad%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment