Ruby on Rails
Friday, June 28, 2013
Hi All ,
I am getting the below error while calling jruby code ..
But without jruby my cucumber is working fine , please let me know how to call jruby code from cucumber ?
mselv2m1:nikeplus-running-ios mselv2$ cucumber features/java.feature
no such file to load -- java (LoadError)
/Users/mselv2/.rvm/rubies/ruby-1.8.7-p371/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
/Users/mselv2/.rvm/rubies/ruby-1.8.7-p371/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
/Users/Shared/Development/NikeBuild/nikeplus-running-ios/features/step_definitions/first_call.rb:1
/Users/mselv2/.rvm/gems/ruby-1.8.7-p371/gems/cucumber-1.3.2/bin/../lib/cucumber/rb_support/rb_language.rb:122:in `load'
/Users/mselv2/.rvm/gems/ruby-1.8.7-p371/gems/cucumber-1.3.2/bin/../lib/cucumber/rb_support/rb_language.rb:122:in `load_code_file'
/Users/mselv2/.rvm/gems/ruby-1.8.7-p371/gems/cucumber-1.3.2/bin/../lib/cucumber/runtime/support_code.rb:180:in `load_file'
/Users/mselv2/.rvm/gems/ruby-1.8.7-p371/gems/cucumber-1.3.2/bin/../lib/cucumber/runtime/support_code.rb:83:in `load_files!'
/Users/mselv2/.rvm/gems/ruby-1.8.7-p371/gems/cucumber-1.3.2/bin/../lib/cucumber/runtime/support_code.rb:82:in `each'
/Users/mselv2/.rvm/gems/ruby-1.8.7-p371/gems/cucumber-1.3.2/bin/../lib/cucumber/runtime/support_code.rb:82:in `load_files!'
/Users/mselv2/.rvm/gems/ruby-1.8.7-p371/gems/cucumber-1.3.2/bin/../lib/cucumber/runtime.rb:183:in `load_step_definitions'
/Users/mselv2/.rvm/gems/ruby-1.8.7-p371/gems/cucumber-1.3.2/bin/../lib/cucumber/runtime.rb:42:in `run!'
/Users/mselv2/.rvm/gems/ruby-1.8.7-p371/gems/cucumber-1.3.2/bin/../lib/cucumber/cli/main.rb:47:in `execute!'
/Users/mselv2/.rvm/gems/ruby-1.8.7-p371/gems/cucumber-1.3.2/bin/cucumber:13
/Users/mselv2/.rvm/gems/ruby-1.8.7-p371/bin/cucumber:19:in `load'
/Users/mselv2/.rvm/gems/ruby-1.8.7-p371/bin/cucumber:19
/Users/mselv2/.rvm/gems/ruby-1.8.7-p371/bin/ruby_noexec_wrapper:14
mselv2m1:nikeplus-running-ios mselv2$
Thanks ,
Muthu Selvan SR
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/be860db2-020f-4e12-898e-1c8de3aa9dbc%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment