New to Bitnami and Ruby and need help
|
|
Hey guys – I am trying to learn Ruby and a “friend” encouraged me to download and install Bitnami Ruby Stacks. This arena is very new to me and as you can imagine without good guidance it is a bit frustrating. So here’s where am I am - 1. can download and install much of Rubystacks. if anyone out there can help me along my journey (without making me feel like an ass) your help would be greatly appreciated. Many thanks… |
|
|
Hi,
You can install several RubyStacks in different folders. If you want to run simultaneously, the installer will ask you about the Apache and MySQL ports during the installation. You only should modify them.
The RubyStack includes a sample application in the projects folder. You only should access from the “rubyconsole” and execute script/server to start it. On Windows systems you have a shortcut in the Start menu to access to the rubyconsole. On OS X and Linux you can access from the terminal:
Yes, you can execute this command from the rubyconsole
You only should modify the database.yml file in your application to use sqlite3. This is the database used by the default sample application. I hope it helps. |
|
|
Thanks so much for replying. In the meantime I have gotten quite lucky (I guess the saying the more you prepare the luckier you get) and was able to get to the point where I could begin developing a new app but now I get the error message “no such file to load—sqlite3”. I will continue to poke around and find out where I am making a mistake. Thanks again! Jeff |
|
|
Hi, Load the environment variables by calling the ‘use_rubystack’ script and then type
Tell us if it works! Cheers |
