Where does rails source file locate?

Hey guys I'm new to rails, I read something about reading source code is good way to study rails, and I found the related rb file in rails' online document, such as this page But I can't find where the rails source file locate in my mac, could someone to help me out?

Answers


Easiest way is to look online at the github repo

If you want to browse it locally, you can (depending on your version of rails) to a bundle show rails for Rails 3.0, this will tell you where it's installed.

For rails 2.3.x you just need to find out where the gem is installed and open that up. If you're using RVM for instance it will be somewhere in ~/.rvm


Need Your Help

which one gives better performance in Tomcat, Jboss AS, Glassfish?

java linux tomcat jboss glassfish

I am about to launch an application. I am using just structs and not even springs in the application. So, at this stage, I would like to know what would give the better performance out of Tomcat, J...

250 select vs 1

mysql optimization

I think I know the answer to this question but wanted another opinion on it. So I have inherited an e-mailing script that sends out X number of mails every time it executes. It currently does thi...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.