Skip to content
Sections
>> Trisquel >> Packages >> nabia >> ruby >> ruby-cocaine
etiona  ] [  nabia  ]
[ Source: ruby-cocaine  ]

Package: ruby-cocaine (0.5.8-1)

library for running command line commands in Ruby

cocaine is used to run command line commands in Ruby. Commands are run using backticks(Ruby 1.8) or Process.spawn(Ruby 1.9).

This library supports interpolated arguments and prevents attempts to break system. This library throws exception if the command returns errors.

Performance can be increased by installing posix-spawn gem.

Other Packages Related to ruby-cocaine

  • depends
  • recommends
  • suggests
  • dep: ruby
    Interpreter of object-oriented scripting language Ruby (default version)
    or ruby-interpreter
    Package not available
  • dep: ruby-climate-control (<< 1.0)
    library to easily manage environment variables
    dep: ruby-climate-control (>= 0.0.3)

Download ruby-cocaine

Download for all available architectures
Architecture Package Size Installed Size Files
all 8.8 kB45 kB [list of files]