Skip to content
/ tail Public

ruby gem, which provides possibility to see your Rails application .log files via browser

License

Notifications You must be signed in to change notification settings

k2m30/tail

Repository files navigation

Gem Version Code Climate

##Description

Tail command for your .log files via browser. In order to have a quick access to your .log files this gem provides *nix tail command functionality to your Rails application. If something goes wrong you don't have to ssh to your server anymore. Now you have normal scroll and search in browser instead of nano, eamacs, vim, mcedit - name it.

Also you can highlight any particular string you are looking for.

How it works

##Installation

Just include it into your Gemfile

gem 'tail'

run bundle install and mount it at your config/routes.rb like this:

mount Tail::Engine, at: "/tail"

After this, you will see all your .log files available at /tail path.

Of course, you can mount it at: "/whatevername" you like.

If you use Devise for authentication, gem will use it also.

##Requirements

Any *nix (including Mac OS) system.

Ruby 1.9.3+

Rails 3.2+

No other gems required. No jQuery or any JS frameworks required.

##License

This gem uses MIT-LICENSE. Fork it or create pull request. Any contribution is appreciated.

About

ruby gem, which provides possibility to see your Rails application .log files via browser

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •