-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bundle exec rake fhir:console (error) #101
Comments
While in the
Can you confirm? |
so after running bundle install
#AFTER I RUN THE COMMAND
|
The In order to be accessible to rails projects (or any arbitrary project using the gem) I believe we would need to move the rake tasks from |
It looks like you want to add a Railties setup, http://mdzhang.com/blog/code/2016/09/10/create-ruby-gem-that-adds-rake-tasks/ |
Same problem here... How can i use the gem without the tasks? |
Same problem here |
hi @dbbooke did you resolve this issue? I have same issue. |
You can load the console within your rails app with: spec = Gem::Specification.find_by_name("fhir_client")
load "#{spec.gem_dir}/lib/fhir_client/tasks/tasks.rake"
Rake::Task["fhir:console"].invoke But it might not be useful for integrating the gem with your project, it just opens an IRB console. 😄 |
Is this issue resolved in the release 4.0.4? |
I just installed the gem and am running across the same issue. Is this going to be fixed? |
When I try to run that command I get the following error....
'rake aborted! Don't know how to build task 'fhir:console' (see --tasks) /Users/darrenbooker/.rvm/gems/ruby-2.4.1/gems/rake-12.3.1/exe/rake:27:in
<top (required)>'/Users/darrenbooker/.rvm/gems/ruby-2.4.1/bin/ruby_executable_hooks:15:in
eval' /Users/darrenbooker/.rvm/gems/ruby-2.4.1/bin/ruby_executable_hooks:15:in
(See full trace by running task with --trace)`
The text was updated successfully, but these errors were encountered: