Ruby on Rails - Laitkor |
1. The Bitnami machine will use Ubuntu 10.10 and has two options:
• RubyStack 2.2 – 2 (Ruby 1.8.7, rails 2.3.11)
• RubyStack 2.3 – 0 dev (Ruby 1.9.2, Rails 3)
2. After entering what is asked on the Bitnami machine for the first time, you will enter in the command mode, no graphical interface. The server doesn’t need a graphical interface to run but if you want that interface, you need to install Gnome.
3. You can even install the RubyStack 2.2 – 2 versions, but you can also try the newest one. Ruby 1.9.2 seems to be good for production, while Rails 3 is not very much suitable. You can install a pre-configured environment from Bitnami. They have innate installers, VMware virtual appliances or if you prefer they will host it for you in the cloud. The two are completely free for the first time.
4. The next way is to go with Vagrant. You can use it to set up any new Rails environments going forward. You just need to follow the following steps:
• Step 1: Install Virtual Box
• Step 2: Install any version of ruby (probably the best with RVM)
• Step 3: Gem install vagrant.
5. You can even provision your own VirtualBox by forming a Chef procedure and use that for future improvement environments as well. Between EY, 37 signals, and the opscode cookbooks you should be able to find the whole thing you need.
6. Bitnami Ruby stack offers an ample, ready-to-run development situation for Ruby on Rails. Download installers and virtual machines, or run your personal Ruby server in the cloud.
7. The most obvious reason for using Ubuntu is because the majority of code you will write will run on a linux server. To install Ruby, you have to follow the following steps:
For Ruby 2.2.3-
• Choose the version of Ruby you want to install
• Choose one method that sounds the most interesting to you
• The last step is to install Bundler
For Ruby 4.2.4-
• Choose the version of Ruby you want to install (here 4.2.4)
• Set up MySQL
• Set up PostgreSQL
Everything truly starts with an installation. The Bitnami has scope for Ubuntu and has two options of RubyStack, you can follow either of them. After installing and proceeding what is directed on the screen, you will enter into the command mode. The Bitnami RubyStack provides easy to run development condition for Ruby on Rails. You can even download installers and virtual Machines, or try to execute on your own Ruby server in cloud.
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.