Are you happy with your logging solution? Would you help us out by taking a 30-second survey? Click here


A Ruby library for finding files in a set of paths

Subscribe to updates I use hike

Statistics on hike

Number of watchers on Github 144
Number of open issues 1
Average time to close an issue 17 days
Main language Ruby
Average time to merge a PR 8 days
Open pull requests 0+
Closed pull requests 8+
Last commit over 4 years ago
Repo Created about 9 years ago
Repo Last Updated almost 2 years ago
Size 310 KB
Organization / Authorsstephenson
Page Updated
Do you use hike? Leave a review!
View hike activity
View on github
Fresh, new opensource launches 🚀🚀🚀
Trendy new open source projects in your inbox! View examples

Subscribe to our mailing list

Evaluating hike for your project? Score Explanation
Commits Score (?)
Issues & PR Score (?)


Hike is a Ruby library for finding files in a set of paths. Use it to implement search paths, load paths, and the like.


Find Ruby files in this project:

trail = "/Users/sam/Projects/hike"
trail.append_extension ".rb"
trail.append_paths "lib", "test"

trail.find "hike/trail"
# => "/Users/sam/Projects/hike/lib/hike/trail.rb"

trail.find "test_trail"
# => "/Users/sam/Projects/hike/test/test_trail.rb"

Explore your Ruby load path:

trail = "/"
trail.append_extensions ".rb", ".bundle"
trail.append_paths *$:

trail.find "net/http"
# => "/Users/sam/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/net/http.rb"

trail.find "strscan"
# => "/Users/sam/.rvm/rubies/ree-1.8.7-2010.02/lib/ruby/1.8/i686-darwin10.4.0/strscan.bundle"

Explore your shell path:

trail = "/"
trail.append_paths *ENV["PATH"].split(":")

trail.find "ls"
# => "/bin/ls"

trail.find "gem"
# => "/Users/sam/.rvm/rubies/ree-1.8.7-2010.02/bin/gem"


$ gem install hike


Copyright (c) 2011 Sam Stephenson.

Released under the MIT license. See LICENSE for details.

hike open issues Ask a question     (View All Issues)
  • over 5 years Missing tag for 2.1.3
hike questions on Stackoverflow (View All Questions)
  • android send intent to specific contact (whatsapp, sms, hike, etc.)
  • Filter contactlist with viber/line/hike accounts
  • C# web api leaves TIME_WAIT status and 90% cpu hike on the server
  • How hike(version- is showing floating action button on whatsapp application
  • How to share link via hike html (anchor tag href)
  • openstreetmap hike bike map
  • How to Create Instant Chat App in android like whatsapp and hike with simple ui
  • share images through android app on facebook hike google plus
  • iOS: what can cause a sudden CPU usage hike?
  • OpenLayer/OpenStreetMap Hike&Bike Map
  • cpu hike for aws operations
  • Single Sign On as Whats App or Hike or Facebook
  • uigraphicsgetimagefromcurrentimagecontext memory hike
hike list of languages used
Other projects in Ruby