Fix bug on requiring
Fix bug occured when generating gem file