croot / my-imouto-booru

Automatically exported from code.google.com/p/my-imouto-booru
0 stars 0 forks source link

Unable to install because of some kind of Rails Assets problem #230

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
On a windows 7 machine, I just downloaded clean installs of the latest versions 
of XAMPP and myimouto and followed the installation instructions carefully. I 
am running the server locally.

On running install.php, I get this error:

$ php install.php

====================
 MyImouto installer
====================

Admin account
Please enter a name and password for the admin account.
Note: the password will be shown.
Account name: [redacted]
Password: [redacted]
Is the information correct? (y/n) y
Database
Creating tables......done
Running migrations...done
Seeding..............done
Creating admin account...done

Creating /public/data folders...

Compiling assets
Deleting compiled assets
Compiling file C:/Users/Owner/gitrepos/myimouto/app/assets/javascripts/applicati
on.js
*** Rails\Assets\Parser\Javascript\ClosureApi\Exception\BlankResponseException i
n Rails\Assets\Parser\Javascript\ClosureApi\ClosureApi::minify ***
Closure returned an empty string (file too large? size => 531)
#0 C:\Users\Owner\gitrepos\myimouto\vendor\myimouto\railsphp\lib\Rails\Assets\As
sets.php(506): Rails\Assets\Parser\Javascript\ClosureApi\ClosureApi::minify('//
Place your a...')
#1 C:\Users\Owner\gitrepos\myimouto\vendor\myimouto\railsphp\lib\Rails\Assets\As
sets.php(336): Rails\Assets\Assets->compressFile('// Place your a...', 'js')
#2 C:\Users\Owner\gitrepos\myimouto\vendor\myimouto\railsphp\lib\Rails\Assets\As
sets.php(196): Rails\Assets\Assets->compileFile(Object(Rails\Assets\File))
#3 C:\Users\Owner\gitrepos\myimouto\install.php(110): Rails\Assets\Assets->compi
leAll()
#4 {main}
Error context:

I've never used Rails before so I really have no idea what this means.  know is 
that most of the CSS/JS for the site isn't available.

I wish I could give more details but I really can't think of what could 
possibly be peculiar about my setup.

Original issue reported on code.google.com by jjwal...@gmail.com on 12 Apr 2014 at 5:20

GoogleCodeExporter commented 9 years ago
Thanks for the compliment!... but this isn't actual "Rails". hehe.

Anyway. After checking, I'm afraid I don't know why the error occured, and the 
error message isn't too descriptive (my bad).

If you still have this problem, here are the compiled assets. You can extract 
this in your /public directory.

Original comment by asterixvader on 12 Apr 2014 at 4:07

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks a million! Everything seems to be working great now.

Original comment by jjwal...@gmail.com on 12 Apr 2014 at 4:14