José Valim
6b248f6ea5
Add more information to comments.
2010-09-30 10:33:31 +02:00
Piotr Sarnacki
9f569c60ad
Try to guess application's directory while trying to run the server, but only if config.ru is not present in current dir
2010-09-30 10:27:55 +02:00
Piotr Sarnacki
6648babded
Allow running generators for Engine with usage of other application.
...
After that commit, developers can set ENGINE_PATH in ENGINE/scripts/rails
file and load application's ./script/rails (most of the time it will be
dummy application used for testing). When running ./script/rails g it will
use application to boot up, but then it will use Engine's root and
configuration for generators.
2010-09-30 09:47:06 +02:00
wycats
123eb25fd1
Add a header that tells Internet Explorer (all versions) to use the best available standards support. This ensures that IE doesn't go into quirks mode because it has been blacklisted by too many users pressing the incompatible button. It also tells IE to use the ChromeFrame renderer, if the user has installed the plugin.
...
This guarantees that the best available standards support will be used on the client.
2010-07-27 19:25:07 -07:00
José Valim
53b34e8476
Avoid calls to Rails::Application since this is not the official API.
...
Your application should *always* reference your application const (as Blog::Application) and Rails.application should be used just internally.
2010-07-01 18:43:44 +02:00
Mikel Lindsaar
4774680405
Changing command line API from 'rails blog' to 'rails new blog'.
...
Also removed the limitation of not being able to call your new server any of
the rails commands (generate, server, dbconsole, console etc) as there is
no longer any ambiguity here.
http://rails.lighthouseapp.com/projects/8994/tickets/4665
Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
2010-06-04 12:30:03 -05:00
José Valim
1bea5c755c
Ops. Rename performance to profiler.
2010-04-29 09:31:06 +02:00
José Valim
1b816d5024
The rake task :environment now loads config/environment.rb instead of initializing the application on its own. This fixes [ #4492 state:resolved] and also avoids the application being initialized twice in some rake tasks.
2010-04-29 08:39:52 +02:00
José Valim
611744ebd3
Load the environment before executing rails console. [ #3905 status:resolved]
2010-03-12 20:41:41 +01:00
José Valim
2b0611b9bb
Revert "Always load the environment before executing any command. [ #3905 status:resolved]"
...
This reverts commit 16846553b8
.
2010-03-12 20:40:34 +01:00
José Valim
16846553b8
Always load the environment before executing any command. [ #3905 status:resolved]
2010-03-12 12:53:22 +01:00
Simo Niemelä
cafe882d12
Fix server environment [ #3877 status:resolved]
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-02-10 08:14:02 +01:00
Jeremy Kemper
39ebd6eb2b
rails runner loads environment after parsing command-line options
2010-02-09 08:40:21 -08:00
José Valim
7f7dfd2bab
Take into account gem versions (so script/rails server can work outside the application) and use Rails::Application.root instead of ROOT_PATH.
2010-02-08 16:05:22 +01:00
Jeremy Kemper
293fd9daf8
server command loads the application
2010-02-04 10:50:14 -08:00
José Valim
06860dcf29
Remove duplicated version check.
2010-02-04 14:14:11 +01:00
Mikel Lindsaar
1ae543a180
-v and --version params now work on rails script in or our of an app
2010-02-04 11:57:13 +11:00
José Valim
efa850558f
Make bin/rails call rails/commands/application, fix generators usage and update .gitignores.
2010-02-03 18:49:47 +01:00
Yehuda Katz + Carl Lerche
f0dd77c6be
Move railties/lib/* into railties/lib/*
2009-09-24 16:11:41 -07:00