Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6651401
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T01:00:25+00:00 2026-05-26T01:00:25+00:00

I installed JRuby and the neo4j gem and trying to use a generator to

  • 0

I installed JRuby and the neo4j gem and trying to use a generator to create a model:

jruby -S rails generate scaffold User name:string born:date --orm=neo4j

However, I get this error:

error  neo4j [not found]

I tried installing neo4j through bundler and just gem install. Either way, which neo4j returns nothing.

I tried this with the the neo4j-rails gem as well but I the neo4j rubyforge page says it is no longer needed. I also tried just generating a model rather than a scaffold.

Is this error specific to just generators or does it mean that my neo4j installation didn’t work?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T01:00:26+00:00Added an answer on May 26, 2026 at 1:00 am

    Your installation did not work.

    The problem is that you have probably installed version 0.4.6 which is not specific to the JRuby platform but also installs (incorrectly) on MRI. So the error ‘neo4j [not found]’ is because you are using JRuby and installed the neo4j.rb gem in MRI. Neo4j.rb version >= 1.0.0 can only be installed on JRuby.

    I recommend using RVM:

    1. rvm install jruby
    2. rvm use jruby
    3. gem install bundler
    4. bundle install
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I installed, both JRuby and Ruby, and also Rails. To create a new application
I am trying use neo4j with Ruby on rails on Mac OSX. I have
I am trying to run a rails application in Netbeans with JRuby as the
I'm trying to look at cucumber for Jruby on Rails. One of the pre-requesites
i'm trying to use curl with jruby to get some response times for webpages/files.
Just installed cucumber 0.7.2 and cucumber-rails 0.3.1 with jruby-1.4.0 on OSX. When I run
Trying to install some gems under jruby 1.6, but getting connection refused: $ gem
Is anyone using Prawn / Prawnto with Jruby on rails? I installed prawn 0.5.01
Today I installed JRuby by downloading it, extracting it to /home/james/jruby-1.4.0 , and adding
I recently installed jruby on a machine that also has ruby installed on it.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.