Home Download Buy Blog Forum Support

Sample .sublime-project file for a Rails app

Sample .sublime-project file for a Rails app

Postby bradical on Tue Dec 13, 2011 5:07 pm

Hi,

I'm trying to understand the format of the .sublime-project file. I'm trying to put the file in the root directory of my Rails app but use a relative path to the current directory to represent my app folder.

Code: Select all
{
        "folders":
        [
                {
                        "path": "."
                }
        ]
}


What am I missing? Where should the .sublime-project file live so that I can check it into version control and what should it contain for a Rails app?
bradical
 
Posts: 2
Joined: Tue Dec 13, 2011 5:05 pm

Re: Sample .sublime-project file for a Rails app

Postby jps on Wed Dec 14, 2011 8:48 am

Does that not work for you? Assuming not, please list your Sublime Text version and operating system. It behaves as expected here.
jps
Site Admin
 
Posts: 3067
Joined: Wed Mar 19, 2008 12:33 pm

Re: Sample .sublime-project file for a Rails app

Postby bradical on Wed Dec 14, 2011 3:19 pm

Hmm, it didn't work the first time but now it appears to. Is that what a conventional Rails app's .sublime-project file looks like for the folders?
bradical
 
Posts: 2
Joined: Tue Dec 13, 2011 5:05 pm


Return to General Discussion

Who is online

Users browsing this forum: pseudolus and 45 guests