From c304819d6be722e9130ae258d2a91c651dbe5cef Mon Sep 17 00:00:00 2001 From: Christophe Vilayphiou Date: Mon, 20 Feb 2012 08:55:21 +0800 Subject: [PATCH] Commented out code for Windows --- Gemfile | 1 - Gemfile.lock | 4 ---- app/models/design/design.rb | 2 +- 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/Gemfile b/Gemfile index 8c6b990da..e7f88e3f4 100644 --- a/Gemfile +++ b/Gemfile @@ -19,7 +19,6 @@ gem 'ruby-debug19' gem 'rubyzip' gem 'sinatra' gem 'sprockets' -gem 'therubyracer' # For linux gem 'tinymce-rails' # Gems used only for assets and not required diff --git a/Gemfile.lock b/Gemfile.lock index 28e1ac54f..92db033df 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -79,7 +79,6 @@ GEM actionpack (>= 3.0.0) activesupport (>= 3.0.0) railties (>= 3.0.0) - libv8 (3.3.10.4) linecache19 (0.5.12) ruby_core_source (>= 0.1.4) mail (2.3.0) @@ -175,8 +174,6 @@ GEM rack (~> 1.0) tilt (~> 1.1, != 1.3.0) subexec (0.2.1) - therubyracer (0.9.9) - libv8 (~> 3.3.10) thor (0.14.6) tilt (1.3.3) tinymce-rails (3.4.8) @@ -232,7 +229,6 @@ DEPENDENCIES sinatra spork sprockets - therubyracer tinymce-rails uglifier watchr diff --git a/app/models/design/design.rb b/app/models/design/design.rb index 7fbacedc3..d2ad07aa2 100644 --- a/app/models/design/design.rb +++ b/app/models/design/design.rb @@ -20,7 +20,7 @@ class Design validates_presence_of :title validates_presence_of :author - after_save :parse_css_for_images + # after_save :parse_css_for_images def new_files=(*attrs) attrs[0].map do |key,items_ary| #Loop by JSs,Themes,Imgs