Merge pull request #4 from mikesager/master
Fixed bug on app start: no such file to load -- flowplayer/engine (LoadError)
This commit is contained in:
commit
280774db08
@ -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
Block a user