Jump to content

The ultimate community for Ruby on Rails developers.


Photo

Getting started with Ruby stack

ruby rails installer cloud

  • Please log in to reply
1 reply to this topic

#1 Beltran

Beltran

    Passenger

  • Members
  • 2 posts

Posted 15 August 2013 - 08:55 AM

Hi,

 

I'm Beltran from BitNami project. I would like to share a quick guide about how to start with BitNami Ruby stack.

 

BiNami Ruby stack simplifies the development and deployment of Ruby on Rails and its runtime dependencies on Windows, Linux and OS X. It includes ready-to-run versions of Ruby, Rails, MySQL, Git, RVM, Apache, Nginx and other components. In addition to the base Ruby runtime and libraries, the stack includes most popular gems for building Rails applications: Passenger, Nokogiri, Rake, RMagick, Mongrel, Thin and more.

 

Each installer includes all of the software necessary to run out of the box (the stack). The process is simple; just download, click next-next-next and you are done! BitNami stacks are completely self contained and will not interfere with other software on your system.

 

There are also available Virtual Machines and Amazon EC2 and Azure cloud images.

 

There are available 3 versions currently:

 

- 1.8.7 with latest Ruby 1.8.7 version and Rails 2.3.x

- 1.9.3 with latest Ruby 1.9.3 version and Rails 3.2.x

- 2.0.0 with latest Ruby 2.0.0 version and Rails 4.0.x

 

Once you have installed Ruby Stack on your computer, it is very easy to create your first project. Open the "Ruby console" and type the following:

$ rails newapp
$ cd newapp
$ rails server
=> Booting WEBrick
=> Rails 3.2.14 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
[2013-08-15 10:45:07] INFO  WEBrick 1.3.1
[2013-08-15 10:45:07] INFO  ruby 1.9.3 (2013-06-27) [x86_64-linux]
[2013-08-15 10:45:07] INFO  WEBrick::HTTPServer#start: pid=18272 port=3000

And you can access to the Rails sample application at http://localhost:3000.

 

Deploying your Rails application

 

BitNami Ruby stack ships most popular dependencies and servers to deploy any Rails application. Apache and Nginx servers include Passenger (a.k.a mod_rails) module to deploy your application easily. You can find some examples at this guide. It also ships Thin server that you can also configure to deploy your app or you can install easily any other like Unicorn.

 

I hope it helps.

 

 

 

 



#2 wilsonsilva

wilsonsilva

    Passenger

  • Members
  • 6 posts

Posted 15 August 2013 - 05:55 PM

It would be wonderful if you had a CentOS version of that VM.


  • Beltran likes this





Also tagged with one or more of these keywords: ruby, rails, installer, cloud

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users