Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
Nguyễn Bá Dũng
Hello everybody, please leave your comment here if you need any help :smile:
Davi Thiesse
Hello guys
I installed the gem but nothing happen on my layout. Need I to download the theme from almsaeedstudio.com or the gem do everything?
Nguyễn Bá Dũng
Did you add require lines to your application.js and application.css?
//= require bootstrap.min
//= require admin-lte
 *= require bootstrap
 *= require font-awesome
 *= require ionicons
 *= require admin-lte
The gem will download everything you need so you do not need to download them yourself!
Davi Thiesse
Yes, I added.
and I put div class on my index and nothing happen
Davi Thiesse
there is another secret to show the template?
Nguyễn Bá Dũng

there is another secret to show the template?

No, all assets are in /vendor/assets please check this folder.

could you please share with me your page source (right click on page and select View page source)
Davi Thiesse
I checked my project and don't have nothing on /vendor/assets/
just empty folders
Davi Thiesse

<!DOCTYPE html>

<link rel="stylesheet" media="all" href="/assets/doctors.self-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855.css?body=1" data-turbolinks-track="true" />
<link rel="stylesheet" media="all" href="/assets/scaffolds.self-3b726d23ab5ee3bf892fb8f5f421bb9a484a2de8fc1af8a0e2e672743aa5fe40.css?body=1" data-turbolinks-track="true" />
<link rel="stylesheet" media="all" href="/assets/application.self-1b95e0000d69bd74c07e975308a610481b76fd8e0b6604bab330740a72d127df.css?body=1" data-turbolinks-track="true" />
<script src="/assets/jquery.self-a714331225dda820228db323939889f149aec0127aeb06255646b616ba1ca419.js?body=1" data-turbolinks-track="true"></script>
<script src="/assets/jquery_ujs.self-d456baa54c1fa6be2ec3711f0a72ddf7a5b2f34a6b4f515f33767d6207b7d4b3.js?body=1" data-turbolinks-track="true"></script>
<script src="/assets/turbolinks.self-c37727e9bd6b2735da5c311aa83fead54ed0be6cc8bd9a65309e9c5abe2cbfff.js?body=1" data-turbolinks-track="true"></script>
<script src="/assets/doctors.self-877aef30ae1b040ab8a3aba4e3e309a11d7f2612f44dde450b5c157aa5f95c05.js?body=1" data-turbolinks-track="true"></script>
<script src="/assets/bootstrap.min.self-46c321f0fe53f5b49e37ebeb5dd7719f391a093f45bba4d309217e927373e1c9.js?body=1" data-turbolinks-track="true"></script>
<script src="/assets/admin-lte.self-b6afc1cc4bc58ef6168a55b84a988f3222f1dfdef99e5b3be0c58b30e42aaf35.js?body=1" data-turbolinks-track="true"></script>
<script src="/assets/application.self-7862a8a8b42407b4741a1adeeea35f0d13ddc4f702ec532adb0674491d296495.js?body=1" data-turbolinks-track="true"></script>
<meta name="csrf-param" content="authenticity_token" />
<meta name="csrf-token" content="XDS59fOZRyQkH9YiAkpZkbKM31UCllkSxfUQhKvRwkvszemU3iK0xKyoUnBGDEKptpowA8Jt0xLxrapMfWxeYA==" />

<p id="notice"></p>

<h1>Listing Doctors</h1>
<div class="col-xs-12">
<div class="box">
<th colspan="3"></th>

<td>Janaina Moraes</td>
<td>Rua Jose Augusto Tourinho Dantas,1620, casa 1706</td>
<td><a href="/doctors/1">Show</a></td>
<td><a href="/doctors/1/edit">Edit</a></td>
<td><a data-confirm="Are you sure?" rel="nofollow" data-method="delete" href="/doctors/1">Destroy</a></td>


<a href="/doctors/new">New Doctor</a>


Nguyễn Bá Dũng
The assets are in /vendor/assets folder within gem dir so you could not find it in your vendor project. Did you get File not found error with this file /assets/admin-lte.self-b6afc1cc4bc58ef6168a55b84a988f3222f1dfdef99e5b3be0c58b30e42aaf35.js?body=1?
If not, assets are already included to your website, feel free to use adminlte features.
Davi Thiesse
hi guys
no error Started GET "/assets/admin-lte.self-b6afc1cc4bc58ef6168a55b84a988f3222f1dfdef99e5b3be0c58b30e42aaf35.js?body=1" for ::1 at 2015-09-20 19:20:14 -0300
so how can I use the template?
Davi Thiesse

I copied and past the html from https://almsaeedstudio.com/themes/AdminLTE/starter.html and this error happen:

Started GET "/dist/img/user2-160x160.jpg" for ::1 at 2015-09-20 19:47:31 -0300

ActionController::RoutingError (No route matches [GET] "/dist/img/user2-160x160.jpg"):

on my project I can’t see any image on assets
Davi Thiesse
Guys, I guess the gem has a problem. Because didn’t find the js files and images.
I needed to download the theme and configured step by step.
But it’s gonna be my pleasure help to solve this problem.
Nguyễn Bá Dũng
@davithss /dist/img/user2-160x160.jpg is not belong to theme assets, it's just used for example pages and other ones would be the same.
Davi Thiesse
Great. And how about div class?
doesn’t show nothing.
Nguyễn Bá Dũng
please try to inspect div elements and see which css styles were used for them on CSS panel (Firebug, Chrome Inspector...)
Eric Berry
Do you guys know when this gem will be updated to use AdminLTE-2.3.0?
Nguyễn Bá Dũng
master branch has an update for AdminLTE 2.3.2 but not update gem yet. I’m working on updating the gem, new release will coming soon!
So is there any way where I can install the gem and it installs 2.3.2 ?
Andrey Khitryy
Hello, how can I install 2.3.2? I tried over git, but sprockets cannot find gem assets.
Luke Brewerton
Anyone successfully converted the CSS to SASS (SCSS)?