Fix path_prefix when Rails.root is nil
Merge pull request #3 from Fatsoma/fix/path_prefix

Fix path_prefix when Rails.root is nil