rvm

Fish RVM Use error

戏子无情 提交于 2020-01-01 14:35:32
问题 So I installed fish and oh-my-fish, and when i want to use rvm I get this error: ➜ avalancha git:(services) ✗ rvm use 2.1.0 Using /home/matias/.rvm/gems/ruby-2.1.0 fish: The '$' character begins a variable name. The character '{', which directly followed a '$', is not allowed as a part of a variable name, and variable names may not be zero characters long. To learn more about variable expansion in fish, type 'help expand-variable'. /home/matias/.config/fish/functions/rvm.fish (line 2): begin;

undefined symbol: SSLv2_method when trying to run Thin webserver

大城市里の小女人 提交于 2020-01-01 12:12:11
问题 I've installed OpenSSL with rvm ( rvm pkg install openssl ) and then did rvm reinstall 1.9.3 --with-openssl-dir=$rvm_path/usr When I try to run the thin webserver, I get the following error: /home/ubuntu/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/x86_64-linux/openssl.so: undefined symbol: SSLv2_method - /home/ubuntu/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/x86_64-linux/openssl.so (LoadError) This is running on Ubuntu 12.04, and I've read that Ubuntu 12 builds OpenSSL without SSLv2 support.

install bundler using rvm, ruby 1.8.7 with gcc 4.7 on linux

不问归期 提交于 2020-01-01 09:59:22
问题 Issues building ruby 1.8.7 or installing the bundler gem with GCC 4.7 on linux (Fedora 17, Arch, etc.). This issue occurred for me using RVM. I was able to install 1.8.7, but unable to install the bundler gem. I would receive the following error: $ gem install bundler ~/.rvm/rubies/ruby-1.8.7-p358/lib/ruby/1.8/timeout.rb:60: [BUG] Segmentation fault ruby 1.8.7 (2012-02-08 patchlevel 358) [x86_64-linux] this issue is described in a number of locations, including: ruby-enterprise 1.8.7-12:

Howto compile vim with ruby 1.9.2

两盒软妹~` 提交于 2020-01-01 09:32:25
问题 I tried to re-compile vim with ruby support because I noticed that vim was still using 1.8.7 (which is the default ruby version on Snow Leopard). Ruby 1.9.2 is installed via rvm. When compiling with ./configure --enable-rubyinterp --enable-gui=no --disable-nls --enable-cscope --prefix=/Users/madhatter I get the following error from make: ld: library not found for -lruby.1.9.1 collect2: ld returned 1 exit status make[1]: *** [vim] Error 1 make: *** [first] Error 2 I then cloned the actual

What does Bundler offer over RVM?

半腔热情 提交于 2020-01-01 09:23:20
问题 I am not sure what the differences are between these two tools. There seems to be a big overlap, but I have been using RVM and facing some miss-compatibility issues. What does Bundler do that RVM does not? 回答1: They serve different purposes. RVM creates a sandbox to manage your Ruby installations. As a part of that, it also lets you define gemsets. Bundler doesn't manage your Rubies, it works with the currently selected Ruby. So, I think you should consider RVM as the configuration manager

Deploying with capistrano does ignore group setting

倖福魔咒の 提交于 2020-01-01 09:17:29
问题 In my deploy-file I set the group to www-data: set :user, "root" set :group, "www-data" so when using cap:setup I expected capistrano to chown the folders with root:www-data But all folders and files are root:root. Any ideas where this problem could come from? Information: I'm Using system-wide-rvm. 回答1: as for my understanding you should do it manually, what setup does is to use the user to login, not to set the rights to directory. I have found no group setting for capistrano, maybe you

Ruby/RVM with @global gem - bundle run fails with `require': cannot load such file — bundler (LoadError)

本小妞迷上赌 提交于 2020-01-01 02:25:06
问题 I study linux for 1 month. While I tried to make all steps from Migrating from MySQL to Postgres on Heroku I've got an error I could not handle. When I try to install the mysqltopostgres gem from source: $ git clone https://github.com/maxlapshin/mysql2postgres.git $ cd mysql2postgres $ bundle install $ gem build mysqltopostgres.gemspec $ sudo gem install mysqltopostgres-0.2.20.gem I have an error on $ bundle install : /home/franchb/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/rubygems/core_ext/

Can't run rails server after accidentally running $ gem update --system

旧城冷巷雨未停 提交于 2020-01-01 01:40:08
问题 I ran gem update --system thinking it would solve a problem I was having, and now I can't run rails server . It won't load and instead, I keep getting the following. Can someone tell me how to undo this and revert back to before I ran the update? I've already ran git checkout , but the problem persists... /usr/local/rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.1.5/lib/bundler/rubygems_integration.rb:187:in `stub_source_index170': uninitialized constant Gem::SourceIndex (NameError) from /usr

Ubuntu RVM Rails bash command not found

|▌冷眼眸甩不掉的悲伤 提交于 2020-01-01 01:05:30
问题 I just installed ubuntu, and after that I wanted to install RVM with ruby and rails 3.1. Installations went fine but when I want to create a rails app it can't find the rails command. I know I can create an alias, but when rvm changes its gemset, the alias-path would be wrong right? This is my .bashrc file (/home/user/.bashrc): # ~/.bashrc: executed by bash(1) for non-login shells. # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) # for examples # If not running

Ubuntu RVM Rails bash command not found

走远了吗. 提交于 2020-01-01 01:04:29
问题 I just installed ubuntu, and after that I wanted to install RVM with ruby and rails 3.1. Installations went fine but when I want to create a rails app it can't find the rails command. I know I can create an alias, but when rvm changes its gemset, the alias-path would be wrong right? This is my .bashrc file (/home/user/.bashrc): # ~/.bashrc: executed by bash(1) for non-login shells. # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) # for examples # If not running