-
Notifications
You must be signed in to change notification settings - Fork 275
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
rake aborted! ArgumentError : wrong number of arguments (1 for 0) while installing neo4j #1296
Comments
You're using a very old version of |
I think that 0.7.3 is the latest version of https://rubygems.org/gems/neo4j-rake_tasks @prashantkb I haven't been able to test the gem on Windows for a while because of my computer situation, though I hope to be able to in the near future. If you're using Windows 10 you might be able to update to the Anniversary edition and use the new built-in bash shell: http://www.howtogeek.com/249966/how-to-install-and-use-the-linux-bash-shell-on-windows-10/ But it looks like we didn't implement the Which it's supposed to do (the argument is the https://github.com/neo4jrb/neo4j-rake_tasks/blob/master/lib/neo4j/rake_tasks/server_manager.rb Another, probably easier option, is to simply download Neo4j via their website: The |
Hello Sir, as i m getting error while installing neo4j from command prompt its was giving error.. so as u suggested another option to download the neo4j from http://neo4j.com/download so its worked fine ... after that i added These two configuration options in the railsproject/config/development.rb after that i generated the model $ rails g model Asset title:string created_at:datetime updated_at:datetime but its giving the error - C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/railties-5.0.0.1/lib/rails/railtie/config |
I Resolved the error by Adding require 'neo4j/railtie' in railsproject/config/application.rb file |
I'm glad it got figured out! We've also got instructions for different sorts of setups if you run into anything else: http://neo4jrb.readthedocs.io/en/7.1.x/Setup.html Of course feel free to let us know if you still can't figure it out |
Closing this issue in favor of neo4jrb/neo4j-rake_tasks#35 |
when i try to install neo4js in windows command prompt with ruby on rails i m getting this error...
command : rake neo4j:install[community-latest]
Install Neo4j (Development Version)...
Rake Aborted!
ArgumentError : wrong number of arguments (1 for 0)
Ruby Version : 2.2.5
Rails Version : 5.0.0.1
This is the trace information
C:\blog>rake neo4j:install --trace ** Invoke neo4j:install (first_time) ** Execute neo4j:install Install Neo4j (development environment)... rake aborted! ArgumentError: wrong number of arguments (1 for 0) C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/neo4j-rake_tasks-0.7.3/lib/neo4j/rake_tas ks/windows_server_manager.rb:15:in install'
C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/neo4j-rake_tasks-0.7.3/lib/neo4j/rake_tas
ks/neo4j_server.rake:34:inblock (2 levels) in ' C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rake-11.3.0/lib/rake/task.rb:248:in call
'
C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rake-11.3.0/lib/rake/task.rb:248:inbloc k in execute' C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rake-11.3.0/lib/rake/task.rb:243:in each
'
C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rake-11.3.0/lib/rake/task.rb:243:inexec ute' C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rake-11.3.0/lib/rake/task.rb:187:in bloc
k in invoke_with_call_chain'
C:/Ruby22-x64/lib/ruby/2.2.0/monitor.rb:211:inmon_synchronize' C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rake-11.3.0/lib/rake/task.rb:180:in invo
ke_with_call_chain'
C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rake-11.3.0/lib/rake/task.rb:173:ininvo ke' C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rake-11.3.0/lib/rake/application.rb:152:i n invoke_task'
C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rake-11.3.0/lib/rake/application.rb:108:i
nblock (2 levels) in top_level' C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rake-11.3.0/lib/rake/application.rb:108:i n each'
C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rake-11.3.0/lib/rake/application.rb:108:i
nblock in top_level' C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rake-11.3.0/lib/rake/application.rb:117:i n run_with_threads'
C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rake-11.3.0/lib/rake/application.rb:102:i
ntop_level' C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rake-11.3.0/lib/rake/application.rb:80:in block in run'
C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rake-11.3.0/lib/rake/application.rb:178:i
nstandard_exception_handling' C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rake-11.3.0/lib/rake/application.rb:77:in run'
C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rake-11.3.0/exe/rake:27:in' C:/Ruby22-x64/bin/rake:23:in load'
C:/Ruby22-x64/bin/rake:23:in' Tasks: TOP => neo4j:install
The text was updated successfully, but these errors were encountered: