freebsd-ports/security/dradis/files/patch-server__Gemfile
Olli Hauer 012f55c745 - update to version 2.6.0
- rewrite the rc script so it works with this version
 - patch the Gemfile, else it will not detect
   rubygem-sqlite3 or ruby-dbd_sqlite3

PR:		153293
Submitted by:	Dax Labrador <semprix at bsdmail.org> (maintainer)
2011-01-09 22:06:07 +00:00

18 lines
621 B
Text

--- ./server/Gemfile.orig 2010-11-30 17:45:17.000000000 +0100
+++ ./server/Gemfile 2011-01-09 22:37:36.000000000 +0100
@@ -11,11 +11,11 @@
#
gem 'RedCloth', :require => 'redcloth'
-if !( (RUBY_PLATFORM =~ /mswin/i) || (RUBY_PLATFORM =~ /mingw/i) )
- gem 'sqlite3-ruby', '1.2.5', :require => 'sqlite3'
-else
+#if !( (RUBY_PLATFORM =~ /mswin/i) || (RUBY_PLATFORM =~ /mingw/i) )
+# gem 'sqlite3-ruby', '1.2.5', :require => 'sqlite3'
+#else
gem 'sqlite3-ruby', '1.3.2', :require => 'sqlite3'
-end
+#end
# Bundle gems for the local environment. Make sure to
# put test-only gems in this group so their generators