Project

General

Profile

Cannot load gems / bundler fails to install gems

Added by Pawel S almost 12 years ago

- Ruby implementation and version - 1.8.7
- Rails version (rails --version) - 2.3.14
- Operating system (precise if you're using cygwin when running on Windows) - Linux
- Database used, and its version - MySQL 5
- Ruby-aware server used: Webrick (i dont understand this point:P)

Webhost - Hostgator.com

I have following problem with installing redmine:

1. Due to rails version on the host I download and unpack 1.4.4 stable version as intructed in the install manual.
2. gem install bundler which results in 1.3.1 version installed with a success
3. bundle install --without development test results in multiple errors

@
Fetching gem metadata from http://rubygems.org/.......

/etc/sudoers: /etc/sudoers.d near line 117 <<<

sudo: parse error in /etc/sudoers near line 117
sudo: no valid sudoers sources found, quitting
Using rake (0.9.2.2)

/etc/sudoers: /etc/sudoers.d near line 117 <<<

sudo: parse error in /etc/sudoers near line 117
sudo: no valid sudoers sources found, quitting
Using activesupport (2.3.14)

/etc/sudoers: /etc/sudoers.d near line 117 <<<

sudo: parse error in /etc/sudoers near line 117
sudo: no valid sudoers sources found, quitting
Using rack (1.1.3)

/etc/sudoers: /etc/sudoers.d near line 117 <<<

sudo: parse error in /etc/sudoers near line 117
sudo: no valid sudoers sources found, quitting
Using actionpack (2.3.14)

/etc/sudoers: /etc/sudoers.d near line 117 <<<

sudo: parse error in /etc/sudoers near line 117
sudo: no valid sudoers sources found, quitting
Using actionmailer (2.3.14)

/etc/sudoers: /etc/sudoers.d near line 117 <<<

sudo: parse error in /etc/sudoers near line 117
sudo: no valid sudoers sources found, quitting
Using activerecord (2.3.14)

/etc/sudoers: /etc/sudoers.d near line 117 <<<

sudo: parse error in /etc/sudoers near line 117
sudo: no valid sudoers sources found, quitting
Using activeresource (2.3.14)

/etc/sudoers: /etc/sudoers.d near line 117 <<<

sudo: parse error in /etc/sudoers near line 117
sudo: no valid sudoers sources found, quitting

[33mGem::Exception: Cannot load gem at [/usr/lib/ruby/gems/1.8/cache/coderay-1.0.8.gem] in /home/smook/rails_apps/redmine-1.4.4[0m
[31mAn error occured while installing coderay (1.0.8), and Bundler cannot continue.
Make sure that `gem install coderay -v '1.0.8'` succeeds before bundling.[0m
@

4. I tried to install all gems from gemlist file and it was successful however upon generating session store or migrating DB i obtain error that not all tools from bundle have been installed (while they have).

If anyone managed to install this version (1.4.0-1.4.4) of redmine on Hostgator, i would be VERY grateful for walkthrough.


Replies (2)

RE: Cannot load gems / bundler fails to install gems - Added by Rob Shambaugh over 11 years ago

Did you ever make any progress on this? I'm also trying to install redmine on a hostgator (shared) hosting account with no success. Hostgator told me they don't support it, but would install is if I had a VPS or Dedicated account, but that's not gonna happen.

RE: Cannot load gems / bundler fails to install gems - Added by Jan Niggemann (redmine.org team member) over 11 years ago

sudo: parse error in /etc/sudoers near line 117
sudo: no valid sudoers sources found, quitting

From my experience, this usually means that someone messed up the sudoers file.
Happens most often when people edit /etc/sudoers directly rather than using visudo...

    (1-2/2)