Tampilkan postingan dengan label ruby on rails. Tampilkan semua postingan
Tampilkan postingan dengan label ruby on rails. Tampilkan semua postingan

Kamis, 03 Maret 2011

How to Install Ruby on Rails on Windows

After we know, what Ruby on Rails is. Now, it’s time to know how to install them, in particular on windows environment. It asumme that you have installed MySQL on your machine.

This guide is for begginer who want to get started with rails. However, it’s only for rails 3.0. It may not working at prior rails version. As note, Ruby 1.9.1 is not useable because it outright segmentation fault on rails 3.0. so you have to use 1.9.x jump on 1.9.2 for smooth execution. Find the latest ruby for windows installer

1. Installing Ruby

After downloding ruby package, just one click exe file to run it and follow the instruction. If everythings have no problem, check path via command prompt by type “ruby –v” or “ruby --version”. You can see like on screen bellow.








2. Installing Rails

Usually go to ruby bin directory type “gem install rails” on the command prompt.











After all, create a directory for the next all your projects. You can put the folder on “c:\ruby/nameproject” and run “rails new nameproject1”, name’s projects are up to you

You will see on your command prompt screen like this:
















Finally, type “cd myproject1” on command prompt and to run rails, type “rails server” or “rails s”. Test the web server by typing http://localhost:3000 on your browser.

If everything run well, welcome aboard appear on your browser:

















Congratulation You have installed Rails!
 

Minggu, 27 Februari 2011

What is Ruby on Rails?

 Ruby is object-oriented programming language which made by C language. It was inspired by perl. Initially, Ruby is designed by Yukihiro Matsumoto, a developer from Japan. He wanted to scripting language that more object-oriented than Phyton and powerful than Perl. That’s why he conceived to design his own language. He stated, I hope to see Ruby help every programmer in the world to be productive, and to enjoy programming, and to be happy. That is the primary purpose of Ruby language."   Based on history, there were two names proposed: “Ruby” and “Coral” and finally “Ruby” was chosen as decent name for the language because it was the birthstone of his colleagues.

While, Rails is a framework wherein made by Ruby language. In philosophy, Ruby on Rails is illustrated as a Ruby run on Rails in order to what is the main goal achieved rapidly. David Heinemeier Hansson , 37signals developer, was extracted Ruby on Rails and use it to Bascamp, a project management tool. He released RoR as open source in July 2004 and share commit rights to project in February 2005.

To organize application programming Ruby on Rails uses the Model-View-Controller (MVC) concept.

Senin, 08 November 2010

Should We Make Clock App for iPhone After All!

Apple's iPhone owner should get repair their smartphones as the clock go back in US as the clocks went back at 2am on Sunday morning and on went back there last weekend at Australia and Europe.

http://www.dailymail.co.uk/sciencetech/article-1327405/Fall-Back-Time-Change-2010-Warning-iPhone-users-clocks-US.html?ito=feeds-newsxml

These make us think to make application for iPhone which is integrated by Ruby on Rails in web based application. We think, it will be possible to make it happen.

iPhone app development :: iPad app development :: Blackberry app development