26 Feb '12, 7pm

RVM: Ruby Version Manager - Using Cron with RVM

RVM: Ruby Version Manager - Using Cron with RVM

$ rvm help # Documentation Index Documentation > Integration > Cron Using RVM with Cron RVM allows few easy ways to integrate with cron Direct calling RVM generated wrappers. Loading RVM environment files in shell scripts. Direct calling custom RVM wrappers (eg. God). Loading and using RVM in shell scripts. Direct calling RVM generated wrappers For every installed ruby and created gemset RVM creates wrappers for basic command line tools like gem, rake, ruby. You can find them in `$rvm_path/bin`. So when the project ruby is 1.9.2-p290@projectX then the following cron entries will work using the proper environment: 1 0 * * * /usr/local/rvm/bin/ruby-1.9.2-p290@projectX /path/to/script.rb 1 15 * * * /usr/local/rvm/bin/rake-ruby-1.9.2-p290@projectX update stats Loading RVM environment files in shell scripts For every installed ruby and created gemset RVM creates environment fil...

Full article: https://rvm.beginrescueend.com/integration/cron/

Tweets

Ruby Version Manager + Rails Bundler = Magic

rvm.beginrescueend.com 26 Feb '12, 7pm

RVM lets you deploy each project with its own completely self-contained and dedicated environment--from the specific versi...

Bundler

gembundler.com 26 Feb '12, 7pm

Run an executable that comes with a gem in your bundle $ bundle exec rspec spec/models In some cases, running executables ...

Ruby Summary: Ruby Study Notes - Best Ruby Guid...

rubylearning.com 26 Feb '12, 4pm

Ruby Modules are similar to classes in that they hold a collection of methods, constants, and other module and class defin...

Using lasers to find landmines and other bombs

spectrum.ieee.org 26 Feb '12, 10pm

Today we rely on dogs to sniff out hidden explosives. The problem is, you can't debrief a dog, so you can't identify the k...

21 Ruby Tricks You Should Be Using In Your Own ...

rubyinside.com 28 Feb '12, 6am

Some of these are good tricks, some are blindingly obvious to decent programmers, some are unnecessary, and some are actua...

@CLANNAD90710

rubyforge.org 25 Feb '12, 9pm

A self-contained installer that includes the Ruby language, several popular extensions, an HTML Help based API reference, ...

VersionSwitcher 0.6.0 - a RVM like tool for Rub...

rubyflow.com 20 Feb '12, 2pm

VersionSwitcher 0.6.0 - a RVM like tool for Ruby/Python/Node.js and so on Posted by kwatch on February 20, 2012 — 0 commen...

Too LESS? Should You Be Using Sass?

rubyflow.com 28 Feb '12, 4pm

Too LESS? Should You Be Using Sass? Posted by MetaSkills on February 28, 2012 — 0 comments As the author of less-rails and...

CognitiveSEO Version 2 Makes Its Debut

searchenginejournal.com 27 Feb '12, 5pm

Last week I had the privilege to take a virtual tour with founder Razvan Gavrilas on the Version 2 release of CognitiveSEO...

New recommended Ruby version: Ruby 1.9.3-p125 i...

rubyflow.com 16 Feb '12, 10pm

New recommended Ruby version: Ruby 1.9.3-p125 is released Posted by DanielKehoe on February 16, 2012 — 0 comments Ruby 1.9...