Skip to content

Commit

Permalink
Fix Ruby and Gem versions for the build environment (取敢えず)
Browse files Browse the repository at this point in the history
  • Loading branch information
0cjs committed Nov 18, 2016
1 parent f1ab842 commit 8cc7cf9
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/Gemfile.lock
/tmp/
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.3.1
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source 'https://rubygems.org'

gem 'net-ssh', '>= 3.2.0'
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit 8cc7cf9

Please sign in to comment.