Skip to content

Instantly share code, notes, and snippets.

Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root
will break this application for all non-root users on this machine.
Fetching gem metadata from https://rubygems.org/.......
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
Using rake 12.0.0
Using RedCloth 4.3.2
Using abstract_type 0.0.7
Using ace-rails-ap 4.1.2
Using i18n 0.8.6
[root@24ea42cd89ed ~]# ./install_gitlab_shell.sh
Could not find rake-12.0.0 in any of the sources
Run `bundle install` to install missing gems.
[root@24ea42cd89ed ~]# rake --version
rake, version 12.1.0
[root@24ea42cd89ed ~]# sudo -u git rake --version
rake, version 12.1.0
[root@24ea42cd89ed ~]#
[root@24ea42cd89ed ~]# cd /home/git/gitlab/
[root@24ea42cd89ed gitlab]# gem which rake
/usr/local/lib/ruby/gems/2.3.0/gems/rake-12.1.0/lib/rake.rb
[root@24ea42cd89ed gitlab]# sudo -u git gem which rake
sudo: gem: command not found
# We will install the code we downloaded earlier
cd /var/www/redmine/
bundle install --verbose --without development test
bundle update
[root@eadaaced7621 ~]# install_scripts/install_redimne_code.sh
+ cd /var/www/redmine/
+ bundle install --verbose --without development test
Running `bundle install --verbose --without "development" "test"` with bundler 1.16.0
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root users on this machine.
# We will install the code we downloaded earlier
cd /var/www/redmine/
bundle install --verbose --without development test
bundle update
[root@eadaaced7621 ~]# install_scripts/install_redimne_code.sh
+ cd /var/www/redmine/
+ bundle install --verbose --without development test
Running `bundle install --verbose --without "development" "test"` with bundler 1.16.0
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root users on this machine.
@bdonnahue
bdonnahue / ruby error
Last active May 16, 2019 14:55
ruby error
Installing pry 0.10.4
An error occurred while installing pry (0.10.4), and Bundler cannot continue.
Your disk is out of space. Free some space to be able to install your bundle.
In Gemfile:
pry-byebug was resolved to 3.4.2, which depends on
pry
[root@localhost systemd-gitlab3]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/xvda2 7.5G 5.8G 1.3G 82% /