Install Issue; bin/rails server
Added by Kirk Fitzgerald over 6 years ago
[redmine@uhso919 redmine]$ /usr/local/bin/ruby bin/rails server -b 0.0.0.0 -e production
result:
Traceback (most recent call last):
4: from bin/rails:3:in `<main>'
3: from bin/rails:3:in `require_relative'
2: from /var/www/redmine/config/boot.rb:4:in `<top (required)>'
1: from /usr/local/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
/usr/local/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require': cannot load such file -- bundler/setup (LoadError)
I've searched Google to the end of the Internet and back again with no solution. Any idea what is going on with attempting to install Redmine.
I am on Red Hat 7.4 Ruby 2.5.0p0 and its all command line through Putty.
I am using the set of directions here:
http://www.redmine.org/projects/redmine/wiki/Install_Redmine_34_on_RHEL74
Please, any help would be great. Let me know of any further information that would help in coming up with a solution and I'll get it posted.
Replies (2)
RE: Install Issue; bin/rails server - Added by Martin Denizet (redmine.org team member) over 6 years ago
Hello,
My understanding is that bundler
is not found.
Try:
which bundle
# if not found:
gem install bundler
I note that in the official installation wiki, it's not mentioned that any version of Redmine is compatible with Ruby 2.5.
My suggestion would be to install latest compatible Ruby version through RVM, RVM is very convenient and flexible to get the Ruby version you need regardless of distro packages.
Cheers
RE: Install Issue; bin/rails server - Added by Kirk Fitzgerald over 6 years ago
So would these instructions be invalid:
http://www.redmine.org/projects/redmine/wiki/Install_Redmine_34_on_RHEL74