I'm having a frustrating time with Ruby. I've been working on developing a program that randomly generates a string from two arrays, which I'm all fine and dandy on that front. I'm fluent in the language. The problem I am having is with putting it online. I've been trying to figure out rails with no luck running my piece of software. Anyone able to help me along the way here? I'm unsure how to get this thing into a website for launch
Thanks in advance!
Best How To :
Sounds like Rails is overkill for this. If you only plan on having very simple actions, Sinatra might be better for you. http://www.sinatrarb.com/intro.html
After creating a simple API in Sinatra, you can then serve static assets (HTML, JS, CSS) where you can then use simple AJAX calls to hit your Sinatra backend.
You can get a Heroku account for free to host your application. Hosting a Sinatra application on Heroku should be pretty easy: http://blog.kuntz.co/2014/03/15/deploying-a-sinatra-app-to-heroku.html