How to set rootURL in Ember CLI

I'm trying to change the roolURL in an Ember CLI app. This is easy in a basic Ember app:

  rootURL: '/blog/'

Doing this in an Ember CLI app throws the following exception:

Uncaught TypeError: Cannot read property 'reopen' of undefined 

The reason why I'd like to do this is that I'm going to have multiple Ember CLI apps inside of a rails app. The URLs will look something like this:

/ --> rails
/foo --> rails
/api --> rails
/admin --> Ember CLI
/blog --> Ember CLI


You'd want to update your config/environment.js as follows:

module.exports = function(environment) {
    var ENV = {
        environment: environment,
        baseURL: '/blog/'

see for environment specific configurations.

Need Your Help

JPA - Criteria API and EmbeddedId

jpa jpa-2.0 criteria-api composite-id

I want to use criteria to make the following query. I have an Entity with EmbeddedId defined:

In Git, how do I get a detailed list of file changes from one revision to another?

git rename file-listing

I use a Git repository on my server to version user data files sent to the server. I'm interested in getting a list of changed files between any two revisions.

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.