I added spree_essential_cms to my dev environment and everything is working just fine. I then deployed to my production environment using capistrano and it's like the spree_essential_cms engine didn't get loaded. My content tab is missing from the admin section. If I go to admin/pages I get a routing error. My content_decorator.rb breaks my server restart with the following error:
uninitialized constant Spree::Content (NameError)
But when I ssh into my prod server and bundle exec rails c production
group :test, :development do
gem "rspec-rails", "~> 2.0"
gem "capybara"
gem 'thin' # so that i don't use webrick hoping to bypass large number of warnings
gem 'quiet_assets'
end
Hello,
I added spree_essential_cms to my dev environment and everything is working just fine. I then deployed to my production environment using capistrano and it's like the spree_essential_cms engine didn't get loaded. My content tab is missing from the admin section. If I go to admin/pages I get a routing error. My content_decorator.rb breaks my server restart with the following error:
uninitialized constant Spree::Content (NameError)
But when I ssh into my prod server and bundle exec rails c production
actually returns the Spree::Content class.
Do you have any idea why this would be happening?
Spree 1.1.0, Rails 3.2.1, Ruby 1.9.3
Here is my Gemfile:
source 'https://rubygems.org'
gem 'rails', '3.2.3'
gem 'mysql2'
group :assets do gem 'sass-rails', '~> 3.2.3' # not using sass for this project gem 'coffee-rails', '~> 3.2.1'
See https://github.com/sstephenson/execjs#readme for more supported runtimes
gem 'therubyracer', :platform => :ruby gem 'uglifier', '>= 1.0.3' end
gem 'jquery-rails'
gem 'unicorn'
gem 'capistrano'
gem 'foreman'
gem 'spree' gem 'spree_usa_epay' gem 'spree_skrill' gem 'devise-encryptable' gem 'awesome_print' gem 'spree_showcase' gem 'spree_related_products', :git => 'git://github.com/spree/spree_related_products.git' gem 'spree_essential_cms', '~> 0.4.0'
group :test, :development do gem "rspec-rails", "~> 2.0" gem "capybara" gem 'thin' # so that i don't use webrick hoping to bypass large number of warnings gem 'quiet_assets' end