Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

where is rails installed on Ubuntu

I have installed rails 3.0.3 but I can not find where the source code is installed. Was it installed at /usr/share/rails/activerecord? I added some debug information in (/usr/share/rails/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb), but information did not print out when making a connection to a sqlite3 database.

like image 683
pierrotlefou Avatar asked Dec 05 '22 20:12

pierrotlefou


1 Answers

If you run the command gem env it will output information about the RubyGems environment, including the path where gems are installed. The gems that comprise Rails will be in there.

like image 77
John Topley Avatar answered Dec 22 '22 10:12

John Topley