Fixed bug on app start: no such file to load -- flowplayer/engine (LoadError)
This commit is contained in:
parent
ee1c1e346e
commit
6f6a79d89a
|
@ -2,7 +2,7 @@ require 'flowplayer/player'
|
|||
|
||||
if defined?(Rails)
|
||||
if Rails::VERSION::MAJOR == 3 && Rails::VERSION::MINOR >= 1
|
||||
require 'flowplayer/engine'
|
||||
require 'flowplayer/railties/engine'
|
||||
end
|
||||
require 'flowplayer/railtie'
|
||||
end
|
Loading…
Reference in New Issue