Showing posts with label ruby. Show all posts
Showing posts with label ruby. Show all posts

Wednesday, July 9, 2014

Ruby Regex

Just wanted to pass along two very useful sites for regular expressions with Ruby

Ruby regex calculator:

http://rubular.com/

Ruby regex documentation:

http://www.tutorialspoint.com/ruby/ruby_regular_expressions.htm

Tuesday, April 26, 2011

Install capistrano on RHEL or CentOS

Capistrano is great for automating system tasks. Here is how to install it on RPM-based systems:

# yum install ruby rubygems
# gem install mocha echoe rake capistrano

Please note that mocha, echoe are optional for tests, but I included them in these instructions.