Skip to content

Instantly share code, notes, and snippets.

View 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% /
View gist:532f5490f3028836ad85ff9c400ab2c7
# 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.
View gist:aa12150413daed53f91ad99d55429c7a
# 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.
View gist:ea12b71ddd82293ffd03328c6dfc1c3f
[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
View gist:74455fed20ed7d4c7b1ddb77bb96c0f6
[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 ~]#
View gist:efbceda0a696d24251d35a83b2353aa0
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
You can’t perform that action at this time.