Skip to content
This repository has been archived by the owner on Jun 13, 2023. It is now read-only.

Does not install with template file #42

Closed
gwiedeman opened this issue Apr 25, 2018 · 2 comments
Closed

Does not install with template file #42

gwiedeman opened this issue Apr 25, 2018 · 2 comments

Comments

@gwiedeman
Copy link

I don't think this is an environment issue. I'm using a clean gemset with rvm on Ubuntu 16.04.

installing with rails new warclight -m https://raw.githubusercontent.com/archivesunleashed/warclight/master/template.rb
There doesn't seem to be any install errors. solr_wrapper and rails server start, but browsing gets:
Sprockets::FileNotFound in Catalog#index

couldn't find file 'blacklight/core' with type 'application/javascript'
Checked in these paths:
/home/greg/warclight/app/assets/config
/home/greg/warclight/app/assets/images
/home/greg/warclight/app/assets/javascripts
/home/greg/warclight/app/assets/stylesheets
/home/greg/.rvm/gems/ruby-2.4.3@warclight/gems/jquery-rails-4.3.3/vendor/assets/javascripts
...

The two blacklight gems are in the gemfile from github and are listed during bundle install. I also have things like config/blacklight.yml

Tried with Rails 2.0.latest, 5.1.6 and 5.1.2. I wanted 5.1.2 somewhere, but even doing rails new 5.1.2 updated rails to 5.1.6 at some point in the template file.

@ruebot
Copy link
Member

ruebot commented Apr 26, 2018

@gwiedeman to verify, these basically were your steps?

  1. cd /tmp
  2. rails new my-app -m https://raw.githubusercontent.com/archivesunleashed/warclight/master/template.rb
  3. cd my-app
  4. bundle install
  5. solr_wrapper &
  6. rails s
  7. This?

screenshot-2018-4-26 action controller exception caught

@gwiedeman
Copy link
Author

Yeah that's looks like it. Tried each step of the template file manually with the same result.

@ruebot ruebot closed this as completed in eed4838 Apr 30, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants