Skip to content
App 849 stdout:
App 849 stderr: sh: 1: env: not found
App 849 stdout:
[ 2015-07-21 22:27:38.9884 801/7f8e3c182700 App/Implementation.cpp:303 ]: Could not spawn process for application /var/www/<username>/html/current: An error occured while starting up the preloader.
Error ID: c03be446
Error details saved to: /tmp/passenger-error-tAHB0D.html
Message from application: Could not find a JavaScript runtime. See for a list of available runtimes. (ExecJS::RuntimeUnavailable)
/var/www/<username>/html/shared/bundle/ruby/2.2.0/gems/execjs-2.5.2/lib/execjs/runtimes.rb:48:in `autodetect'
/var/www/<username>/html/shared/bundle/ruby/2.2.0/gems/execjs-2.5.2/lib/execjs.rb:5:in `<module:ExecJS>'
/var/www/<username>/html/shared/bundle/ruby/2.2.0/gems/execjs-2.5.2/lib/execjs.rb:4:in `<top (required)>'
<!-- app/views/admin/shared/_tinymce_enable.html.erb -->
<script charset="utf-8">
var tinyMCEPreInit = {
base: '<%= asset_path('tinymce') %>',
suffix: '.min'
$(function() {
module Alchemy
Attachment.attr_accessible :file,
Cell.attr_accessible :page_id, :name
Content.attr_accessible :do_not_index,
- name: team_member
- name: name
type: EssenceText
- name: position
type: EssenceText
- name: linkedin
type: EssenceLink
- name: bio
type: EssenceRichtext
# config/initializers/char_converter.rb
require 'uri'
module Support
class CharConverter
#"HTTP_COOKIE", # including this will give -> WARNING: Can't verify CSRF token authenticity and kill you session cookies
module Alchemy
module Admin
class ElementsController < Alchemy::Admin::BaseController
cache_sweeper Alchemy::ContentSweeper, :only => [:create, :update, :destroy]
def index
@page = Page.find(params[:page_id], :include => {:elements => :contents})
@cells = @page.cells
if @cells.blank?
def truncate_all_tables
config = ActiveRecord::Base.configurations[::Rails.env]
connection = ActiveRecord::Base.connection
connection.disable_referential_integrity do
connection.tables.each do |table_name|
next if connection.select_value("SELECT count(*) FROM #{table_name}") == 0
case config["adapter"]
when "mysql", "mysql2", "postgresql"
connection.execute("TRUNCATE #{table_name}")
when "sqlite", "sqlite3"
StateMachine::Machine.ignore_method_conflicts = true
module Spree
Order.class_eval do
# customize the checkout state machine
Order.state_machines[:state] =, :initial => 'cart') do
event :next do
transition :from => 'cart', :to => 'address'
$(window).on('resize', function() {
var padding = 0;
var width = $(window).width() - (2 * padding);
var ratio = 9/16;
$('iframe').css({width: width, height: width*ratio});
# Install with:
# bash < <(curl -L
# Reference:
echo "Installing ruby-debug with ruby-1.9.3-p194 ..."
curl -OL
curl -OL
Something went wrong with that request. Please try again.