Permalink
Browse files

Script/generate broken. Part I of fix.

  • Loading branch information...
distler committed Jul 10, 2017
1 parent 486b19b commit 3cd06aaf5c3ae38f7fab101c02066449734020be
Showing with 12 additions and 1 deletion.
  1. +10 −0 lib/gem_stuff.rb
  2. +2 −1 script/generate
View
@@ -0,0 +1,10 @@
if RUBY_VERSION >= "2.0.0"
module Gem
class SourceList
def search( *args ); []; end
def each( &block ); end
end
end
end
View
@@ -1,5 +1,6 @@
#!/usr/bin/env ruby
require File.dirname(__FILE__) + '/../config/environment'
require File.join(File.dirname(File.dirname(__FILE__)), 'config', 'environment')
require 'gem_stuff.rb'
require 'rails_generator'
require 'rails_generator/scripts/generate'

0 comments on commit 3cd06aa

Please sign in to comment.