[openstreetmap/openstreetmap-website] Can't proceed after bundler install (#2401)

Carlos Magno Oliveira de Abreu notifications at github.com
Mon Oct 28 01:54:27 UTC 2019


@jalessio after try your code I still can't put it to run. This is what I've done:

First step was to figure out hot to get the file `config/docker.database.yml` because this command is not getting it to my local host: `git clone https://github.com/openstreetmap/openstreetmap-website.git`.

My first thought was to change the repository from `openstreetmap` to `jalessio` and try to take the `docker-compose-take2`. 

After all I need to download it using the option `Clone or Download | Download ZIP` from GitHub and then copy it to my Docker host.

Now I can proceed the the steps described here: `https://github.com/jalessio/openstreetmap-website/blob/docker-compose-take2/DOCKER.md`.

I follow the tutorial until here: `docker-compose run --rm web rake yarn:install` and then try to access the web container at port 3000. 

This is what I get: 
`500 Internal Server Error
If you are the administrator of this website, then please read this web application's log file and/or the web server's log file to find out what went wrong.`

This is the log found in my Portainer from the web container:

```
Puma starting in single mode...
* Version 3.12.1 (ruby 2.5.7-p206), codename: Llamas in Pajamas
* Min threads: 5, max threads: 5
* Environment: development
* Listening on tcp://0.0.0.0:3000
Use Ctrl-C to stop
Started GET "/" for 192.168.0.5 at 2019-10-28 01:35:13 +0000
   (0.8ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
   /usr/local/bundle/gems/activerecord-5.2.3/lib/active_record/log_subscriber.rb:98
Processing by SiteController#index as HTML
  Rendering site/index.html.erb within layouts/map
  Rendered site/index.html.erb within layouts/map (1.1ms)
Completed 500 Internal Server Error in 16087ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (Error: Invalid CSS after ".": expected 1 selector or at-rule, was "../common.scss"
        on line 1:1 of app/assets/stylesheets/ltr/common.scss
>> ../common.scss
   ^
):

Processing by ErrorsController#internal_server_error as HTML
  Rendering errors/internal_server_error.html.erb within layouts/error
  Rendered errors/internal_server_error.html.erb within layouts/error (0.4ms)
Completed 500 Internal Server Error in 600ms (ActiveRecord: 0.0ms)
Error during failsafe response: Error: Invalid CSS after ".": expected 1 selector or at-rule, was "../common.scss"
        on line 1:1 of app/assets/stylesheets/ltr/common.scss
>> ../common.scss
   ^
```
May I miss something?




-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/2401#issuecomment-546762023
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20191027/0062b790/attachment-0001.html>


More information about the rails-dev mailing list