{"id":106,"date":"2012-02-19T16:10:17","date_gmt":"2012-02-19T22:10:17","guid":{"rendered":"http:\/\/sha.nnoncarey.com\/blog\/?p=106"},"modified":"2012-08-30T14:07:05","modified_gmt":"2012-08-30T20:07:05","slug":"how-to-open-an-existing-rails-project-in-intellij-idea","status":"publish","type":"post","link":"https:\/\/sha.nnoncarey.com\/blog\/archives\/106","title":{"rendered":"How to open an existing Rails project in IntelliJ IDEA"},"content":{"rendered":"<p>As described <a href=\"http:\/\/confluence.jetbrains.net\/display\/RUBYDEV\/FAQ\">here<\/a>, the proper way to open an existing Rails site in IDEA is:<\/p>\n<ol>\n<li>File -> New Project<\/li>\n<li>Create project from scratch (Next)<\/li>\n<li>For &#8220;Project files location&#8221; choose your Rails application directory, or a parent directory<\/li>\n<li>Leave &#8220;Create module&#8221; checked, select &#8220;Ruby Module&#8221; as the type&#8221;, and make sure the &#8220;content root&#8221; &#038; &#8220;module file location&#8221; is set to the root of your Rails application (Next)<\/li>\n<li>Ensure your Ruby SDK is configured (Next)<\/li>\n<li>Ensure &#8220;Ruby on Rails&#8221; is checked, and fill out the appropriate settings under &#8220;Use existing Rails application&#8221; (Finish)<\/li>\n<\/ol>\n<p>I have used this approach successfully in IntelliJ IDEA 11.0.2 and 11.1.3<\/p>\n<p>If you don&#8217;t see Ruby as an option for the module type, ensure you have installed the Ruby plugin.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As described here, the proper way to open an existing Rails site in IDEA is: File -> New Project Create project from scratch (Next) For &#8220;Project files location&#8221; choose your Rails application directory, or a parent directory Leave &#8220;Create module&#8221; checked, select &#8220;Ruby Module&#8221; as the type&#8221;, and make sure the &#8220;content root&#8221; &#038; &#8220;module &hellip; <a href=\"https:\/\/sha.nnoncarey.com\/blog\/archives\/106\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;How to open an existing Rails project in IntelliJ IDEA&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[],"class_list":["post-106","post","type-post","status-publish","format-standard","hentry","category-rails"],"_links":{"self":[{"href":"https:\/\/sha.nnoncarey.com\/blog\/wp-json\/wp\/v2\/posts\/106","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sha.nnoncarey.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sha.nnoncarey.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sha.nnoncarey.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sha.nnoncarey.com\/blog\/wp-json\/wp\/v2\/comments?post=106"}],"version-history":[{"count":8,"href":"https:\/\/sha.nnoncarey.com\/blog\/wp-json\/wp\/v2\/posts\/106\/revisions"}],"predecessor-version":[{"id":149,"href":"https:\/\/sha.nnoncarey.com\/blog\/wp-json\/wp\/v2\/posts\/106\/revisions\/149"}],"wp:attachment":[{"href":"https:\/\/sha.nnoncarey.com\/blog\/wp-json\/wp\/v2\/media?parent=106"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sha.nnoncarey.com\/blog\/wp-json\/wp\/v2\/categories?post=106"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sha.nnoncarey.com\/blog\/wp-json\/wp\/v2\/tags?post=106"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}