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 defined?(Rails)
|
||||||
if Rails::VERSION::MAJOR == 3 && Rails::VERSION::MINOR >= 1
|
if Rails::VERSION::MAJOR == 3 && Rails::VERSION::MINOR >= 1
|
||||||
require 'flowplayer/engine'
|
require 'flowplayer/railties/engine'
|
||||||
end
|
end
|
||||||
require 'flowplayer/railtie'
|
require 'flowplayer/railtie'
|
||||||
end
|
end
|
Loading…
Reference in New Issue