Ember Appkit Rails

screenshot of Ember Appkit Rails

Ember Appkit for Rails

Overview

EmberAppkitRails is a specialized gem designed to seamlessly integrate Ember.js applications into the Ruby on Rails asset pipeline. While this gem has reached its end-of-life status—where no new features will be implemented—patches will still be applied as necessary. This makes it a reliable choice for existing projects that want to maintain stability while still taking advantage of the current functionality. As a pre-1.0 gem, expect some API changes, which necessitates careful consideration when upgrading.

Even though it is sunset, EmberAppkitRails provides essential tools and structure for Rails developers who want to manage their Ember applications efficiently. With its strengths in organizing application files and built-in testing functionalities, it remains a valuable asset for constructively running Ember apps within a Ruby on Rails environment.

Features

  • File Organization: Automatically adds app/ and config/ directories to the asset pipeline, promoting better organization of application files.
  • Breaking API Changes: Users are advised to re-run the bootstrap generator and compare generated files to avoid issues arising from potential API changes.
  • Syntax Highlighting: Easy setup for syntax highlighting in ES6 modules through popular code editors like Vim, Sublime, TextMate, and Emacs.
  • Built-in Testing: Integrated testing capabilities with Teaspoon and QUnit, allowing for straightforward test execution in the development environment.
  • Automatic Transpiling: Handles the transpiling of ES6 modules through the es6_module_transpiler-rails gem, ensuring smooth compatibility with JavaScript files.
  • Module Namespace Management: Implements logical path requirements for files (e.g., models, controllers) to ensure proper AMD namespace lookups.
  • Asset Load Path Management: Removes the app/assets/javascripts directory from the asset load path to streamline asset compilation.