Permalink
Browse files

Correct error with rails

  • Loading branch information...
1 parent 1901438 commit d4fbb1a3e83aeff52ebd3952ccff21947067f3b0 @choix committed Sep 21, 2012
Showing with 6 additions and 1 deletion.
  1. +2 −0 jwplayer-rails.gemspec
  2. +3 −0 lib/jwplayer/rails/engine.rb
  3. +1 −1 lib/jwplayer/rails/version.rb
View
2 jwplayer-rails.gemspec
@@ -15,4 +15,6 @@ Gem::Specification.new do |gem|
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.require_paths = ["lib"]
+
+ gem.add_dependency "railties", ">= 3.1.1"
end
View
3 lib/jwplayer/rails/engine.rb
@@ -1,3 +1,6 @@
+# require 'railties'
+require 'rails'
+
module JWPlayer::Rails
class Engine < ::Rails::Engine
initializer "precompile", :group => :all do |app|
View
2 lib/jwplayer/rails/version.rb
@@ -1,4 +1,4 @@
-module Jwplayer
+module JWPlayer
module Rails
VERSION = "0.0.1"
JWPLAYER_VERSION = "5.10"

0 comments on commit d4fbb1a

Please sign in to comment.