Skip to content
Snippets Groups Projects
Commit e61aab26 authored by Alexander Polcyn's avatar Alexander Polcyn
Browse files

convert match data to string

parent 8dd21260
No related branches found
No related tags found
No related merge requests found
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
begin begin
ruby_version_dirname = /(\d+\.\d+)/.match(RUBY_VERSION) ruby_version_dirname = /(\d+\.\d+)/.match(RUBY_VERSION).to_s
distrib_lib_dir = File.expand_path(ruby_version_dirname, distrib_lib_dir = File.expand_path(ruby_version_dirname,
File.dirname(__FILE__)) File.dirname(__FILE__))
if File.directory?(distrib_lib_dir) if File.directory?(distrib_lib_dir)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment