diff --git a/packages/ember-data/lib/main.js b/packages/ember-data/lib/main.js index b5a73ab9d15..5265ace5735 100644 --- a/packages/ember-data/lib/main.js +++ b/packages/ember-data/lib/main.js @@ -8,7 +8,7 @@ Ember.RSVP.Promise.cast = Ember.RSVP.Promise.cast || Ember.RSVP.resolve; Ember.runInDebug(function() { - if (Ember.VERSION.match(/1\.[0-7]\./)) { + if (Ember.VERSION.match(/^1\.[0-7]\./)) { throw new Ember.Error("Ember Data requires at least Ember 1.8.0, but you have " + Ember.VERSION + ". Please upgrade your version of Ember, then upgrade Ember Data");