troelskn / handsoap

Handsoap is a library for creating SOAP clients in Ruby
http://github.com/unwire/handsoap
151 stars 2 forks source link

script/generate handsoap - No such file or directory #4

Closed ghost closed 15 years ago

ghost commented 15 years ago

script/generate handsoap -t https://gateway.developer.telekom.com/p3gw-mod-odg-sms/services/SmsService?wsdl exists app exists app/models readlink: illegal option -- f usage: readlink [-n] [file ...] create app/models/sms_service.rb No such file or directory - /opt/local/lib/ruby/gems/1.8/gems/handsoap-0.3.4/generators/handsoap/templates/var/folders/hi/hijrjnD8Fr8jbSKY1SYB+E+++TI/-Tmp-/handsoap_generator.2017.0 /opt/local/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/rails_generator/commands.rb:377:in initialize' /opt/local/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/rails_generator/commands.rb:377:inopen' /opt/local/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/rails_generator/commands.rb:377:in render_file' /opt/local/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/rails_generator/commands.rb:260:infile' /opt/local/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/rails_generator/commands.rb:259:in open' /opt/local/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/rails_generator/commands.rb:259:infile' /opt/local/lib/ruby/gems/1.8/gems/handsoap-0.3.4/generators/handsoap/handsoap_generator.rb:87:in file_contents' /opt/local/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/rails_generator/manifest.rb:47:insend' /opt/local/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/rails_generator/manifest.rb:47:in send_actions' /opt/local/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/rails_generator/manifest.rb:46:ineach' /opt/local/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/rails_generator/manifest.rb:46:in send_actions' /opt/local/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/rails_generator/manifest.rb:31:inreplay' /opt/local/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/rails_generator/commands.rb:42:in invoke!' /opt/local/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/rails_generator/scripts/../scripts.rb:31:inrun' /opt/local/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/commands/generate.rb:6 /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in gem_original_require' /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:inrequire' script/generate:3

troelskn commented 15 years ago

What's the output of uname -a?

troelskn commented 15 years ago

After some investigation, I believe this issue to be fixed. For the curious, it was due to differences between gnu readlink and bsd readlink