Update minimum required version of Ruby to 2.1
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
language: ruby
|
language: ruby
|
||||||
rvm:
|
rvm:
|
||||||
- 2.0
|
|
||||||
- 2.1
|
- 2.1
|
||||||
- 2.2
|
- 2.2
|
||||||
- 2.3.0
|
- 2.3.0
|
||||||
|
|||||||
@@ -20,13 +20,15 @@ Installation
|
|||||||
|
|
||||||
1. Prerequisites (platform independent)
|
1. Prerequisites (platform independent)
|
||||||
|
|
||||||
BeEF requires Ruby 2.0+ and the "bundler" gem. Bundler can be installed by:
|
BeEF requires Ruby 2.1+ and the "bundler" gem. Bundler can be installed by:
|
||||||
|
|
||||||
gem install bundler
|
gem install bundler
|
||||||
|
|
||||||
|
|
||||||
2. Prerequisites (Windows)
|
2. Prerequisites (Windows)
|
||||||
|
|
||||||
|
Windows is no longer supported. The following instructions are outdated.
|
||||||
|
|
||||||
!!! This must be done PRIOR to running the bundle install command !!!
|
!!! This must be done PRIOR to running the bundle install command !!!
|
||||||
|
|
||||||
Windows requires the sqlite.dll. Simply grab the zip file below and extract it to your Ruby bin directory:
|
Windows requires the sqlite.dll. Simply grab the zip file below and extract it to your Ruby bin directory:
|
||||||
@@ -76,7 +78,7 @@ Installation
|
|||||||
|
|
||||||
- XCode: provides the sqlite support BeEF needs
|
- XCode: provides the sqlite support BeEF needs
|
||||||
|
|
||||||
- Ruby 2.0
|
- Ruby 2.1
|
||||||
To install RVM and Ruby 2.1.5 on Mac OS:
|
To install RVM and Ruby 2.1.5 on Mac OS:
|
||||||
$ bash -s stable < <(curl -Ls https://raw.githubusercontent.com/wayneeseguin/rvm/master/binscripts/rvm-installer) source ~/.bash_profile
|
$ bash -s stable < <(curl -Ls https://raw.githubusercontent.com/wayneeseguin/rvm/master/binscripts/rvm-installer) source ~/.bash_profile
|
||||||
$ rvm install 2.1.5
|
$ rvm install 2.1.5
|
||||||
|
|||||||
6
README
6
README
@@ -36,8 +36,8 @@ Twitter: @beefproject
|
|||||||
Requirements
|
Requirements
|
||||||
------------
|
------------
|
||||||
|
|
||||||
* OSX 10.5.0 or higher, Modern Linux, Windows XP or higher
|
* OSX 10.5.0 or higher, modern Linux
|
||||||
* [Ruby](http://rubylang.org) 2.0 or higher
|
* [Ruby](http://rubylang.org) 2.1 or higher
|
||||||
* [SQLite](http://sqlite.org) 3.x
|
* [SQLite](http://sqlite.org) 3.x
|
||||||
* The gems listed in the Gemfile: https://github.com/beefproject/beef/blob/master/Gemfile
|
* The gems listed in the Gemfile: https://github.com/beefproject/beef/blob/master/Gemfile
|
||||||
|
|
||||||
@@ -47,7 +47,7 @@ Quick Start
|
|||||||
|
|
||||||
__The following is for the impatient.__
|
__The following is for the impatient.__
|
||||||
|
|
||||||
For full installation details (including on Microsoft Windows), please refer to INSTALL.txt.
|
For full installation details, please refer to INSTALL.txt.
|
||||||
We also have a Wiki page at https://github.com/beefproject/beef/wiki/Installation
|
We also have a Wiki page at https://github.com/beefproject/beef/wiki/Installation
|
||||||
|
|
||||||
$ bash -s stable < <(curl -Ls https://raw.githubusercontent.com/beefproject/beef/a6a7536e736e7788e12df91756a8f132ced24970/install-beef)
|
$ bash -s stable < <(curl -Ls https://raw.githubusercontent.com/beefproject/beef/a6a7536e736e7788e12df91756a8f132ced24970/install-beef)
|
||||||
|
|||||||
@@ -36,8 +36,8 @@ __Twitter:__ @beefproject
|
|||||||
Requirements
|
Requirements
|
||||||
------------
|
------------
|
||||||
|
|
||||||
* OSX 10.5.0 or higher, Modern Linux, Windows XP or higher
|
* OSX 10.5.0 or higher, modern Linux
|
||||||
* [Ruby](http://rubylang.org) 1.9.2 or higher
|
* [Ruby](http://rubylang.org) 2.1 or higher
|
||||||
* [SQLite](http://sqlite.org) 3.x
|
* [SQLite](http://sqlite.org) 3.x
|
||||||
* The gems listed in the Gemfile: https://github.com/beefproject/beef/blob/master/Gemfile
|
* The gems listed in the Gemfile: https://github.com/beefproject/beef/blob/master/Gemfile
|
||||||
|
|
||||||
@@ -47,7 +47,7 @@ Quick Start
|
|||||||
|
|
||||||
__The following is for the impatient.__
|
__The following is for the impatient.__
|
||||||
|
|
||||||
For full installation details (including on Microsoft Windows), please refer to INSTALL.txt.
|
For full installation details, please refer to INSTALL.txt.
|
||||||
We also have a Wiki page at https://github.com/beefproject/beef/wiki/Installation
|
We also have a Wiki page at https://github.com/beefproject/beef/wiki/Installation
|
||||||
|
|
||||||
$ curl -L https://raw.githubusercontent.com/beefproject/beef/a6a7536e/install-beef | bash -s stable
|
$ curl -L https://raw.githubusercontent.com/beefproject/beef/a6a7536e/install-beef | bash -s stable
|
||||||
@@ -60,6 +60,3 @@ To get started, simply execute beef and follow the instructions:
|
|||||||
|
|
||||||
$ ./beef
|
$ ./beef
|
||||||
|
|
||||||
On windows use
|
|
||||||
|
|
||||||
$ ruby beef
|
|
||||||
|
|||||||
6
beef
6
beef
@@ -9,10 +9,10 @@
|
|||||||
# stop deprecation warning from being displayed
|
# stop deprecation warning from being displayed
|
||||||
$VERBOSE = nil
|
$VERBOSE = nil
|
||||||
|
|
||||||
# @note Version check to ensure BeEF is running Ruby 2.0+
|
# @note Version check to ensure BeEF is running Ruby 2.1+
|
||||||
if RUBY_VERSION < '2.0'
|
if RUBY_VERSION < '2.1'
|
||||||
puts "\n"
|
puts "\n"
|
||||||
puts "Ruby version #{RUBY_VERSION} is no longer supported. Please upgrade to Ruby version 2.0 or later."
|
puts "Ruby version #{RUBY_VERSION} is no longer supported. Please upgrade to Ruby version 2.1 or later."
|
||||||
puts "\n"
|
puts "\n"
|
||||||
exit 1
|
exit 1
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user