diff options
author | Ben Woodcroft <donttrustben@gmail.com> | 2018-02-05 12:00:03 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2018-12-31 09:46:23 +0000 |
commit | 2d5300c9675627df0a19d5694210e2bce48aeb3a (patch) | |
tree | ae505db512d14504577483a49e56541b174232af /gnu | |
parent | 3a3213701ddfe72a57a663aa376f3177c80e9c4b (diff) | |
download | gnu-guix-2d5300c9675627df0a19d5694210e2bce48aeb3a.tar gnu-guix-2d5300c9675627df0a19d5694210e2bce48aeb3a.tar.gz |
gnu: Add ruby-web-console.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/rails.scm | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/gnu/packages/rails.scm b/gnu/packages/rails.scm index 38153c3c1f..7833384702 100644 --- a/gnu/packages/rails.scm +++ b/gnu/packages/rails.scm @@ -467,3 +467,46 @@ API.") (home-page "http://rubygems.org/gems/jquery-rails") (license license:expat))) + +(define-public ruby-web-console + (package + (name "ruby-web-console") + (version "3.3.1") + (source + (origin + (method url-fetch) + ;; Download from GitHub as test files are not provided in the gem. + (uri (string-append "https://github.com/rails/web-console/archive/v" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1gmymwvgwqjv4gmg2vb0abm6flwax9sg73wmh6yb7m818pn2lz3n")))) + (build-system ruby-build-system) + (arguments + `(#:tests? #f)) ; Do not test to prevent dependency cycle with rails. + ;; (arguments + ;; `(#:phases + ;; (modify-phases %standard-phases + ;; (add-before 'check 'setenv + ;; (lambda _ + ;; (setenv "RUBYLIB" "lib") + ;; ;; (substitute* "Rakefile" + ;; ;; (("require 'web_console") ; This is not required for + ;; ;; ; travis, so hmm. + ;; ;; "require 'pathname'; require 'uri'; require 'web_console")) + ;; #t))))) + ;; (native-inputs + ;; `(("bundler" ,bundler))) + (propagated-inputs + `(("ruby-actionview" ,ruby-actionview) + ("ruby-activemodel" ,ruby-activemodel) + ("ruby-debug-inspector" ,ruby-debug-inspector) + ("ruby-railties" ,ruby-railties))) + (synopsis + "A debugging tool for your Ruby on Rails applications.") + (description + "This package provides a debugging tool for your Ruby on Rails applications.") + (home-page + "https://github.com/rails/web-console") + (license license:expat))) |