diff --git a/.gitignore b/.gitignore index 82520ca..1f91583 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ +/Gemfile.lock /tmp/ diff --git a/.ruby-version b/.ruby-version new file mode 100644 index 0000000..2bf1c1c --- /dev/null +++ b/.ruby-version @@ -0,0 +1 @@ +2.3.1 diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..89e4a2b --- /dev/null +++ b/Gemfile @@ -0,0 +1,3 @@ +source 'https://rubygems.org' + +gem 'net-ssh', '>= 3.2.0' diff --git a/README.md b/README.md new file mode 100644 index 0000000..609d1b3 --- /dev/null +++ b/README.md @@ -0,0 +1,23 @@ +Demonstrate and Play with Ruby's Net::SSH +========================================= + +#### Environment + +I run Ruby from [rbenv](https://github.com/rbenv/rbenv); I have a +`.ruby-version` file here indicating version 2.3.1 because that +happens to be an environment where this will likely be used. In this +project I also use [Bundler](https://bundler.io/) to get the correct +versions of Gems. + +After setting up `rbenv` and installing 2.3.1, you can set up the rest +of the environment with the usual: + + gem update --system + gem install bundler + bundle install + +#### Net::SSH Version + +I currently use 3.2.0, the latest stable version. Depending on how +things progress both on my exploration of the 3.2 API and the release +process of 4.0.0, I may change to using 4.x sooner or later.