```ruby
File.expand_path('../Gemfile', __FILE__) # /home/tumayun/workspace/code/redis-search/spec/Gemfile
File.expand_path('../Gemfile', File.dirname(__FILE__)) # /home/tumayun/workspace/code/redis-search/Gemfile
```