From 895e72ba4e1d716148625880248e048ed09452bf Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 24 Nov 2015 16:52:10 +0100 Subject: [PATCH 4/6] gnu: Add ruby-pry-editline. * gnu/packages/ruby.scm (ruby-pry-editline): New variable. --- gnu/packages/ruby.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index a01eefc..d0f6fe9 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -1809,6 +1809,27 @@ kernel subsystem for monitoring changes to files and directories.") (home-page "https://github.com/nex3/rb-inotify") (license license:expat))) +(define-public ruby-pry-editline + (package + (name "ruby-pry-editline") + (version "1.1.2") + (source (origin + (method url-fetch) + (uri (rubygems-uri "pry-editline" version)) + (sha256 + (base32 + "1pjxyvdxvw41xw3yyl18pwzix8hbvn6lgics7qcfhjfsf1zs8x1z")))) + (build-system ruby-build-system) + (arguments `(#:tests? #f)) ; no tests included + (native-inputs + `(("bundler" ,bundler))) + (synopsis "Open the current REPL line in an editor") + (description + "This gem provides a plugin for the Ruby REPL to enable opening the +current line in an external editor.") + (home-page "https://github.com/tpope/pry-editline") + (license license:expat))) + (define-public ruby-json (package (name "ruby-json") -- 2.1.0