Errors when starting the server with neo4j.rb

Hi all,

I would like to develop an application that combines JRuby, Rails and
Neo4j. When trying to use the latest version of Rails (5.0.0.beta1), I
get
a complaint regarding a missing activesupport gem. Well, after switching
to
Rails 4.2.6, and installing neo4j, I ran into the following problems,
for
which I also hereby report the temporary solutions:

  1. START NEO4j: be rake neo4j:start
    ====> PROB: NameError: uninitialized constant
    ActiveSupport::EventedFileUpdateChecker
    I disabled the “line config.file_watcher =
    ActiveSupport::EventedFileUpdateChecker” in
    config/environments/development.rb
    THEN re-ran 1)
    ===> PROB: NoMethodError: undefined method to_time_preserves_timezone=' for ActiveSupport:Module commented out the line ActiveSupport.to_time_preserves_timezone = true in config/initializers/new_framework_defaults.rb:15 THEN re-ran 1) ===> PROB: NoMethodError: undefined method halt_callback_chains_on_return_false=’ for ActiveSupport:Module
    commented out the line config/initializers/new_framework_defaults.rb:18
    THEN re-ran 1)
    ===> PROB: NoMethodError: undefined method `perform_caching=’ for
    ActionMailer::Base:Class
    Set config.action_mailer.perform_caching = true (originally false) on
    line
    32 of config/development
    // from Fragment caching doesn't work in mailer views · Issue #17657 · rails/rails · GitHub
    BUT IT DID NOT HELP

  2. I then commentd out this line in config/application.rb: require
    “action_mailer/railtie”

  3. commented ou the following lines in config/environments/development
    config.action_mailer.raise_delivery_errors = false
    config.action_mailer.perform_caching = false

    OK, at this point, I managed to start neo4j with rake neo4j:start
    without any more issue

  4. THEN, I ran “rails s” to start the rails server, after generatin a
    model, a controller, and a view. Unfortunately, I ran into the following
    issue reported below: