Class: Topaz::Install

Inherits:
Object
  • Object
show all
Defined in:
lib/topaz.rb

Class Method Summary collapse

Class Method Details

.install(gem, version = '> 0.0.0') ⇒ Object

Installs a gem with the name of ‘gem`, and optionally with the version of `version`.



73
74
75
# File 'lib/topaz.rb', line 73

def install(gem, version = '> 0.0.0')
	`sudo gem install "#{gem}" -v "#{version}"`
end