Ruby on Rails
Tuesday, July 5, 2016
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 https://github.com/rails/rails/issues/17657
BUT IT DID NOT HELP
1) I then commentd out this line in config/application.rb: require "action_mailer/railtie"
2) 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
2) 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:
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/d2ef0b01-6fd3-4733-90f1-9beaa399b7ec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment