Removed support for Ruby 1.8. Fixes issue 389.
git-svn-id: https://beef.googlecode.com/svn/trunk@1068 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
This commit is contained in:
8
beef
8
beef
@@ -16,6 +16,14 @@
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
# check version supported
|
||||
if RUBY_VERSION < '1.9'
|
||||
puts "\n"
|
||||
puts "Ruby version " + RUBY_VERSION + " is no longer supported. Please upgrade 1.9 or later."
|
||||
puts "\n"
|
||||
exit
|
||||
end
|
||||
|
||||
$:.unshift(File.join(File.expand_path(File.dirname(__FILE__)), '.'))
|
||||
|
||||
$root_dir = File.expand_path('..', __FILE__)
|
||||
|
||||
10
install
10
install
@@ -20,6 +20,16 @@ require 'rubygems'
|
||||
|
||||
puts "\nWelcome to the BEeF installer!"
|
||||
|
||||
if RUBY_VERSION < '1.9'
|
||||
puts "\n"
|
||||
puts "Ruby version " + RUBY_VERSION + " is no longer supported. Please upgrade 1.9 or later."
|
||||
puts "\n"
|
||||
exit
|
||||
end
|
||||
|
||||
puts "\nPlease make sure you have installed SQLite before proceeding. For instructions on how to do this please see the README file"
|
||||
|
||||
|
||||
puts "\nPlease make sure you have installed SQLite before proceeding. For instructions on how to do this please see the README file"
|
||||
|
||||
# array of required gems - add to as needed (specify a version if needed eg "gem_name, =x.x.x")
|
||||
|
||||
Reference in New Issue
Block a user