Closed mdoyle13 closed 11 years ago
I can't reproduce this issue, can you please post your Gemfile/Gemfile.lock?
Sure thing.
Gemfile.lock
GIT
remote: git://github.com/gregbell/active_admin.git
revision: 05df90c74dc2bec99664d836351e6a5eced84049
specs:
activeadmin (0.6.0)
arbre (>= 1.0.1)
bourbon (>= 1.0.0)
devise (>= 1.1.2)
fastercsv
formtastic (>= 2.0.0)
inherited_resources (>= 1.3.1)
jquery-rails (>= 1.0.0, < 3.0.0)
kaminari (>= 0.13.0)
meta_search (>= 0.9.2)
rails (>= 3.0.0)
sass (>= 3.1.0)
GIT
remote: git://github.com/nebirhos/activeadmin-sortable-tree.git
revision: 87300239fa33604d70887f01c176d85a3d750b9d
specs:
activeadmin-sortable-tree (0.0.1)
activeadmin
rails (~> 3.2.9)
GEM
remote: https://rubygems.org/
specs:
actionmailer (3.2.13)
actionpack (= 3.2.13)
mail (~> 2.5.3)
actionpack (3.2.13)
activemodel (= 3.2.13)
activesupport (= 3.2.13)
builder (~> 3.0.0)
erubis (~> 2.7.0)
journey (~> 1.0.4)
rack (~> 1.4.5)
rack-cache (~> 1.2)
rack-test (~> 0.6.1)
sprockets (~> 2.2.1)
activeadmin-sortable (0.0.1)
activeadmin (~> 0.4)
activemodel (3.2.13)
activesupport (= 3.2.13)
builder (~> 3.0.0)
activerecord (3.2.13)
activemodel (= 3.2.13)
activesupport (= 3.2.13)
arel (~> 3.0.2)
tzinfo (~> 0.3.29)
activeresource (3.2.13)
activemodel (= 3.2.13)
activesupport (= 3.2.13)
activesupport (3.2.13)
i18n (= 0.6.1)
multi_json (~> 1.0)
acts_as_list (0.2.0)
activerecord (>= 3.0)
ancestry (2.0.0)
activerecord (>= 3.0.0)
arbre (1.0.1)
activesupport (>= 3.0.0)
arel (3.0.2)
bcrypt-ruby (3.0.1)
bourbon (3.1.7)
sass (>= 3.2.0)
thor
builder (3.0.4)
bullet (4.6.0)
uniform_notifier
cancan (1.6.10)
capybara (2.0.3)
mime-types (>= 1.16)
nokogiri (>= 1.3.3)
rack (>= 1.0.0)
rack-test (>= 0.5.4)
selenium-webdriver (~> 2.0)
xpath (~> 1.0.0)
carrierwave (0.8.0)
activemodel (>= 3.2.0)
activesupport (>= 3.2.0)
carrierwave_backgrounder (0.2.1)
carrierwave (~> 0.5)
carrierwave_direct (0.0.12)
carrierwave
fog
uuidtools
childprocess (0.3.9)
ffi (~> 1.0, >= 1.0.11)
coderay (1.0.9)
coffee-rails (3.2.2)
coffee-script (>= 2.2.0)
railties (~> 3.2.0)
coffee-script (2.2.0)
coffee-script-source
execjs
coffee-script-source (1.6.2)
delayed_job (3.0.5)
activesupport (~> 3.0)
delayed_job_active_record (0.4.4)
activerecord (>= 2.1.0, < 4)
delayed_job (~> 3.0)
devise (2.2.4)
bcrypt-ruby (~> 3.0)
orm_adapter (~> 0.1)
railties (~> 3.1)
warden (~> 1.2.1)
diff-lcs (1.2.4)
docsplit (0.7.2)
erubis (2.7.0)
excon (0.22.1)
execjs (1.4.0)
multi_json (~> 1.0)
factory_girl (4.2.0)
activesupport (>= 3.0.0)
factory_girl_rails (4.2.1)
factory_girl (~> 4.2.0)
railties (>= 3.0.0)
fastercsv (1.5.5)
ffi (1.8.1)
fog (1.11.1)
builder
excon (~> 0.20)
formatador (~> 0.2.0)
json (~> 1.7)
mime-types
net-scp (~> 1.1)
net-ssh (>= 2.1.3)
nokogiri (~> 1.5.0)
ruby-hmac
formatador (0.2.4)
formtastic (2.2.1)
actionpack (>= 3.0)
friendly_id (4.0.9)
guard (1.8.0)
formatador (>= 0.2.4)
listen (>= 1.0.0)
lumberjack (>= 1.0.2)
pry (>= 0.9.10)
thor (>= 0.14.6)
guard-rspec (3.0.1)
guard (>= 1.8)
rspec (~> 2.13)
has_scope (0.5.1)
hike (1.2.3)
i18n (0.6.1)
inherited_resources (1.4.0)
has_scope (~> 0.5.0)
responders (~> 0.9)
journey (1.0.4)
jquery-fileupload-rails (0.4.1)
actionpack (>= 3.1)
railties (>= 3.1)
jquery-rails (2.3.0)
railties (>= 3.0, < 5.0)
thor (>= 0.14, < 2.0)
json (1.8.0)
kaminari (0.14.1)
actionpack (>= 3.0.0)
activesupport (>= 3.0.0)
listen (1.1.6)
rb-fsevent (>= 0.9.3)
rb-inotify (>= 0.9)
rb-kqueue (>= 0.2)
lumberjack (1.0.3)
mail (2.5.4)
mime-types (~> 1.16)
treetop (~> 1.4.8)
meta_search (1.1.3)
actionpack (~> 3.1)
activerecord (~> 3.1)
activesupport (~> 3.1)
polyamorous (~> 0.5.0)
method_source (0.8.1)
mime-types (1.23)
multi_json (1.7.6)
mysql2 (0.3.11)
net-scp (1.1.1)
net-ssh (>= 2.6.5)
net-ssh (2.6.7)
nokogiri (1.5.9)
orm_adapter (0.4.0)
polyamorous (0.5.0)
activerecord (~> 3.0)
polyglot (0.3.3)
pry (0.9.12.2)
coderay (~> 1.0.5)
method_source (~> 0.8)
slop (~> 3.4)
rack (1.4.5)
rack-cache (1.2)
rack (>= 0.4)
rack-mini-profiler (0.1.26)
rack (>= 1.1.3)
rack-ssl (1.3.3)
rack
rack-test (0.6.2)
rack (>= 1.0)
rails (3.2.13)
actionmailer (= 3.2.13)
actionpack (= 3.2.13)
activerecord (= 3.2.13)
activeresource (= 3.2.13)
activesupport (= 3.2.13)
bundler (~> 1.0)
railties (= 3.2.13)
railties (3.2.13)
actionpack (= 3.2.13)
activesupport (= 3.2.13)
rack-ssl (~> 1.3.2)
rake (>= 0.8.7)
rdoc (~> 3.4)
thor (>= 0.14.6, < 2.0)
rake (10.0.4)
ransack (0.7.2)
actionpack (~> 3.0)
activerecord (~> 3.0)
polyamorous (~> 0.5.0)
rb-fsevent (0.9.3)
rb-inotify (0.9.0)
ffi (>= 0.5.0)
rb-kqueue (0.2.0)
ffi (>= 0.5.0)
rb-readline (0.5.0)
rdoc (3.12.2)
json (~> 1.4)
responders (0.9.3)
railties (~> 3.1)
rmagick (2.13.2)
rspec (2.13.0)
rspec-core (~> 2.13.0)
rspec-expectations (~> 2.13.0)
rspec-mocks (~> 2.13.0)
rspec-core (2.13.1)
rspec-expectations (2.13.0)
diff-lcs (>= 1.1.3, < 2.0)
rspec-mocks (2.13.1)
rspec-rails (2.13.2)
actionpack (>= 3.0)
activesupport (>= 3.0)
railties (>= 3.0)
rspec-core (~> 2.13.0)
rspec-expectations (~> 2.13.0)
rspec-mocks (~> 2.13.0)
ruby-hmac (0.4.0)
rubyzip (0.9.9)
sass (3.2.9)
sass-rails (3.2.6)
railties (~> 3.2.0)
sass (>= 3.1.10)
tilt (~> 1.3)
seed-fu (2.2.0)
activerecord (~> 3.1)
activesupport (~> 3.1)
selenium-webdriver (2.33.0)
childprocess (>= 0.2.5)
multi_json (~> 1.0)
rubyzip
websocket (~> 1.0.4)
slop (3.4.5)
sprockets (2.2.2)
hike (~> 1.2)
multi_json (~> 1.0)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
thor (0.18.1)
tilt (1.4.1)
treetop (1.4.14)
polyglot
polyglot (>= 0.3.1)
tzinfo (0.3.37)
uglifier (2.1.1)
execjs (>= 0.3.0)
multi_json (~> 1.0, >= 1.0.2)
uniform_notifier (1.2.0)
uuidtools (2.1.4)
warden (1.2.1)
rack (>= 1.0)
websocket (1.0.7)
xpath (1.0.0)
nokogiri (~> 1.3)
PLATFORMS
ruby
DEPENDENCIES
activeadmin!
activeadmin-sortable
activeadmin-sortable-tree!
acts_as_list
ancestry
bullet
cancan
capybara (~> 2.0.3)
carrierwave
carrierwave_backgrounder
carrierwave_direct
coffee-rails (~> 3.2.1)
delayed_job_active_record
docsplit
factory_girl_rails
fog
friendly_id (~> 4.0.9)
guard-rspec
jquery-fileupload-rails
jquery-rails (= 2.3.0)
mime-types
mysql2
rack-mini-profiler
rails (= 3.2.13)
ransack
rb-fsevent
rb-readline
rmagick
rspec-rails
sass-rails (~> 3.2.3)
seed-fu
uglifier (>= 1.0.3)
Sorry for the late reply, it's been a very busy week! Can you post also the Gemfile? Otherwise I have to rebuild it
Not a problem. Here's the Gemfile.
source 'https://rubygems.org'
gem 'rails', '3.2.13'
# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'
# Gems used only for assets and not required
# in production environments by default.
group :assets do
gem 'sass-rails', '~> 3.2.3'
gem 'coffee-rails', '~> 3.2.1'
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
# gem 'therubyracer', :platforms => :ruby
gem 'uglifier', '>= 1.0.3'
gem 'jquery-fileupload-rails'
end
gem 'mysql2'
gem 'activeadmin', github: 'gregbell/active_admin'
gem "jquery-rails", "2.3.0"
gem 'friendly_id', '~> 4.0.9'
gem 'carrierwave'
gem 'carrierwave_direct'
gem 'rmagick'
gem 'delayed_job_active_record'
gem 'mime-types'
gem 'cancan'
gem 'ancestry'
gem 'ransack'
gem 'rack-mini-profiler'
gem 'docsplit'
gem 'activeadmin-sortable'
gem 'acts_as_list'
gem "fog"
gem 'carrierwave_backgrounder'
gem 'activeadmin-sortable-tree', :git => 'git://github.com/nebirhos/activeadmin-sortable-tree.git'
gem 'carrierwave-docsplit', :git => 'git://github.com/sccdigital/carrierwave-docsplit.git'
group :development do
gem 'bullet'
gem 'seed-fu'
end
gem "rspec-rails", :group => [:test, :development]
group :test do
gem "factory_girl_rails"
gem 'capybara', '~> 2.0.3'
gem "guard-rspec"
gem "rb-fsevent"
gem "rb-readline"
end
# To use ActiveModel has_secure_password
# gem 'bcrypt-ruby', '~> 3.0.0'
# To use Jbuilder templates for JSON
# gem 'jbuilder'
# Use unicorn as the app server
# gem 'unicorn'
# Deploy with Capistrano
# gem 'capistrano'
# To use debugger
# gem 'debugger'
Ok, just figured out. You have activeadmin-sortable in your Gemfile that is incompatible with this gem (they use the same namespace).You can use activeadmin-sortable-tree for simple lists too, remove the other gem and rebundle.
Working now. Thanks!
Hi, I'm not using activeadmin-sortable
and gets this error in production.
In development, everythings is ok, but in production following requests are failing:
/javascripts/active_admin/sortable.js
;/stylesheets/active_admin/sortable.css
.This is strange, because this assets are not being called through "/assets/" path…
I figured it out.
I need to add active_admin/sortable
to app/assets/javascripts/active_admin
and app/assets/stylesheets/active_admin
.
This info need to be presented in readme.
Made pull request for assets in readme.
I'm using ActiveAdmin 0.6 and I can't seem to get it to load the supplied sortable.js or sortable.css. I have manually included the code so the functionality still works but I still get a 404 on every request.
Started GET "/assets/active_admin/sortable.css" for 127.0.0.1 at 2013-06-10 17:10:20 -0500 Served asset /active_admin/sortable.css - 404 Not Found (3ms)