Controller: Gems

API Controller /siteworx/gems
Required Permissions ["RUBYONRAILS"]
Action Description
cleanup Cleanup a gem, uninstalling all versions but the latest.
install Install a gem.
installversion InstallCommitAction.
reinstall Reinstall a gem.
uninstall Uninstall a gem.
update Update a gem.

Action: cleanup

Cleanup a gem, uninstalling all versions but the latest.

Input Parameters

Name Type Notes Required?
gems struct (string)
Example Values
activerecord
Yes

Action: install

Install a gem.

Input Parameters

Name Type Notes Required?
name string
Example Values
-, 0xffffff, 1234567890_, 12_hour_time, 24games, 2DArray, 2Performant, 360_services, 3d-ribbon, 3scale_client, 4info, 7digital, 80ae2fe5c929b7d0a00bdee2d710fa9e, 80legs, _, _amon, _bushido-faye, _bushido-faye-websocket, _p_, _rubyapp, a, a-gem, a2ws, a_a_n, a_b, a_b_plugin, a_clockwork_ruby, a_la_chart, a_okay, aa, aaalex-off_github, aai10-mechanize, aalib-ruby, aargvark, aaronh-chronic, aarrr, aasm, aasm-bang, aavkontakte, aavkontakte-rails3, ab_tester, abacus, abacus_count, abaddon, abak-flow, abanalyzer, abb, abbey, abcrunch, abebooks4r, ...
Yes
docs integer
Example Values
1, 0
Yes

Action: installversion

InstallCommitAction.

Input Parameters

Name Type Notes Required?
name string
Example Values
actionmailer, actionpack, activerecord, activeresource, activesupport, fastthread, passenger, rack, rails, rake
Yes
version string
Example Values
3.2.3, 3.2.2, 3.2.1, 3.2.0, 3.1.4, 3.1.3, 3.1.2, 3.1.1, 3.1.0, 3.0.12, 3.0.11, 3.0.10, 3.0.9, 3.0.8, 3.0.7, 3.0.6, 3.0.5, 3.0.4, 3.0.3, 3.0.2, 3.0.1, 3.0.0, 2.3.14, 2.3.12, 2.3.11, 2.3.10, 2.3.9, 2.3.8, 2.3.7, 2.3.6, 2.3.5, 2.3.4, 2.3.3, 2.3.2, 2.2.3, 2.2.2, 2.1.2, 2.1.1, 2.1.0, 2.0.5, 2.0.4, 2.0.2, 2.0.1, 2.0.0, 1.3.6, 1.3.5, 1.3.4, 1.3.3, 1.3.2, 1.3.1, ...
Yes

Action: reinstall

Reinstall a gem.

Input Parameters

Name Type Notes Required?
gems struct (string)
Example Values
actionmailer, actionpack, activerecord, activeresource, activesupport, fastthread, passenger, rack, rails, rake
Yes

Action: uninstall

Uninstall a gem.

Input Parameters

Name Type Notes Required?
gems struct (string)
Example Values
activerecord
Yes

Action: update

Update a gem.

Input Parameters

Name Type Notes Required?
gems struct (string)
Example Values
actionmailer, actionpack, activerecord, activeresource, activesupport, fastthread, passenger, rack, rails, rake
Yes