0

I have a Ruby library that uses a REST API but I want to use the library and all other Ruby scripts on a website, or even in vb.net.

Are there any ways to use Ruby in combination with PHP without Rails? And can I implement Ruby in vb.net?

I'm not asking how to translate Ruby to vb.net. I know how that goes and how hard it is, so my questions are:

  1. Can Ruby be used as a backend language without using Ruby on Rails?
  2. Is there any way to implement Ruby into vb.net ?
4
  • i realize that you might think its a duplicate of this question but i reviewed all the answers and none of them have my answers Commented Nov 25, 2015 at 18:02
  • are you able to call the ruby functions you need as command line scripts? Commented Nov 25, 2015 at 19:04
  • Rails is only one way that Ruby is used for web-services. Without much more detail about your experience and system we can only give broad answers, which does you no good. I suggest doing more research about how to write web services in Ruby and see how those fit your scenario. Without more information we'd have to write a tutorial starting with basic HTTP and CGI and move forward, which would be off-topic too. Commented Nov 25, 2015 at 21:32
  • i am expert in php, and new to ruby, i was looking for ways to learn rails and i found this rails for zombies would you recommend it ? @theTinMan Commented Nov 26, 2015 at 2:41

1 Answer 1

-2

Effectively you are trying to run PHP in a scripting shell. I found two links that might help you: PHP as a scripting language in C# .Net Scripting Languages

Hopefully you can get what you need from there.

Sign up to request clarification or add additional context in comments.

5 Comments

I am not sure exactly what your problem is - answering with links is considered useful, particularly as copying and pasting the information from the linked articles are plagiarism. You are also providing negative feedback which will discourage people from anwering. Better formed sentences would help as well.
Sorry about that, I thought that it was clear. One of the reason for flagging an answer as low quality (what I did with yours) or to downvote it (what I didn't do) is precisely consisting in links. The fact that an answer is mostly formed by links has been off-topic in SO since always (at least, since I am a member). You are free to do whatever you want (-> my second time saying this today!? what I also thought that was evident); it was just an advice (don't worry; last one to you). Apologies about my not-too-clear first comment, but as said I thought that this point was evident to everyone.
@Arkitec, while you might not like the policy, link-only answers are discouraged. Links rot and break and without some additional text an answer mostly consisting of the link will make no sense and provide nothing for future searchers . Summarizing the content and explaining why it will help is the way to provide the information, and the link and giving credit to the original author avoids plagiarism. Please read Should I flag answers which contain only a link as “not an answer?
I'd recommend searching on Meta Stack Overflow to get a good idea of the community's feelings about link-only answers. You are welcome to start a discussion on Meta Stack Overflow about the subject if you'd like.
Okay, thanks to the both of you for the feedback - I will try to improve the quality of my answers by explaining/summarizing why a link might be useful. Tin Man, I will check out the references mentioned ot understand a bit more.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.