Sunday, August 29, 2010

Creating your first Ruby program!

Create a simple file and type

puts "Rails World"

save the file in .rb extension (example: rails.rb).

On the command line, go to the folder containing your "rails.rb" and run

>> ruby rails.rb

Congratulations, you created your first rails application.

No comments:

Post a Comment