samedi 10 février 2018

C:/Ruby23-x64/lib/ruby/2.3.0/fileutils.rb:253:in `mkdir': Invalid argument

when i was try to use rails g rspec:install , it will display above error. how may solve this issue? could you please sort this out.

rails g rspec:install create .rspec create spec C:/Ruby23-x64/lib/ruby/2.3.0/fileutils.rb:253:in mkdir': Invalid argument @ dir_s_mkdir - C:/Users/Anuradha-PC/Desktop/Ruby/Jobs_board2/spec/C: (Errno::EINVAL) from C:/Ruby23-x64/lib/ruby/2.3.0/fileutils.rb:253:infu_mkdir' from C:/Ruby23-x64/lib/ruby/2.3.0/fileutils.rb:227:in block (2 levels) in mkdir_p' from C:/Ruby23-x64/lib/ruby/2.3.0/fileutils.rb:225:inreverse_each' from C:/Ruby23-x64/lib/ruby/2.3.0/fileutils.rb:225:in block in mkdir_p' from C:/Ruby23-x64/lib/ruby/2.3.0/fileutils.rb:211:ineach' from C:/Ruby23-x64/lib/ruby/2.3.0/fileutils.rb:211:in mkdir_p' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/thor-0.20.0/lib/thor/actions/create_file.rb:62:inblock in invoke!' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/thor-0.20.0/lib/thor/actions/empty_directory.rb:117:in invoke_with_conflict_check' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/thor-0.20.0/lib/thor/actions/create_file.rb:60:ininvoke!' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/thor-0.20.0/lib/thor/actions.rb:94:in action' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/thor-0.20.0/lib/thor/actions/create_file.rb:25:increate_file' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/thor-0.20.0/lib/thor/actions/file_manipulation.rb:26:in copy_file' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/thor-0.20.0/lib/thor/actions/directory.rb:94:inblock in execute!' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/thor-0.20.0/lib/thor/actions/directory.rb:80:in each' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/thor-0.20.0/lib/thor/actions/directory.rb:80:inexecute!' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/thor-0.20.0/lib/thor/actions/directory.rb:66:in invoke!' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/thor-0.20.0/lib/thor/actions.rb:94:inaction' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/thor-0.20.0/lib/thor/actions/directory.rb:52:in directory' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/rspec-rails-3.7.2/lib/generators/rspec/install/install_generator.rb:23:inblock in copy_spec_files' from C:/Ruby23-x64/lib/ruby/2.3.0/tmpdir.rb:89:in mktmpdir' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/rspec-rails-3.7.2/lib/generators/rspec/install/install_generator.rb:20:incopy_spec_files' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/thor-0.20.0/lib/thor/command.rb:27:in run' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/thor-0.20.0/lib/thor/invocation.rb:126:ininvoke_command' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/thor-0.20.0/lib/thor/invocation.rb:133:in block in invoke_all' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/thor-0.20.0/lib/thor/invocation.rb:133:ineach' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/thor-0.20.0/lib/thor/invocation.rb:133:in map' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/thor-0.20.0/lib/thor/invocation.rb:133:ininvoke_all' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/thor-0.20.0/lib/thor/group.rb:232:in dispatch' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/thor-0.20.0/lib/thor/base.rb:466:instart' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/railties-5.1.4/lib/rails/generators.rb:269:in invoke' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/railties-5.1.4/lib/rails/commands/generate/generate_command.rb:24:inperform' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/thor-0.20.0/lib/thor/command.rb:27:in run' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/thor-0.20.0/lib/thor/invocation.rb:126:ininvoke_command' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/thor-0.20.0/lib/thor.rb:387:in dispatch' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/railties-5.1.4/lib/rails/command/base.rb:63:inperform' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/railties-5.1.4/lib/rails/command.rb:44:in invoke' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/railties-5.1.4/lib/rails/commands.rb:16:in' from bin/rails:4:in require' from bin/rails:4:in'

when i was try to use rails g rspec:install , it will display above error. how may solve this issue? could you please sort this out.

Aucun commentaire:

Enregistrer un commentaire