jruby and actionwebservice

View: New views
4 Messages — Rating Filter:   Alert me  

jruby and actionwebservice

by Marco Dohnke :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi everybody,


I am new on the list. In my current project I try to get jruby working
with actionwebservice. I installed jruby 1.1 under Ubuntu. Later I added
gems like rails and others. One of them was actionwebservice (sudo jruby
-S gem install actionwebservice).
If I follow the same instructions to get actionwebservice working under
MRI, I get the problem, that Actionwebservice is unknown:

uninitialized constant ActionWebService


My question to all of you is: Do you know any descriptions how to get
jruby working with actionwebservice? Or do you have any hints where I
made a mistake?


Thanks in advance,
Marco

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: jruby and actionwebservice

by Nick Sieger-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, Jun 19, 2009 at 4:31 AM, Marco Dohnke <dohnke@...> wrote:
Hi everybody,


I am new on the list. In my current project I try to get jruby working with actionwebservice. I installed jruby 1.1 under Ubuntu. Later I added gems like rails and others. One of them was actionwebservice (sudo jruby -S gem install actionwebservice).
If I follow the same instructions to get actionwebservice working under MRI, I get the problem, that Actionwebservice is unknown:

uninitialized constant ActionWebService


My question to all of you is: Do you know any descriptions how to get jruby working with actionwebservice? Or do you have any hints where I made a mistake?

Can you show us an example piece of code for what you're doing? Using ActionWebService outside of a Rails app might require extra hoops (requires, etc.).

/Nick


Parent Message unknown Re: jruby and actionwebservice

by Marnen Laibow-Koser-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Sushrut Sathe wrote:
> I use the same code to create web services but i get the different error
> " uninitialized constant HelloMessageController::HelloMessageApi "
>
> What abuot this??????

I used "require" to solve this.
"require 'subdirectory_from_root_directory/name_of_rb_file'"

hope this helps.

Any solution for uninitialized constant ActionWebService??
--
Posted via http://www.ruby-forum.com/.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: jruby and actionwebservice

by Marnen Laibow-Koser-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Kalpesh Patel wrote:
> Any solution for uninitialized constant ActionWebService??

I used datanoise actionwebservice which works with newer Rails and jruby
Versions. I only used it in a testcase, so I can't say anything to a
productive case.
--
Posted via http://www.ruby-forum.com/.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email