Displaying 5 results from an estimated 5 matches for "rvm_path".
Did you mean:
vm_path
2011 Mar 03
1
Does RSpec interfere with Pathname#dirname or Pathname#realpath ?
...; do
B3::Bdd::Helpers.rvm_local_install?.should be_true
end
end
The spec helper is: require ''rspec'' ; require_relative ''../lib/b3''
Which describes this code:
class B3
module Bdd
module Helpers
def rvm_local_install?
puts ENV[''rvm_path'']
rvm_path = Pathname.new(ENV[''rvm_path''] || ''~/.rvm'')
rvm_path.dirname.realpath.directory?
end
module_function :rvm_local_install?
end
end
end
I get this error:
https://gist.github.com/853798
irb version:
$ irb
rub...
2011 Mar 04
5
How to intercept an instance method from StdLib (1.9.2)
...le just before I call my method, but
it never seems to get invoked.
Pathname.stub(:exist?).and_return(false)
The whole example:
it "should raise an error if RVM''s install root does not exist" do
Pathname.stub(:exist?).and_return(false)
lambda{ B3::Bdd::Helpers.rvm_path}.should
raise_error(RuntimeError, "File not found:")
end
Appreciate any tips.
--
????'' ??? ??????, ???'' ?????? ?? ????
[The fox knows many things, but the hedgehog knows one big thing.]
? Archilochus, Greek poet (c. 680 BC ? c. 645 BC)
http://wiki.hedgehogshiatus....
2011 Nov 14
2
Looking for environment setup help
Can anyone help with setting up my environment? This all started when
I tried to install Aptana Studio 3, and want to use the debugger. I
have installed ruby 1.9.2, and rails 3.1.0. When I try to install the
ruby-debug-base gem, I get an error that does not make sense to me -
it tells me it needs ruby version > 1.8.7. Here is the error message,
along with other details. I am running this
2011 Apr 18
2
rubygems fail - require hpricot!
...Users/Anush/.rvm/bin/ruby
lenovo-t400:environments Anush$ vi
/Users/Anush/.rvm/environments/ruby-1.9.2-p180
export
PATH="/Users/Anush/.rvm/gems/ruby-1.9.2-p180/bin:/Users/Anush/.rvm/gems/ruby-1.9.2-p180@global/bin:/Users/Anush/.rvm/rubies/ruby-1.9.2-p180/bin:/Users/Anush/.rvm/bin:$PATH"
rvm_path=''/Users/Anush/.rvm''
export rvm_path
RUBY_VERSION=''ruby-1.9.2-p180''
export RUBY_VERSION
GEM_HOME=''/Users/Anush/.rvm/gems/ruby-1.9.2-p180''
export GEM_HOME
GEM_PATH=''/Users/Anush/.rvm/gems/ruby-1.9.2-p180''
export GEM_PATH
MY_RUBY_...
2011 Feb 10
8
rvm install 1.8.7 prompts "There has been an error while running make. Halting the installation."
...borted:
Error running ''make '', please read
/Users/jmerlino/.rvm/log/ruby-1.9.2-p136/make.log
There has been an error while running make. Halting the installation.
Then I did the following:
$ rvm package install readline
$ rvm remove 1.9.2
$ rvm install 1.9.2 --with-readline-dir=$rvm_path/usr
$ cd $HOME/.rvm/src/ruby-1.9.2-p0/ext/readline
$ ruby extconf.rb
$ make install
So I finally got Rails 3 working.
Now I want to get Rails 2 working as well. So I follow this link:
http://matthew.mceachen.us/blog/switchi … m-966.html
But when I run:
rvm install 1.8.7
I get:
/Users/jmerli...