GithubHelp home page GithubHelp logo

Comments (4)

conraddecker avatar conraddecker commented on July 17, 2024

With --trace

** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment

Sphinx cannot be found on your system. You may need to configure the following
settings in your config/sphinx.yml file:

  • bin_path
  • searchd_binary_name
  • indexer_binary_name

For more information, read the documentation:
http://freelancing-god.github.com/ts/en/advanced_config.html

rake aborted!
no such file to load -- app/mixins/import_image_from_url
/app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:240:in require' /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:240:inblock in require'
/app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:225:in load_dependency' /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:240:inrequire'
/app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:348:in require_or_load' /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:489:inload_missing_constant'
/app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:181:in block in const_missing' /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:179:ineach'
/app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:179:in const_missing' /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:501:inload_missing_constant'
/app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:181:in block in const_missing' /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:179:ineach'
/app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:179:in const_missing' /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:501:inload_missing_constant'
/app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:181:in block in const_missing' /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:179:ineach'
/app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:179:in const_missing' /app/config/initializers/import_image_from_url_setup.rb:2:inclass:Base'
/app/config/initializers/import_image_from_url_setup.rb:1:in <top (required)>' /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:234:inload'
/app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:234:in block in load' /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:225:inload_dependency'
/app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:234:in load' /app/.bundle/gems/ruby/1.9.1/gems/railties-3.1.0/lib/rails/engine.rb:555:inblock (2 levels) in class:Engine'
/app/.bundle/gems/ruby/1.9.1/gems/railties-3.1.0/lib/rails/engine.rb:554:in each' /app/.bundle/gems/ruby/1.9.1/gems/railties-3.1.0/lib/rails/engine.rb:554:inblock in class:Engine'
/app/.bundle/gems/ruby/1.9.1/gems/railties-3.1.0/lib/rails/initializable.rb:25:in instance_exec' /app/.bundle/gems/ruby/1.9.1/gems/railties-3.1.0/lib/rails/initializable.rb:25:inrun'
/app/.bundle/gems/ruby/1.9.1/gems/railties-3.1.0/lib/rails/initializable.rb:50:in block in run_initializers' /app/.bundle/gems/ruby/1.9.1/gems/railties-3.1.0/lib/rails/initializable.rb:49:ineach'
/app/.bundle/gems/ruby/1.9.1/gems/railties-3.1.0/lib/rails/initializable.rb:49:in run_initializers' /app/.bundle/gems/ruby/1.9.1/gems/railties-3.1.0/lib/rails/application.rb:92:ininitialize!'
/app/.bundle/gems/ruby/1.9.1/gems/railties-3.1.0/lib/rails/railtie/configurable.rb:30:in method_missing' /app/config/environment.rb:5:in<top (required)>'
/app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:240:in require' /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:240:inblock in require'
/app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:223:in block in load_dependency' /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:640:innew_constants_in'
/app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:223:in load_dependency' /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:240:inrequire'
/app/.bundle/gems/ruby/1.9.1/gems/railties-3.1.0/lib/rails/application.rb:78:in require_environment!' /app/.bundle/gems/ruby/1.9.1/gems/railties-3.1.0/lib/rails/application.rb:189:inblock (2 levels) in initialize_tasks'
/app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2/lib/rake/task.rb:205:in call' /app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2/lib/rake/task.rb:205:inblock in execute'
/app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2/lib/rake/task.rb:200:in each' /app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2/lib/rake/task.rb:200:inexecute'
/app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2/lib/rake/task.rb:158:in block in invoke_with_call_chain' /usr/ruby1.9.2/lib/ruby/1.9.1/monitor.rb:201:inmon_synchronize'
/app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2/lib/rake/task.rb:151:in invoke_with_call_chain' /app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2/lib/rake/task.rb:176:inblock in invoke_prerequisites'
/app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2/lib/rake/task.rb:174:in each' /app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2/lib/rake/task.rb:174:ininvoke_prerequisites'
/app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2/lib/rake/task.rb:157:in block in invoke_with_call_chain' /usr/ruby1.9.2/lib/ruby/1.9.1/monitor.rb:201:inmon_synchronize'
/app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2/lib/rake/task.rb:151:in invoke_with_call_chain' /app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2/lib/rake/task.rb:144:ininvoke'
/app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2/lib/rake/application.rb:112:in invoke_task' /app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2/lib/rake/application.rb:90:inblock (2 levels) in top_level'
/app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2/lib/rake/application.rb:90:in each' /app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2/lib/rake/application.rb:90:inblock in top_level'
/app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2/lib/rake/application.rb:129:in standard_exception_handling' /app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2/lib/rake/application.rb:84:intop_level'
/app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2/lib/rake/application.rb:62:in block in run' /app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2/lib/rake/application.rb:129:instandard_exception_handling'
/app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2/lib/rake/application.rb:59:in run' /app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2/bin/rake:32:in<top (required)>'
/app/.bundle/gems/ruby/1.9.1/bin/rake:19:in load' /app/.bundle/gems/ruby/1.9.1/bin/rake:19:in

'
Tasks: TOP => db:migrate => environment

from citizenry.

igal avatar igal commented on July 17, 2024

I'm looking into this, in part because I wrote that mixin.

I should warn you that Citizenry won't work as-is on Heroku because they do some very strange things. I've recently finished porting Calagator to Heroku and hope to apply my lessons to Citizenry. I'd recommend holding off on trying to use Citizenry on Heroku until I do that. I hope to finish this during the next week. Please join the mailing list for updates and discussions on this topic.

from citizenry.

igal avatar igal commented on July 17, 2024

Fixed.

The problem is the environment relied on the current working directory to be the checkout, so it used relative paths like "app/mixins". This breaks on Heroku because they don't use the checkout as the current working directory.

The solution was to use "config.root" to produce absolute paths.

from citizenry.

conraddecker avatar conraddecker commented on July 17, 2024

Awesome, thanks for the fix. Also, thanks for the heads up on getting Citizenry working on Heroku, sounds like there's a bit more then just throwing it up there :) I'll take that into consideration.

Would love to help with the process of making it easier for users to deploy directly to Heroku, I'll keep an eye on the project.

from citizenry.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.