UPDATE 6/25/10
Using Google, I am not the only person to encounter this problem. Apparently this problem has to do with readline. Has anyone out there encountered this issue? (see error at make.error.log below) As google suggests, I compiled readline:
curl -O ftp://ftp.gnu.org/gnu/readline/readline-6.1.tar.gz
tar xzvf readline-6.1.tar....
Hi all,
i'm trying to write a simple gui application to manage ruby version manager.
i started with some stuff like testing how ruby's %x[ ] works..
i made this function
def do ( command )
%x[#{command}]
end
if i try to use this function with one of the rvm commands like "rvm list" or rvm -v i get
a command not found: error.
the s...
Upgrading to Rails 3 by starting with RVM 1.8.7. OSX 10.5.8
Output:
josh-crewss-macbook:~ joshcrews$ gem install sqlite3-rubyBuilding native extensions. This could take a while...ERROR: Error installing sqlite3-ruby: ERROR: Failed to build gem native extension.
/Users/joshcrews/.rvm/rubies/ruby-1.8.7-p174/bin/ruby extconf.rb
checkin...
Context
rcov 0.9.8 2010-02-28
ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-darwin10.3.0]
rvm 0.1.38 by Wayne E. Seguin ([email protected]) [http://rvm.beginrescueend.com/]
System Ruby (rvm use system): ruby 1.8.7 (2010-01-10 patchlevel 249) [i686-darwin10]
Files
The test setup is a 'lib' folder containing a single file which de...
I have rvm installed on a Mac OS X 10.6 system with the system ruby and 1.9.1. I also have this basic ruby script:
#!/usr/bin/ruby
require 'curb-fu'
I need the script to use the system ruby regardless of what rvm's using at any given time; I'm assuming that I've got that right, at least.
I've switched to the system ruby (rvm use sys...
I love RVM. I realize that the main use case for it is letting different users switch between different versions of Ruby. But let's say I'm deploying a Rails app to a server and I just want a single version of Ruby running. In particular, I want 1.9.2, which is a breeze to install with RVM but a pain without it. Is there a way that I can...
I need to run a set of tests against the same ruby version and same gemset but with different versions of a .so library.
Therefor I need to have two ruby installations (for the same version 1.8.7), each one pointing to a different set of .so files. How can I do that?
Gemset usage is already too late because library binding is done when...
I am trying to move to GVim(cream) as my primary editor on Ubuntu. I am using the wonderful rails.vim, however I also am using RVM.
Rvm works fine when doing things in a shell, and the ruby version I would like to use in rails.vim is the version set as default (but not the system version).
When I try to run things like
:Rgenerate migr...
I've been advised to remove the return command from my bashrc file in order to allow Ruby Version Manager to function properly. Do I simply delete the return command, or do I replace it with some other command? I am hesitant to mess with my System-wide shell without some proper direction. But I would really like to get RVM working as it ...
I got the ruby sources from the official git mirror, then checked out the ruby_1_9_2 branch.
git clone http://github.com/ruby/ruby.git
git checkout ruby_1_9_2
So, for now, I want to compile 1.9.2-head. But as you'll see later I'm hoping for a solution that works for 1.8 too.
The standard way to compile this is:
autoconf
./configu...
Bundler version 1.0.0.beta.2
Rvm Info
system:
uname: "Linux dane-r1f-ubuntu 2.6.32-22-generic #33-Ubuntu SMP Wed Apr 28 13:27:30 UTC 2010 i686 GNU/Linux"
shell: "bash"
version: "4.1.5(1)-release"
rvm:
type: "rvm is a function"
version: "rvm 0.1.31 by Wayne E. Seguin ([email protected]) [h...
Hi,
I'm trying to install ruby 1.8.6 on Snow Leopard using rvm.
I tried:
rvm install ruby-1.8.6-p111
and got an error explaining make couldn't find openssl.
make[1]: * [openssl_missing.o] Error 1
I then tried:
rvm install ruby-1.8.6-p111 -C --with-openssl-dir=/System/Library/OpenSSL
(Snow Leopard seems to come with openssl and this s...
I am trying to get a decent navigation between my methods in TextMate. I would love to have a list of them in a drawer, but I guess there is no such solution yet, right? Therefore I am trying to set up RubyAMP to work with Ruby 1.9.1-p378 installed via RVM, but have some troubles. RubyAMP needs ruby-debug, and here is what I get if I try...
So I'm trying to get thin to run as a service with RVM. After a thin install I manually updated /etc/init.d/thin to use an su - user when running the config command so that thin was running as a local user, rather than root. So far so good.
Now, when I try to sudo service thin start it looks like it's trying to use the non-RVM version o...
I'm running Ruby 1.9.1p243 on CentOS, and I decided to install rvm to handle upgrading to 1.9.2 or downgrading to 1.8.7 (whichever turns out to work better for rails3).
I followed the instructions here: http://rvm.beginrescueend.com/rvm/install/ and everything installed correctly. I was able to compile and install Ruby 1.8.7, 1.9.1, and...
I just changed my Rails 2.3.8 project to load gems using Bundler, rather than the default Rails 2.3 loading mechanism. I followed the official instructions and the site runs fine in development. I use RVM for gem management, and have a specific gemset loaded for the application.
My RSpec test suite is unable to run, however. I have trie...
I was developing something at the uni, saved to my Dropbox intending to continue at home. This is the message that greeted me:
$ spec graph_spec.rb
/Users/amadan/.rvm/gems/ruby-1.9.2-rc1/gems/PriorityQueue-0.1.2/ext/priority_queue/CPriorityQueue.bundle: [BUG] Segmentation fault
ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10...
Here's some background of my problem:
I am on Snow Leopard
I have RVM installed(using a ruby1.9.2-head installation)
I am using rails3
I installed the ym4r using this http://github.com/guilleiguaran/ym4r_gm (and followed the tutorial)
Anyway, I added these to my controller:
@map = GMap.new("map_div")
@map.control_init(:large_map => tr...
I have asked a question on SuperUser about updating Ruby version in Google SketchUp. It seems that there is something different between Ruby shipped with the standard OS X distribution, and Ruby installed by RVM or MacPorts. I get the following error message when I try to use RVM's or MacPorts' Ruby 1.9.1
Exception Type: EXC_BREAKPOINT...
I installed RVM with a few version of ruby-interpreters some time ago.
How I can to update it, because new versions are already realeased?
I found only one way: rvm install 1.9.2-rc1 && rvm remove 1.9.2-preview1, but my gems are lost...
Can I update branches time to time? I haven`t found any tips in documentation.
...