mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 10:43:43 +08:00
Include binstubs generated by Rails 4
Commit b516ecc added `bin/` to the .gitignore file. Now that Discourse runs using Rails 4 by default, however, we should include the binstubs generated by `rake rails:update:bin` in version control as this is the recommendation of the Rails core team. Additionally, for those wishing to deploy Discourse to Heroku, these binstubs are actually mandatory according to [this article](https://devcenter.heroku.com/articles/rails4). Other binstubs can continue to be ignored. Signed-off-by: David Celis <me@davidcel.is>
This commit is contained in:
parent
113057bfa9
commit
49bc7692bf
3
bin/bundle
Executable file
3
bin/bundle
Executable file
@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env ruby
|
||||
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
|
||||
load Gem.bin_path('bundler', 'bundle')
|
4
bin/rails
Executable file
4
bin/rails
Executable file
@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env ruby
|
||||
APP_PATH = File.expand_path('../../config/application', __FILE__)
|
||||
require_relative '../config/boot'
|
||||
require 'rails/commands'
|
Loading…
x
Reference in New Issue
Block a user