RailsApps / rails3-application-templates

Deprecated (no longer maintained). Use the Rails Composer tool instead.

Home Page:http://railsapps.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ExecJS seems to be needing something

opened this issue · comments

 wizard  Running 'after bundler' callbacks.
   rspec  RSpec recipe running 'after bundler'
generate    rspec:install

/home/srboisvert/.rvm/gems/ruby-1.9.2-p0@rails3/gems/execjs-1.1.1/lib/execjs/runtimes.rb:43:in `autodetect': Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes. (ExecJS::RuntimeUnavailable)

ExecJS seems to be needing something ( a js runtime) that isn't installed by the template.

I updated the app templates to install a Javascript runtime if you are on Ubuntu Linux. Please check to see if your issue is resolved. Thanks!

-- Daniel

I'm currently running into this. Using rvm with 1.9.3 installed. I have installed therubyracer-0.10.1 but this still gets complaints at this same spot. I can run irb, require execjs, do simple js exectutions and have that all work ok. Am I missing something?

Trying to use rails new tester -m https://raw.github.com/RailsApps/rails3-application-templates/master/rails3-devise-rspec-cucumber-template.rb -T

I am on Debian, yes. Very good article, thank you. However, it addresses my issue like this:

For development on Linux Ubuntu, it is best to install the Node.js server-side JavaScript environment:
[snip]
If you don’t install Node.js, you’ll need to add this to the Gemfile for each Rails application you build:
gem 'therubyracer'

Getting node.js installed requires a lot more work on this particular machine that I'd rather avoid. Therefore, I installed therubyracer via command line earlier. I'd expect the install template script (correct phrasing?) to respect that and uncomment it in my Gemfile (I found it commented out in the Gemfile it created). I can hack it manually, or at least attempt to, but not sure how to make it friendly for all conditions.

The biggest problem that comes out of all this is that it's somewhere in the middle of following the template, has an error, aborts, and I have no idea how to resume the script or what actions it still needs to take to get a complete application. This means I have to try and solve these problems and start the whole process over again. It doesn't look like there is an easy way to print out the manual steps to do, as they are really ruby calls getting stored for post-processing.. but if there were a way to resume, that would make this very friendly :)

Could you show me the lines where the template script fails? I'm curious which step requires therubyracer.

Oh sorry, it's not the script that requires it - it's when doing the first of the 'after bundler' steps:

      wizard  Running 'after bundler' callbacks.
       rspec  RSpec recipe running 'after bundler'
    generate    rspec:install
/home/daf/.rvm/gems/ruby-1.9.3-p0/gems/execjs-1.3.0/lib/execjs/runtimes.rb:50:in `autodetect': Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes. (ExecJS::RuntimeUnavailable)
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/execjs-1.3.0/lib/execjs.rb:5:in `<module:ExecJS>'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/execjs-1.3.0/lib/execjs.rb:4:in `<top (required)>'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/coffee-script-2.2.0/lib/coffee_script.rb:1:in `require'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/coffee-script-2.2.0/lib/coffee_script.rb:1:in `<top (required)>'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/coffee-script-2.2.0/lib/coffee-script.rb:1:in `require'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/coffee-script-2.2.0/lib/coffee-script.rb:1:in `<top (required)>'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/coffee-rails-3.2.2/lib/coffee-rails.rb:1:in `require'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/coffee-rails-3.2.2/lib/coffee-rails.rb:1:in `<top (required)>'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0@global/gems/bundler-1.1.3/lib/bundler/runtime.rb:68:in `require'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0@global/gems/bundler-1.1.3/lib/bundler/runtime.rb:68:in `block (2 levels) in require'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0@global/gems/bundler-1.1.3/lib/bundler/runtime.rb:66:in `each'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0@global/gems/bundler-1.1.3/lib/bundler/runtime.rb:66:in `block in require'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0@global/gems/bundler-1.1.3/lib/bundler/runtime.rb:55:in `each'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0@global/gems/bundler-1.1.3/lib/bundler/runtime.rb:55:in `require'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0@global/gems/bundler-1.1.3/lib/bundler.rb:119:in `require'
    from /home/daf/web/eupickem/config/application.rb:13:in `<top (required)>'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/railties-3.2.3/lib/rails/commands.rb:24:in `require'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/railties-3.2.3/lib/rails/commands.rb:24:in `<top (required)>'
    from script/rails:6:in `require'
    from script/rails:6:in `<main>'
    generate    email_spec:steps
    [more of the same]

Looks like it's just trying to run a rails command as if I was doing it on the command line - problem is, since I don't have node.js installed and my Gemfile has therubyracer commented out, it can't find a runtime to use.

Have you told the script to use Bootstrap Less? See #31.

I haven't - wanted Zurb Foundation, actually. I'll take a peek at the issue there.

It seems rspec wants therubyracer. I haven't seen this issue before. I may be able to investigate later today.

I just think it wants anything and can't find it (as therubyracer is commented out in my Gemfile). If I were to install nodejs on this machine, I bet it'd work fine.

Then again, I'm pretty new to rvm, so I may have a misunderstanding. In the meanwhile, rspec isn't really a dealbreaker for me, I'll try it without right now and see if I make it farther.

rvm isn't a factor.

When any app is created with rails new, Rails creates a Gemfile with the commented out therubyracer (as a hint to Linux users). That's not a function of my app templates.

We had a previous version of the app templates that would detect Linux and install therubyracer. I'm not a Linux user but the consensus was that node.js was the preferred way to go and it was not necessary to try to install therubyracer (added a lot of OS-dependent conditional code).

Perhaps something has changed with release 1.4.7 of rails_apps_composer (which generates the app templates) which I pushed out yesterday:
https://github.com/RailsApps/rails_apps_composer/blob/master/CHANGELOG.textile
as this issue didn't arise before.

Let me know what happend without rspec.

Gets further, but still the same issue in later steps.

      wizard  Running 'after bundler' callbacks.
  action_mailer  ActionMailer recipe running 'after bundler'
        gsub    config/environments/development.rb
        gsub    config/environments/development.rb
      insert    config/environments/test.rb
        gsub    config/environments/production.rb
      devise  Devise recipe running 'after bundler'
    generate    devise:install
/home/daf/.rvm/gems/ruby-1.9.3-p0/gems/execjs-1.3.0/lib/execjs/runtimes.rb:50:in `autodetect': Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes. (ExecJS::RuntimeUnavailable)
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/execjs-1.3.0/lib/execjs.rb:5:in `<module:ExecJS>'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/execjs-1.3.0/lib/execjs.rb:4:in `<top (required)>'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/coffee-script-2.2.0/lib/coffee_script.rb:1:in `require'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/coffee-script-2.2.0/lib/coffee_script.rb:1:in `<top (required)>'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/coffee-script-2.2.0/lib/coffee-script.rb:1:in `require'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/coffee-script-2.2.0/lib/coffee-script.rb:1:in `<top (required)>'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/coffee-rails-3.2.2/lib/coffee-rails.rb:1:in `require'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/coffee-rails-3.2.2/lib/coffee-rails.rb:1:in `<top (required)>'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.3/lib/bundler/runtime.rb:68:in `require'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.3/lib/bundler/runtime.rb:68:in `block (2 levels) in require'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.3/lib/bundler/runtime.rb:66:in `each'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.3/lib/bundler/runtime.rb:66:in `block in require'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.3/lib/bundler/runtime.rb:55:in `each'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.3/lib/bundler/runtime.rb:55:in `require'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.3/lib/bundler.rb:119:in `require'
    from /home/daf/web/eupickem/config/application.rb:13:in `<top (required)>'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/railties-3.2.3/lib/rails/commands.rb:24:in `require'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/railties-3.2.3/lib/rails/commands.rb:24:in `<top (required)>'
    from script/rails:6:in `require'
    from script/rails:6:in `<main>'
        gsub    config/application.rb
      insert    app/controllers/application_controller.rb
    add_user  AddUser recipe running 'after bundler'
    generate    devise user
/home/daf/.rvm/gems/ruby-1.9.3-p0/gems/execjs-1.3.0/lib/execjs/runtimes.rb:50:in `autodetect': Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes. (ExecJS::RuntimeUnavailable)
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/execjs-1.3.0/lib/execjs.rb:5:in `<module:ExecJS>'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/execjs-1.3.0/lib/execjs.rb:4:in `<top (required)>'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/coffee-script-2.2.0/lib/coffee_script.rb:1:in `require'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/coffee-script-2.2.0/lib/coffee_script.rb:1:in `<top (required)>'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/coffee-script-2.2.0/lib/coffee-script.rb:1:in `require'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/coffee-script-2.2.0/lib/coffee-script.rb:1:in `<top (required)>'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/coffee-rails-3.2.2/lib/coffee-rails.rb:1:in `require'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/coffee-rails-3.2.2/lib/coffee-rails.rb:1:in `<top (required)>'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.3/lib/bundler/runtime.rb:68:in `require'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.3/lib/bundler/runtime.rb:68:in `block (2 levels) in require'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.3/lib/bundler/runtime.rb:66:in `each'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.3/lib/bundler/runtime.rb:66:in `block in require'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.3/lib/bundler/runtime.rb:55:in `each'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.3/lib/bundler/runtime.rb:55:in `require'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.3/lib/bundler.rb:119:in `require'
    from /home/daf/web/eupickem/config/application.rb:13:in `<top (required)>'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/railties-3.2.3/lib/rails/commands.rb:24:in `require'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/railties-3.2.3/lib/rails/commands.rb:24:in `<top (required)>'
    from script/rails:6:in `require'
    from script/rails:6:in `<main>'
    generate    cancan:ability
/home/daf/.rvm/gems/ruby-1.9.3-p0/gems/execjs-1.3.0/lib/execjs/runtimes.rb:50:in `autodetect': Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes. (ExecJS::RuntimeUnavailable)
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/execjs-1.3.0/lib/execjs.rb:5:in `<module:ExecJS>'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/execjs-1.3.0/lib/execjs.rb:4:in `<top (required)>'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/coffee-script-2.2.0/lib/coffee_script.rb:1:in `require'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/coffee-script-2.2.0/lib/coffee_script.rb:1:in `<top (required)>'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/coffee-script-2.2.0/lib/coffee-script.rb:1:in `require'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/coffee-script-2.2.0/lib/coffee-script.rb:1:in `<top (required)>'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/coffee-rails-3.2.2/lib/coffee-rails.rb:1:in `require'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/coffee-rails-3.2.2/lib/coffee-rails.rb:1:in `<top (required)>'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.3/lib/bundler/runtime.rb:68:in `require'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.3/lib/bundler/runtime.rb:68:in `block (2 levels) in require'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.3/lib/bundler/runtime.rb:66:in `each'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.3/lib/bundler/runtime.rb:66:in `block in require'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.3/lib/bundler/runtime.rb:55:in `each'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.3/lib/bundler/runtime.rb:55:in `require'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.3/lib/bundler.rb:119:in `require'
    from /home/daf/web/eupickem/config/application.rb:13:in `<top (required)>'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/railties-3.2.3/lib/rails/commands.rb:24:in `require'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/railties-3.2.3/lib/rails/commands.rb:24:in `<top (required)>'
    from script/rails:6:in `require'
    from script/rails:6:in `<main>'
    generate    rolify:role Role User
/home/daf/.rvm/gems/ruby-1.9.3-p0/gems/execjs-1.3.0/lib/execjs/runtimes.rb:50:in `autodetect': Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes. (ExecJS::RuntimeUnavailable)
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/execjs-1.3.0/lib/execjs.rb:5:in `<module:ExecJS>'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/execjs-1.3.0/lib/execjs.rb:4:in `<top (required)>'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/coffee-script-2.2.0/lib/coffee_script.rb:1:in `require'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/coffee-script-2.2.0/lib/coffee_script.rb:1:in `<top (required)>'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/coffee-script-2.2.0/lib/coffee-script.rb:1:in `require'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/coffee-script-2.2.0/lib/coffee-script.rb:1:in `<top (required)>'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/coffee-rails-3.2.2/lib/coffee-rails.rb:1:in `require'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/coffee-rails-3.2.2/lib/coffee-rails.rb:1:in `<top (required)>'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.3/lib/bundler/runtime.rb:68:in `require'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.3/lib/bundler/runtime.rb:68:in `block (2 levels) in require'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.3/lib/bundler/runtime.rb:66:in `each'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.3/lib/bundler/runtime.rb:66:in `block in require'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.3/lib/bundler/runtime.rb:55:in `each'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.3/lib/bundler/runtime.rb:55:in `require'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.3/lib/bundler.rb:119:in `require'
    from /home/daf/web/eupickem/config/application.rb:13:in `<top (required)>'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/railties-3.2.3/lib/rails/commands.rb:24:in `require'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/railties-3.2.3/lib/rails/commands.rb:24:in `<top (required)>'
    from script/rails:6:in `require'
    from script/rails:6:in `<main>'
    generate    migration AddNameToUsers name:string
/home/daf/.rvm/gems/ruby-1.9.3-p0/gems/execjs-1.3.0/lib/execjs/runtimes.rb:50:in `autodetect': Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes. (ExecJS::RuntimeUnavailable)
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/execjs-1.3.0/lib/execjs.rb:5:in `<module:ExecJS>'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/execjs-1.3.0/lib/execjs.rb:4:in `<top (required)>'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/coffee-script-2.2.0/lib/coffee_script.rb:1:in `require'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/coffee-script-2.2.0/lib/coffee_script.rb:1:in `<top (required)>'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/coffee-script-2.2.0/lib/coffee-script.rb:1:in `require'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/coffee-script-2.2.0/lib/coffee-script.rb:1:in `<top (required)>'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/coffee-rails-3.2.2/lib/coffee-rails.rb:1:in `require'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/coffee-rails-3.2.2/lib/coffee-rails.rb:1:in `<top (required)>'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.3/lib/bundler/runtime.rb:68:in `require'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.3/lib/bundler/runtime.rb:68:in `block (2 levels) in require'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.3/lib/bundler/runtime.rb:66:in `each'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.3/lib/bundler/runtime.rb:66:in `block in require'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.3/lib/bundler/runtime.rb:55:in `each'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.3/lib/bundler/runtime.rb:55:in `require'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.3/lib/bundler.rb:119:in `require'
    from /home/daf/web/eupickem/config/application.rb:13:in `<top (required)>'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/railties-3.2.3/lib/rails/commands.rb:24:in `require'
    from /home/daf/.rvm/gems/ruby-1.9.3-p0/gems/railties-3.2.3/lib/rails/commands.rb:24:in `<top (required)>'
    from script/rails:6:in `require'
    from script/rails:6:in `<main>'
        gsub    app/models/user.rb
The template [https://raw.github.com/RailsApps/rails3-application-templates/master/rails3-devise-rspec-cucumber-template.rb] could not be loaded. Error: No such file or directory - /home/daf/web/eupickem/app/models/user.rb

Would it make sense to have a step in the wizard ask if I want to use therubyracer as my runtime? Or maybe pick a runtime from a choicelist?

Then it would modify my Gemfile at an appropriate time before running these actions?

I think just to get started, I'm going to hack a few lines into the template script to just force it on this system.

Looks like every time a generator is run.

Yep, I think that's optimal. Give me a pull request and I'll try to work it into rails_apps_composer.

For anyone needing a quick fix for this specific file, here's a patch. More robust solution coming soon.

diff --git a/rails3-devise-rspec-cucumber-template.rb b/rails3-devise-rspec-cucumber-template.rb
index 195f31d..fe2cbbe 100644
--- a/rails3-devise-rspec-cucumber-template.rb
+++ b/rails3-devise-rspec-cucumber-template.rb
@@ -1422,6 +1422,11 @@ end
 say_wizard "Running 'bundle install'. This will take a while."
 run 'bundle install'
 run 'bundle update'
+
+# HACK HACK HACK
+# enable therubyracer gem
+gsub_file 'Gemfile', /# gem 'therubyracer'/, "gem 'therubyracer'"
+
 say_wizard "Running 'after bundler' callbacks."
 require 'bundler/setup'
 @after_blocks.each{|b| config = @configs[b[0]] || {}; @current_recipe = b[0]; b[1].call}

daf/rails_apps_composer@b662d55

Am I heading in the right direction here? It's not perfect as it will still leave that commented out one in the assets group. Could gsub_file it out of there but not sure how to delete a line with that.

Just released a new set of app templates to accommodate needs for therubyracer with Linux or Bootstrap-Less. Please test the app template and reopen the issue if errors persist.

-- Daniel

Works great, much better than what I had come up with. Thanks!