LoginSignup
2
1

More than 5 years have passed since last update.

pryでSpecinfraを試す

Posted at

pryでSpecinfraを試す。

バージョン

$ bundle show specinfra
/var/lib/gems/2.2.0/gems/specinfra-2.43.0

pry

$ pry
[1] pry(main)> require 'specinfra'
=> true
[2] pry(main)> require 'specinfra/helper/set'
=> true
[3] pry(main)> include Specinfra::Helper::Set
=> Object
[4] pry(main)> set :backend, :exec
=> :exec
[5] pry(main)> host_inventory['hostname']
=> "82b2db5a2096"
2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1