Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

abstractor:install generator not smart enough. #17

Open
mgurley opened this issue Jul 17, 2014 · 0 comments
Open

abstractor:install generator not smart enough. #17

mgurley opened this issue Jul 17, 2014 · 0 comments
Labels

Comments

@mgurley
Copy link
Member

mgurley commented Jul 17, 2014

The abstractor:install generator blithely re-adds code already present in the host application upon rerun. ApplicationController :

def abstractor_user
  current_user if defined?(current_user)
end
helper_method :abstractor_user

development.rb

StanfordCoreNLP.jvm_args = ['-Xms2G', '-Xmx2G']
StanfordCoreNLP.use :english
StanfordCoreNLP.model_files = {}
StanfordCoreNLP.jar_path = "#{Rails.root}/lib/stanford-corenlp-full-2014-01-04/"
StanfordCoreNLP.model_path = "#{Rails.root}/lib/stanford-corenlp-full-2014-01-04/"
StanfordCoreNLP.default_jars = [
  'joda-time.jar',
  'xom.jar',
  'stanford-corenlp-3.3.1.jar',
  'stanford-corenlp-3.3.1-models.jar',
  'jollyday.jar',
  'bridge.jar'
]
@mgurley mgurley added the bug label Jul 17, 2014
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant