-
Notifications
You must be signed in to change notification settings - Fork 6
Installation Issues
Michael Lascarides edited this page Apr 21, 2014
·
13 revisions
- "lazy_high_charts requires RubyGems version ~> 1.3" but I have 2.2. (After switching to Ruby 1.9.3. Worked fine when I installed on 1.9.2). (Fixed by adjusting rubygems version down to 1.8.x).
- When running supplejack api generate: "SupplejackApi::User does not respond to 'devise' method. This usually means you haven't loaded your ORM file or it's being loaded too late. To fix it, be sure to require 'devise/orm/YOUR_ORM' inside 'config/initializers/devise.rb' or before your application definition in 'config/application.rb' (RuntimeError)"
- Dave: Fixed as of 9f406ad9290d32dec6f8530546919dbffc9641b8
- Default Solr port for development in application.yml and sunspot.yml do not match!
- Was having trouble getting Solr/Sunspot to start. Managed to get things up and running by deleting the /solr directory; it's regenerated by rake solr:sunspot:start. We should make sure that we're not copying over the old /solr directory as part of the install.
- Should I be installing the Supplejack gem in any particular part/env of the Gemfile?
- Dave: No, it needs to be in all environments
- Can't we create a Rails Composer application template that'll package up all of these steps? It can live on github and we can install right from it
- Dave: Good idea, we should look into creating a custom recipe thing
- Recommended Ruby version? (I started in 1.9.2 by accident and had to reinstall bundle after 'rvm use 1.9.2'.)
- Dave: Ruby
385-p385
- Dave: Ruby
- Recommended Rubygems version?
- Recommended Rails version?
- Dave: It's in the
rails new _3.2.12_command, so3.2.12
- Dave: It's in the
- Recommended Solr version?
- Dave:
4.1.0.2013.01.16.17.21.36. Solr is provided bysunspot_testgem, but you need to upgrade it to 4.1.0.
- Dave:
- Recommended Mongo version?
- Dave:
2.4.6
- Dave:
- Solr & Mongo installation instructions? WHAT DO I NEED TO INSTALL FIRST? (Can figure it out by trial and error, but it's boring.)
- Dave: You need Mongo first. You can test the API by requesting a
record_id. Once that works, you can get search via Solr working
- Dave: You need Mongo first. You can test the API by requesting a
- Environment variables?
- Dave: These are handled by
config/application.yml
- Dave: These are handled by
- Didn't see generator install line first time... two "bundle install"s in a row confused me.
- Dave: We could easily right a bash script which does all this for you