dineshpanda
c3a08f8844
[ci skip] Refer actionmailbox and actiontext in the guide
2019-06-26 03:07:50 +05:30
Ben Thorner
2e5ec9a6ef
Allow using env var to specify pidfile
...
Previously it was only possible to specify the location of the pidfile
for the 'rails server' command with the '-P' flag. This adds support for
specifying the pidfile using a PIDFILE env var, which can still be
overridden by the '-P' flag and with the default pidfile path unchanged.
The motivation for this feature comes from using Docker to run multiple
instances of the same rails app. When developing a rails app with
Docker, it's common to bind-mount the rails root directory in the
running container, so that changes to files are shared between the
container and the host. However, this doesn't work so well with the
pidfile and it's necessary to (remember to) add a '-P' flag to the
'rails server' command line; being able to specify this flag using an
env var would make developing with Rails+Docker a bit simpler.
2019-06-19 14:06:38 +01:00
kojoma
731cb4f26c
[ci skip] Fix rails/command.rb document
2019-06-10 15:46:45 +09:00
Paul McMahon
7b9c19d94b
Rails guides are now served over https
...
http links will be redirected to the https version, but still better to
just directly link to the https version.
2018-07-24 11:29:31 +09:00
sohopro
a2fa326139
fix error of a file name
2018-07-02 16:03:23 +09:00
willnet
534f550989
[ci skip]Change requring order of files in doc
...
This change was made at 4a835aa3236eedb135ccf8b59ed3c03e040b8b01
2018-02-27 17:10:25 +09:00
Yauheni Dakuka
b6baf0c884
Cosmetic changes [ci skip]
2017-11-30 09:35:26 +03:00
yuuji.yaginuma
ad80cef22d
Remove not used gems by default [ci skip]
...
`rack-mount` switched to journey with 5f0b37c.
Also, `rack-cache` will not be used unless you explicitly specify it.
Ref:
037e50ec39
1fc7954685
2017-09-11 07:42:08 +09:00
Yoshiyuki Hirano
0027629cf6
Update The Rails Initialization Process of guide [ci skip]
2017-08-20 09:41:37 +09:00
Koichi ITO
3a900a4e36
Replace Erubis with Erubi in a part of guide [ci skip]
2017-07-16 23:33:02 +09:00
James Bush
fd54d8449a
Fix grammar for documentation of rails/command.rb [ci skip]
2017-06-28 13:06:57 -04:00
yuuji.yaginuma
073f4ecb14
allow to pass describe option to rake
...
Since `Thor::HELP_MAPPINGS` contains `-D`, so `bin/rails -D` show
rails's help. But, in Rails 5.0.1, `bin/rails -D` show the description
of rake task. I think that it is better to have the same behavior.
2017-01-17 14:14:59 +09:00
Kasper Timm Hansen
e592ee20a9
[ci skip] Update initialization guide samples.
...
Rewrite bits and pieces to mention the command infrastructure.
2016-12-20 20:13:22 +01:00
Vipul A M
06658f1d9d
Merge pull request #26390 from Neodelf/format_mds
...
[ci skip] Simply formatting documents
2016-09-07 00:57:19 +05:30
Neodelf
e0e7047233
[ci skip] Simply formatting documents
2016-09-06 22:23:49 +03:00
Ryunosuke Sato
b9e98d62c2
Remove the word "mongrel" from documents
...
Currently mongrel is not maintained.
And it couldn't be built with any Ruby versions that
supported by Rails.
It is reasonable to remove the word "mongrel" in order to avoid
confusion from newcomer.
2016-09-07 01:59:37 +09:00
Gaurav Sharma
ef4972a338
update doc for prefer require_relative over require + File.expand_path [ci skip]
2016-07-07 01:54:57 +05:30
willnet
9da3720ba9
[ci skip] Remove reference to Rails 4 in the initialization guide.
...
Following commit removed reference to rails 4, but there is one left.
a9f50f87c3
2016-07-06 22:57:24 +09:00
Vijay Dev
598816f630
Merge branch 'master' of github.com:rails/docrails
...
Conflicts:
guides/source/association_basics.md
2016-03-06 06:58:36 +00:00
Sam Ruby
56ed162bf3
Match Puma 3 startup messages [ci skip]
2016-03-04 16:38:34 -05:00
Prathamesh Sonpatki
a9f50f87c3
[ci skip] Remove reference to Rails 4 in the initialization guide.
2016-02-26 15:52:21 +05:30
Ryan Nielson
ac1427d6ca
Change command_task.rb to commands_task.rb in docs
...
The initialization documentation references `rails/commands/command_task.rb`. This appears to be a typo as the file is actually `rails/commands/commands_task.rb`.
2016-02-02 09:20:10 -04:00
Kasper Timm Hansen
e129c0698c
[ci skip] Update rails/all.rb reference.
...
It didn't mention Action Cable's engine.
2015-12-30 22:30:29 +01:00
Kasper Timm Hansen
3e65c3d388
Merge branch 'rails-rake-proxy'
2015-12-13 21:44:03 +01:00
Dharam Gollapudi
52f2f9810e
Implement Rake proxy for Rails' command line interface.
...
Allows any Rake task to be run through `bin/rails` such as `bin/rails db:migrate`,
`bin/rails notes` etc.
The Rake tasks are appended to Rails' help output, and blend in as standard commands.
2015-12-13 20:59:41 +01:00
AnnaErshova
6eada87b61
Edits default config/boot.rb
to match what's generated by Rails 4.2.
2015-10-26 15:22:30 -04:00
Rafael Mendonça França
99c042b3cc
Merge pull request #19867 from radar/rename-app-rails-loader
...
Remove redundant 'Rails' from Rails::AppRailsLoader constant
2015-05-27 21:41:06 -03:00
Jake Gavin
c9f05c92a5
Remove unnecessary reference to example Blog app [ci skip]
2015-05-27 12:24:06 -07:00
Ryan Bigg
f9640b0900
Remove redundant 'Rails' from Rails::AppRailsLoader constant
2015-05-21 16:50:41 +10:00
Ankit Gupta
d9e76bd389
docs: syncing with the code, adding aj [ci skip]
2015-05-08 15:22:28 -04:00
Ankit Gupta
1b62428c13
added activejob in list [ci skip]
2015-05-07 22:24:06 -04:00
Islam Wazery
4521aadae0
Rename railties/bin to railties/exe
...
That will match the new Bundler executables convention.
Bundler Blog Post: http://bundler.io/blog/2015/03/20/moving-bins-to-exe.html
Also updated the necessary tests.
2015-04-11 19:26:34 +02:00
Szymon Madeja
1fda385cdf
Update command_tasks source code
2015-04-05 17:10:40 +02:00
Jeremy Kemper
5154089c18
Revert "Merge pull request #19404 from dmathieu/remove_rack_env"
...
Preserving RACK_ENV behavior.
This reverts commit 7bdc7635b885e473f6a577264fd8efad1c02174f, reversing
changes made to 45786be516e13d55a1fca9a4abaddd5781209103.
2015-03-20 08:14:11 -07:00
Damien Mathieu
d578cbfb5c
don't fallback to RACK_ENV when RAILS_ENV is not present
2015-03-19 10:06:28 +01:00
Vipul A M
5cfaf5a46e
- Changed IN
to ON
in markdown renderer condition
...
- Changed `IN` to `ON` in all note sentences in guides.
2015-01-14 11:52:13 +05:30
Robin Dupret
1fd44213aa
Remove the tmp/sessions folder and its clear task
...
Commit 1aea470 introduced this directory but this was at a time when the
default way to store sessions was on the file system under the tmp
directory.
Let's remove references to it from the documentation as well.
[Robin Dupret & yui-knk]
2015-01-03 19:42:07 +01:00
Xavier Noria
7702974281
warn about reading guides in GitHub
...
References #18148 .
2014-12-23 23:32:50 +01:00
Washington Luiz
da3d6c91ce
treetop is no longer a mail (rails) dependency
...
see 2da7c7985c
2014-08-24 15:24:07 -03:00
Robin Dupret
9ca0f8da2a
Tiny documentation fixes [ci skip]
2014-06-29 20:15:28 +02:00
Juanito Fatas
092f53ef97
[ci skip] Add missing colon and period in initialization.md.
2014-06-25 11:15:57 +08:00
Anton Kalyaev
5facaca7d8
wrap methods in backticks [ci skip]
2014-04-19 14:19:53 +04:00
Marcel Morgan
2ddbe87e7a
Update documentation to use Rails.application instead
...
References to ``AppName::Application` removed in favour of ``Rails.application``
as generated with a new rails 4.1 app.
[ci skip]
2014-04-13 05:52:04 -05:00
Juanito Fatas
3664e3a430
[ci skip] Update code snippets to latest master (initialization.md).
...
Also update the `server.run` example (Replace Mongrel with Puma).
2014-04-10 22:44:47 +08:00
Yves Senn
56fa194daa
docs, update broken link. [ci skip]
...
from https://github.com/rack/rack/blob/master/lib/rack/server.rb#L289-L300 .
2014-02-10 15:32:01 +01:00
Xavier Noria
28a6a7ea3b
a couple of copy-edits before merging [ci skip]
2013-11-24 19:55:46 +01:00
Alex Johnson
5735a77def
Fix RailsServer#start content in initialization guide
...
[ci skip]
2013-11-12 19:14:13 +05:30
Alex Johnson
83271a64f9
Add section for command_tasks in initialization guide
...
[ci skip]
2013-11-08 15:14:01 +05:30
Alex Johnson
3d449dee5e
Update commands.rb content in initialization guide
...
[ci skip]
2013-11-08 15:07:39 +05:30
Alex Johnson
cb632188b3
Update Rails initialization guide to explain how bin/rails is executed
2013-11-06 18:24:22 +05:30