mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 13:09:18 +08:00
no need "booting rails 4" message, just add booting rails 3 for now
This commit is contained in:
parent
89a96b9e94
commit
a45334d2b9
4
Gemfile
4
Gemfile
|
@ -24,12 +24,14 @@ if rails4?
|
|||
# A bit messy, this can be called multiple times by bundler, avoid blowing the stack
|
||||
unless self.method_defined? :to_definition_unpatched
|
||||
alias_method :to_definition_unpatched, :to_definition
|
||||
puts "Booting in Rails 4 mode"
|
||||
end
|
||||
def to_definition(bad_lockfile, unlock)
|
||||
to_definition_unpatched(Bundler::SharedHelpers.default_lockfile, unlock)
|
||||
end
|
||||
end
|
||||
else
|
||||
# Note to be deprecated, in place of a dual boot master
|
||||
puts "Booting in Rails 3 mode"
|
||||
end
|
||||
|
||||
gem 'seed-fu' , github: 'SamSaffron/seed-fu'
|
||||
|
|
Loading…
Reference in New Issue
Block a user