-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Ruby and Gem versions for the build environment (取敢えず)
- Loading branch information
Showing
4 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
/Gemfile.lock | ||
/tmp/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
2.3.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
source 'https://rubygems.org' | ||
|
||
gem 'net-ssh', '>= 3.2.0' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |