FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
documentcloud/Rakefile at gm_processing · documentcloud/documentcloud · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
This repository was archived by the owner on Mar 11, 2021. It is now read-only.
documentcloud
/
documentcloud
Public archive
Notifications
You must be signed in to change notification settings
Fork
157
Star
425
Code
Issues
194
Pull requests
16
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
documentcloud
/
Rakefile
Copy path
More file actions
More file actions
Latest commit
History
History
History
16 lines (12 loc) · 594 Bytes
Breadcrumbs
documentcloud
/
Rakefile
Copy path
File metadata and controls
16 lines (12 loc) · 594 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
if
[
'test'
,
'development'
,
'staging'
,
'production'
]
.
include?
(
ARGV
.
first
)
environment
=
ARGV
.
first
if
ENV
[
'RAILS_ENV'
]
&&
ENV
[
'RAILS_ENV'
]
!=
environment
STDERR
.
puts
"RAILS_ENV was set to
#{
ENV
[
'RAILS_ENV'
]
}
, but the environment specified was
#{
environment
}
"
exit
1
end
RAILS_ENV
=
ENV
[
'RAILS_ENV'
]
=
environment
end
require
File
.
expand_path
(
'../config/application'
,
__FILE__
)
DC
::
Application
.
load_tasks
Back
|
FazBrowse Home
|
New Git URL