rbenv

Why is no Ruby script found in input (LoadError)?

血红的双手。 提交于 2021-02-18 10:58:09
问题 Ruby is installed by rbenv. $ ruby -v ruby 1.9.3p327 (2012-11-10 revision 37606) [i686-linux] $ which ruby /home/user/.rbenv/shims/ruby $ which sass /home/user/.rbenv/shims/sass $ gem list *** LOCAL GEMS *** bigdecimal (1.1.0) bundler (1.2.4) io-console (0.3) json (1.5.4) minitest (2.5.1) rake (0.9.2.2) rdoc (3.9.4) sass (3.2.5) This is my config.yml: # Assetic Configuration assetic: // ... ruby: /home/user/.rbenv/shims/ruby filters: cssrewrite: ~ sass: bin: /home/user/.rbenv/shims/sass // ..

How to fix 'Your Ruby version is 2.3.3, but your Gemfile specified 2.5.2'

自古美人都是妖i 提交于 2021-02-11 09:42:27
问题 I got an error: Your Ruby version is 2.3.3, but your Gemfile specified 2.5.2 with running bundle install . Besides, ruby -v shows ruby 2.5.2p104 (2018-10-18 revision 65133) [x86_64-linux] . OS: Debian 9 Problem with bundler was solved with: Your Ruby version is 2.0.0, but your Gemfile specified 2.1.0 But now there is the same error with rails s 回答1: The problem was solved by, rvm reinstall ruby-2.5.2 rvm default use ruby-2.5.2 bundle install bin/rails s 来源: https://stackoverflow.com/questions

rbenv: rails: command not found immediately after installing rails 5.2.1

此生再无相见时 提交于 2021-01-29 04:55:38
问题 I have spent the whole day trying to upgrade from Rails 4x to 5.2.1. I was following this guide for the upgrade and I was not able to upgrade successfully. Issue: After "successfully" installing Rails 5 using: ruby 2.5.3p105 (2018-10-18 revision 65156) [x86_64-darwin17] and did rails -v I get: rbenv: rails: command not found The `rails' command exists in these Ruby versions: 2.2.0 Things that I have tried: gem pristine different gems gem pristine --all this and played around with paths but no

docker-compose picks the wrong ruby version

百般思念 提交于 2021-01-24 07:09:34
问题 When running docker-compose, it seems to pick the wrong ruby program. Using rbenv I have installed version 2.6.2 But there is also a version under /usr/bin that is at 2.6.3. I can't delete that version, also not as sudo. I have already uninstalled rbenv and re-installed it. The strange thing is this: MBP-Andre:biblestudy_platform andreheijstek$ which ruby /Users/andreheijstek/.rbenv/shims/ruby MBP-Andre:biblestudy_platform andreheijstek$ whereis ruby /usr/bin/ruby When I run docker-compose,

docker-compose picks the wrong ruby version

允我心安 提交于 2021-01-24 07:08:35
问题 When running docker-compose, it seems to pick the wrong ruby program. Using rbenv I have installed version 2.6.2 But there is also a version under /usr/bin that is at 2.6.3. I can't delete that version, also not as sudo. I have already uninstalled rbenv and re-installed it. The strange thing is this: MBP-Andre:biblestudy_platform andreheijstek$ which ruby /Users/andreheijstek/.rbenv/shims/ruby MBP-Andre:biblestudy_platform andreheijstek$ whereis ruby /usr/bin/ruby When I run docker-compose,

Trouble creating elastic beanstalk environment for Ruby on Rails 6 (rvm, rbenv, .ruby-version issues)

十年热恋 提交于 2021-01-04 06:53:21
问题 I've been trying to figure out how to deploy a simple rails app to elastic beanstalk using the cli on my macOS, but every time I get to eb create I get this error: 2020/08/06 07:22:56.626563 [INFO] Executing instruction: StageApplication 2020/08/06 07:22:56.626674 [INFO] extracting /opt/elasticbeanstalk/deployment/app_source_bundle to /var/app/staging/ 2020/08/06 07:22:56.626695 [INFO] Running command /bin/sh -c /usr/bin/unzip -q -o /opt/elasticbeanstalk/deployment/app_source_bundle -d /var

Trouble creating elastic beanstalk environment for Ruby on Rails 6 (rvm, rbenv, .ruby-version issues)

℡╲_俬逩灬. 提交于 2021-01-04 06:52:02
问题 I've been trying to figure out how to deploy a simple rails app to elastic beanstalk using the cli on my macOS, but every time I get to eb create I get this error: 2020/08/06 07:22:56.626563 [INFO] Executing instruction: StageApplication 2020/08/06 07:22:56.626674 [INFO] extracting /opt/elasticbeanstalk/deployment/app_source_bundle to /var/app/staging/ 2020/08/06 07:22:56.626695 [INFO] Running command /bin/sh -c /usr/bin/unzip -q -o /opt/elasticbeanstalk/deployment/app_source_bundle -d /var

Trouble creating elastic beanstalk environment for Ruby on Rails 6 (rvm, rbenv, .ruby-version issues)

▼魔方 西西 提交于 2021-01-04 06:51:29
问题 I've been trying to figure out how to deploy a simple rails app to elastic beanstalk using the cli on my macOS, but every time I get to eb create I get this error: 2020/08/06 07:22:56.626563 [INFO] Executing instruction: StageApplication 2020/08/06 07:22:56.626674 [INFO] extracting /opt/elasticbeanstalk/deployment/app_source_bundle to /var/app/staging/ 2020/08/06 07:22:56.626695 [INFO] Running command /bin/sh -c /usr/bin/unzip -q -o /opt/elasticbeanstalk/deployment/app_source_bundle -d /var

Trouble creating elastic beanstalk environment for Ruby on Rails 6 (rvm, rbenv, .ruby-version issues)

假如想象 提交于 2021-01-04 06:50:25
问题 I've been trying to figure out how to deploy a simple rails app to elastic beanstalk using the cli on my macOS, but every time I get to eb create I get this error: 2020/08/06 07:22:56.626563 [INFO] Executing instruction: StageApplication 2020/08/06 07:22:56.626674 [INFO] extracting /opt/elasticbeanstalk/deployment/app_source_bundle to /var/app/staging/ 2020/08/06 07:22:56.626695 [INFO] Running command /bin/sh -c /usr/bin/unzip -q -o /opt/elasticbeanstalk/deployment/app_source_bundle -d /var