Hi i have just start to try out ruby and since has met with some problems during the execution of ruby coding. I have tried simple ruby codings embedded into HTML files and it works fine but the main trouble occurs when i wish to test out pre-written codes from the internet for instance this ruby code from: http://paranoia.dubfire.net/2007/03/querying-bank-of-americas-sitekey.html I am not sure how can i convert this code for use in .rhtml or how am i able to run it in the first place. Sorry for asking such a newbie question but thanks advance for any help rendered.

Hi i have just start to try out ruby and since has met with some problems during the execution of ruby coding. I have tried simple ruby codings embedded into HTML files and it works fine but the main trouble occurs when i wish to test out pre-written codes from the internet for instance this ruby code from: http://paranoia.dubfire.net/2007/03/querying-bank-of-americas-sitekey.html I am not sure how can i convert this code for use in .rhtml or how am i able to run it in the first place. Sorry for asking such a newbie question but thanks advance for any help rendered.

Installed rails? I know its not the be-all and end-all of ruby web development but it is decently documented and probably the easiest way of getting an up and running ruby-based webapp.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.