Couldn't this be expressed more cleanly as something like:

Rails.root.to_s + "/vendor/assets/javascripts"?

Would mean that this path wouldn't become incorrect if the file ever moved.