rvm

Error requiring pg under rvm with postgres.app

我只是一个虾纸丫 提交于 2020-01-11 09:11:26
问题 I'm using Postgres.app on OS X (10.8.3). I have modified my PATH so that the bin folder for the app is before all others. Rammy:~ phrogz$ which pg_config /Applications/Postgres.app/Contents/MacOS/bin/pg_config I have rvm installed and can install the pg gem without error, but when I go to require it I get an error: Rammy:~ phrogz$ gem -v 1.8.25 Rammy:~ phrogz$ gem install pg Fetching: pg-0.15.1.gem (100%) Building native extensions. This could take a while... Successfully installed pg-0.15.1

can not install ruby-1.8.7-p249 on rvm

懵懂的女人 提交于 2020-01-11 06:38:23
问题 $ rvm install ruby-1.8.7-p249 Installing Ruby from source to: /home/sayuj/.rvm/rubies/ruby-1.8.7-p249, this may take a while depending on your cpu(s)... ruby-1.8.7-p249 - #fetching ruby-1.8.7-p249 - #extracted to /home/sayuj/.rvm/src/ruby-1.8.7-p249 (already extracted) ruby-1.8.7-p249 - #configuring ruby-1.8.7-p249 - #compiling ERROR: Error running 'make ', please read /home/sayuj/.rvm/log/ruby-1.8.7-p249/make.log ERROR: There has been an error while running make. Halting the installation.

can not install ruby-1.8.7-p249 on rvm

廉价感情. 提交于 2020-01-11 06:38:06
问题 $ rvm install ruby-1.8.7-p249 Installing Ruby from source to: /home/sayuj/.rvm/rubies/ruby-1.8.7-p249, this may take a while depending on your cpu(s)... ruby-1.8.7-p249 - #fetching ruby-1.8.7-p249 - #extracted to /home/sayuj/.rvm/src/ruby-1.8.7-p249 (already extracted) ruby-1.8.7-p249 - #configuring ruby-1.8.7-p249 - #compiling ERROR: Error running 'make ', please read /home/sayuj/.rvm/log/ruby-1.8.7-p249/make.log ERROR: There has been an error while running make. Halting the installation.

Gem install hangs indefinitely

风流意气都作罢 提交于 2020-01-10 20:32:09
问题 Background: I'm a designer that works well with HTML, CSS, and JS. But when it comes to setting up my environment is where I fall short. I recently purchased a home computer. I want to set up Middleman to use in a project. I already installed rvm and all its requirements. I am on ruby-2.0.0-p0, which from what I understand is the latest stable release. When I attempt to install Middleman, or any other gem for that matter, nothing happens. The cursor just moves to the next line. Some guidance,

how to solve “ruby installation is missing psych” error?

半城伤御伤魂 提交于 2020-01-08 18:35:31
问题 I used rvm to install ruby 1.9.3. even though it was successfully installed, it complained about libyaml. and now every time i wanna install a gem (say rails) this warning shows up: It seems your ruby installation is missing psych (for YAML output). To eliminate this warning, please install libyaml and reinstall your ruby. I use Mac os X 10.7 (Lion). 回答1: In my case rvm pkg install libyaml and rvm reinstall ruby-1.9.3-p125 solved the problem. For people using Ubuntu, make sure that libtool is

Bundle install error when deploying via capistrano (& rvm)

北城以北 提交于 2020-01-07 04:32:10
问题 Now I must admit that I'm stumbling around in the dark a little bit as far as this deployment lark is concerned. I'll try and explain the situation best I can; I have set up a test deployment server and am trying to deploy my app to it with capistrano, however, I am encountering some difficulties surrounding my gems and their dependencies, as the error below shoes. [mike-test] executing command [mike-test] rvm_path=$HOME/.rvm/ $HOME/.rvm/bin/rvm-shell '1.9.3' -c 'cd /home/deploy/myapp

Unable to install Rails using RVM on Ubuntu 12.04 LTS

和自甴很熟 提交于 2020-01-06 15:14:24
问题 I am using Ubuntu 12.04 LTS x86_64 Minimal and I have installed Ruby and RVM according to these instructions. Ruby installs fine, and RVM installs fine and works perfectly. I have visited just about every SO question I can find, and article on this issue and nothing has worked. Rails still won't install, and I am unable to do anything to get it to work thus far. gem install rails -v 4.0.0 returns either 'success' (it returns nothing, and rails remains unusable) or fails giving: [ tsujp ~ 437

Remove RVM, Ruby and gems completely?

旧街凉风 提交于 2020-01-06 03:38:05
问题 I had to downgrade Rails and now the gems, the versions, and everything, are completely messed up and I feel like jumping from my window. I just want to destroy everything related with RVM, Ruby and gems to make sure I make a 100% clean reinstallation. How can I do that? 回答1: Linux and installed as regular user ? Than all you need to do is: rm -Rf ./.rvm rm -Rf ./.gem rm -f ./.gemrc You can also check ~/.bashrc and ~/.bash_profile files for lines like this: PATH=$PATH:$HOME/.rvm/bin # Add RVM

rvm install 1.8.7 error

烂漫一生 提交于 2020-01-06 02:47:26
问题 I'm trying to install ruby 1.8.7 Searching for binary rubies, this might take some time. No binary rubies available for: ubuntu/12.04/x86_64/ruby-1.8.7-p371. Continuing with compilation. Please read 'rvm mount' to get more information on binary rubies. Installing Ruby from source to: ~/.rvm/rubies/ruby-1.8.7-p371, this may take a while depending on your cpu(s)... ruby-1.8.7-p371 - #downloading ruby-1.8.7-p371, this may take a while depending on your connection... ruby-1.8.7-p371 - #extracted

Installed Ruby 1.9.3 but ruby -v keeps showing 1.8.7 every new terminal

五迷三道 提交于 2020-01-05 08:37:11
问题 Eventhough I have Ruby 1.9.3 installed via RVM, every time I open a new Terminal and run "ruby -v" I get: ruby 1.8.7 (2012-02-08 patchlevel 358) [universal-darwin11.0] "rvm list" shows: rvm rubies ruby-1.9.3-p362 [ x86_64 ] =* ruby-1.9.3-p374 [ x86_64 ] # => - current # =* - current && default # * - default I've tried entering "rvm use 1.9.3 --default" but it only works for the current terminal session. Opening new terminals always reverts back to 1.8.7. I've also made sure that my ~/.bash