railsadminteam / rails_admin

RailsAdmin is a Rails engine that provides an easy-to-use interface for managing your data
MIT License
7.88k stars 2.25k forks source link

Javascripts not loading on development #1618

Closed Meuk closed 11 years ago

Meuk commented 11 years ago

I have a problem with configuring rails_admin. I have everything setup, and it shows me CRUD's for my models, however, it doesn't load any javascripts. It loads application.js, but it doesn't include the required libraries that are mentioned in it.

My gem file

source 'http://rubygems.org'

group :assets do
  gem 'sass-rails',   "~> 3.2.0"
  gem 'coffee-rails', "~> 3.2.0"
  gem 'uglifier'
  gem 'execjs'
end
gem 'rails', '3.2.3'
gem 'jquery-rails'
gem 'delayed_job'
# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'

gem 'mysql2'
gem 'devise'
gem 'carrierwave'
gem 'rails_admin'
gem 'rails_admin_jcrop' #, git: 'git://github.com/janx/rails_admin_jcrop.git'
# Use unicorn as the web server
# gem 'unicorn'

Anything I'm missing. Is it software I am missing? Should I precompile my assets on a dev stage every time?

Meuk commented 11 years ago

Moving this question to Stackoverflow as it seems a more appropriate place for these kind of questions :)

http://stackoverflow.com/questions/16218335/rails-admin-not-loading-javascripts-in-development