rvm

$PATH is not properly set up

狂风中的少年 提交于 2019-12-06 16:48:26
I just ran 'rvm get stable' to be given the below error; Warning! PATH is not properly set up, '/Users/jamesbkemp/.rvm/gems/ruby-2.2.1/bin' is not at first place, usually this is caused by shell initialization files - check them for 'PATH=...' entries, it might also help to re-add RVM to your dotfiles: 'rvm get stable --auto-dotfiles', to fix temporarily in this shell session run: 'rvm use ruby-2.2.1'. Previous to running 'rvm get stable' I ran 'brew upgrade ruby' to Ruby 2.2.2. 'echo $PATH' returns the below: /usr/local/heroku/bin:/Users/user/.rvm/gems/ruby-2.2.1/bin:/Users/user/.rvm/gems

RVM is loading with the wrong version of ruby?

北慕城南 提交于 2019-12-06 16:45:46
When I open terminal I see: Last login: Sun Aug 26 15:33:57 on ttys001 Using /Users/me/.rvm/gems/ruby-1.9.3-p125 Running /Users/me/.rvm/hooks/after_use Using /Users/me/.rvm/gems/ruby-1.9.3-p194 ruRunning /Users/me/.rvm/hooks/after_use me-MacBook:site me$ ruby -v ruby 1.8.7 (2012-02-08 patchlevel 358) [universal-darwin12.0] Where I want ruby 1.9.3. If I then type: rvm use 1.9.3 --default I get the below: $ rvm use 1.9.3 --default Using /Users/me/.rvm/gems/ruby-1.9.3-p194 Running /Users/me/.rvm/hooks/after_use This allows me to use rails but when I reopen terminal I have to do this every single

Problems installing Ruby 1.9.3 with Rvm

こ雲淡風輕ζ 提交于 2019-12-06 15:57:48
问题 I am trying to install ruby 1.9.3 using this guide: http://www.moncefbelyamani.com/how-to-install-xcode-homebrew-git-rvm-ruby-on-mac/. When I run rvm install 1.9.3 I get this error Searching for binary rubies, this might take some time. No binary rubies available for: osx/10.8/x86_64/ruby-1.9.3-p392. Continuing with compilation. Please read 'rvm mount' to get more information on binary rubies. Installing requirements for osx, might require sudo password. Skipping `brew update` make sure your

NameError: uninitialized constant ActionController::Dispatcher

谁说胖子不能爱 提交于 2019-12-06 15:38:00
Found a similar post here but I am running a Mac so the first solution does not exactly apply and the second didn't work for me. Running Mac OS 10.7.2, Xcode 4.2.1, rvm 1.10.1 using ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin11.2.0] I believe the issue to due with rvm, however I do not know how to fix it $ rails new dispatch_me $ rails generate controller demo index $ rails console Loading development environment (Rails 3.2.0.rc2) 1.9.3-p0 :001 > env = {} => {} 1.9.3-p0 :002 > env['REQUEST_METHOD'] = 'GET' => "GET" 1.9.3-p0 :003 > env['PATH_INFO'] = '/demo/index' => "/demo/index" 1

Rails S Won't Start the Server: Could not find rails (>= 0)?

岁酱吖の 提交于 2019-12-06 15:35:32
I am fairly new to Ruby/Rails but I just have not found out how to get it started (it worked a few days ago). I am in the actuall app folder and then rails s /Users/me/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:247:in `to_specs': Could not find rails (>= 0) amongst [minitest-1.6.0, rake-0.8.7, rdoc-2.5.8] (Gem::LoadError) from /Users/me/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:256:in `to_spec' from /Users/me/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems.rb:1210:in `gem' from /usr/bin/rails:18:in `<main>' So

RVM won't work over SSH (as a function)

心已入冬 提交于 2019-12-06 15:14:21
I just installed RVM on a Debian 6 server, without having any problem in the beginning. However after everything is set up, I can't run RVM in the terminal. The message I get when I type rvm use is: RVM is not a function, selecting rubies with 'rvm use ...' will not work. You need to change your terminal emulator preferences to allow login shell. Sometimes it is required to use `/bin/bash --login` as the command. Please visit https://rvm.io/integration/gnome-terminal/ for a example. I am logging in via SSH and can´t find a solution for this problem. In " rvm installation not working: "RVM is

To use bash --login by default with capistrano 3 + sshkit + rvm

☆樱花仙子☆ 提交于 2019-12-06 13:37:15
I have following cap3 task task :gemset do on roles(:all) do if remote_dir_exists?(".rvm") execute :rvm, :gemset, :use, "#{ Configs.rvm.ruby }@#{ Configs.rvm.gemset } --create" else info "RVM not installed" end end end for settings rvm: ruby: ruby-2.0.0-p247 gemset: cap3 it should execute on my server following command rvm gemset use ruby-2.0.0-p247@cap3 --create but it gives to me DEBUG [9bd5fc11] RVM is not a function, selecting rubies with 'rvm use ...' will not work. DEBUG [9bd5fc11] DEBUG [9bd5fc11] You need to change your terminal emulator preferences to allow login shell. DEBUG

Error install rvm 1.9.3

落花浮王杯 提交于 2019-12-06 13:27:25
Trying to solve this error.... $ rvm install 1.9.3 Searching for binary rubies, this might take some time. No binary rubies available for: osx/10.8/x86_64/ruby-1.9.3-p392. Continuing with compilation. Please read 'rvm mount' to get more information on binary rubies. Installing requirements for smf, might require sudo password. Installing required packages: libksba, sqlite................................................... Error running 'requirements_smf_libs_install libksba sqlite', please read /Users/jm/.rvm/log/ruby-1.9.3-p392/package_install_libksba_sqlite.log There were package

Installing Ruby - RVM - Mac OSX Mountain Lion

蹲街弑〆低调 提交于 2019-12-06 12:43:10
So I'm trying to install Ruby 1.9.3 on my Mac running Mountain Lion. I have xCode installed and up to date. I've installed RVM and now am trying to install Ruby using rvm install 1.9.3 When I run this it looks like it's going to install but gives me an error please see below: rvm install 1.9.3 Searching for binary rubies, this might take some time. No binary rubies available for: osx/10.8/x86_64/ruby-1.9.3-p392. Continuing with compilation. Please read 'rvm mount' to get more information on binary rubies. Installing requirements for osx, might require sudo password. Already up-to-date.

RVM requirements error

拥有回忆 提交于 2019-12-06 12:04:21
I have OS X Mavericks installed and I'm trying to run rvm requirements in terminal and it gives me this error. Installing required packages: autoconf, automake, libtool, pkgconfig, libyaml, libffi, readline, libksba, curl-ca-bundle, gdbm............. Error running 'requirements_osx_port_libs_install autoconf automake libtool pkgconfig libyaml libffi readline libksba curl-ca-bundle gdbm', please read /Users/Alex/.rvm/log/ruby-1.9.3-p448/1374263757_package_install_autoconf_automake_libtool_pkgconfig_libyaml_libffi_readline_libksba_curl-ca-bundle_gdbm.log Requirements installation failed with