Technology moves fast! ⚡ Don't get left behind.🚶 Subscribe to our mailing list to keep up with latest and greatest in open source projects! 🏆


Subscribe to our mailing list

hike

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 almost 9 years ago
Repo Last Updated over 1 year ago
Size 310 KB
Organization / Authorsstephenson
Contributors7
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

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

Examples

Find Ruby files in this project:

trail = Hike::Trail.new "/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 = Hike::Trail.new "/"
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 = Hike::Trail.new "/"
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"

Installation

$ gem install hike

License

Copyright (c) 2011 Sam Stephenson.

Released under the MIT license. See LICENSE for details.

hike open issues Ask a question     (View All Issues)
  • about 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- 4.6.0.86) 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