#192 ✓wontfix
aresnickety (at gmail)

missing css files and broken link formatting

Reported by aresnickety (at gmail) | September 15th, 2009 @ 03:25 AM

So I suspect I've something wrong in my setup, but I've installed the gems for thin, integrity, and sinatra. Then,

aresnick@dror:~/desktop$ mkdir int
aresnick@dror:~/desktop$ cd int
aresnick@dror:~/desktop/int$ git init
Initialized empty Git repository in /home/aresnick/desktop/int/.git/
aresnick@dror:~/desktop/int$ cd ..
aresnick@dror:~/desktop$ integrity install ~/desktop/int --thin
Awesome! Integrity was installed successfully!

To complete the installation, please configure the `database_uri` in
/home/aresnick/desktop/int/config.yml and install the matching
DataMapper adapter if
necessary. Then, run `integrity migrate_db /home/aresnick/desktop/int/
config.yml`

Please go to <http://integrityapp.com/#notifiers> for notifiers setup
instructions.
aresnick@dror:~/desktop$ emacs int/config.yml # changed base_uri to /
home/aresnick/desktop/int/.git
aresnick@dror:~/desktop$ cd int/
aresnick@dror:~/desktop/int$ integrity migrate_db config.yml
[...]
aresnick@dror:~/desktop/int$ thin -C thin.yml -R config.ru start
Starting server on 127.0.0.1:8910 ...
Starting server on 127.0.0.1:8911 ...

Unfortunately, at that point, the "int" directory looks like:

aresnick@dror:~/desktop/int$ tree
.
|-- builds
|-- config.ru
|-- config.yml
|-- config.yml~
|-- integrity.db
|-- log
|   |-- thin.8910.log
|   -- thin.8911.log
|-- thin.8910.pid
|-- thin.8911.pid-- thin.yml


2 directories, 9 files

which is notably lacking

<link href='/home/aresnick/desktop/int/.git/reset.css' rel='stylesheet' type='text/css' />
<link href='/home/aresnick/desktop/int/.git/buttons.css' rel='stylesheet' type='text/css' />
<link href='/home/aresnick/desktop/int/.git/integrity.css' rel='stylesheet' type='text/css' />
which is what http://localhost:8910 is asking for.

I've tried altering the base_uri so it's looking just in int, but the output of tree should make clear that that doesn't work, either.

More importantly, the link to "create your first project" points to http://localhost:8910/home/aresnick/desktop/int/.git/new which obviously doesn't work. http://localhost:8910/new does work, though.

Does anyone have any thoughts on what could be causing the mishandling of the root by thin and the missing CSS files? http://bit.ly/1BUZ50 mentions missing CSS, but supposedly that's fixed in 0.1.9, and I'm running 0.1.11 Following is $(gem stale):

trollop-1.13 at Tue Jun  9 01:43:17 2009
mime-types-1.16 at Mon Jul 20 23:18:54 2009
ZenTest-4.1.3 at Mon Jul 20 23:18:56 2009
sexp_processor-3.0.2 at Mon Jul 20 23:18:57 2009
RubyInline-3.8.2 at Mon Jul 20 23:18:57 2009
ParseTree-3.0.4 at Mon Jul 20 23:19:03 2009
RubyToC-1.0.0.5 at Mon Jul 20 23:19:05 2009
atduskgreg-rad-0.3.1 at Mon Jul 20 23:19:09 2009
ditz-0.5 at Mon Sep  7 22:43:45 2009
data_mapper-0.9.11 at Sat Sep 12 17:25:48 2009
rack-1.0.0 at Sat Sep 12 17:25:57 2009
addressable-2.0.2 at Sat Sep 12 17:26:17 2009
data_objects-0.9.12 at Sat Sep 12 17:26:20 2009
dm-core-0.9.11 at Sat Sep 12 17:26:25 2009
dm-aggregates-0.9.11 at Sat Sep 12 17:26:27 2009
dm-serializer-0.9.11 at Sat Sep 12 17:26:28 2009
dm-timestamps-0.9.11 at Sat Sep 12 17:26:28 2009
dm-migrations-0.9.11 at Sat Sep 12 17:26:28 2009
dm-validations-0.9.11 at Sat Sep 12 17:26:29 2009
dm-types-0.9.11 at Sat Sep 12 17:26:30 2009
dm-is-tree-0.9.11 at Sat Sep 12 17:26:30 2009
dm-observer-0.9.11 at Sat Sep 12 17:26:30 2009
dm-cli-0.9.11 at Sat Sep 12 17:26:30 2009
bcrypt-ruby-2.1.1 at Sat Sep 12 17:26:31 2009
uuidtools-2.0.0 at Sat Sep 12 17:26:31 2009
thor-0.11.6 at Sat Sep 12 17:26:37 2009
json-1.1.9 at Sat Sep 12 17:40:24 2009
sinatra-authorization-1.0.0 at Sat Sep 12 17:40:25 2009
builder-2.1.2 at Sat Sep 12 20:32:16 2009
haml-2.2.3 at Sat Sep 12 23:16:26 2009
do_sqlite3-0.9.12 at Sat Sep 12 23:16:27 2009
extlib-0.9.12 at Sat Sep 12 23:16:27 2009
daemons-1.0.10 at Sun Sep 13 00:12:41 2009
openssl-nonblock-0.2.0 at Sun Sep 13 00:17:27 2009
eventmachine-0.12.8 at Sun Sep 13 00:23:31 2009
thin-1.2.4 at Sun Sep 13 00:23:41 2009
rip-0.0.5 at Sun Sep 13 00:39:10 2009
sinatra-0.9.4 at Sun Sep 13 00:51:28 2009
integrity-0.1.11 at Sun Sep 13 01:13:02 2009

Gratefully,
a.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Automated continuous integration server that doesn't suck.

Shared Ticket Bins

People watching this ticket

Pages