I am trying to install Rubinius in my Rbenv environment, which is:
ruby 1.8.7 (2012-02-08 patchlevel 358) [i686-darwin11.3.0]
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin11.3.0]
sudo brew install libyaml
and got: libyaml-0.1.4
Configuration with path to my rbenv:
./configure --prefix=~/.rbenv/versions/rbx-2.0.0-dev --enable-version=1.8,1.9 --default-version=1.9
I then get a:
Checking for header 'sys/pstat.h': not found
and the command
Could not locate Gemfile
There is nothing that Rubinius needs Bundler for. Perhaps you have setup some environment variables or wrappers that automatically try to load Bundler or do something like bundle exec?
The pstat.h is not an issue, since configure explicitly checks whether that's available and whether it should use it or not.
Thanks for the pointer.
After some research, I think the problem is around my rake setup from rbenv:
I just added a Gemfile that was asked for
cat > Gemfile
and rake install runs fine:
Finished in 266.391693 seconds
3891 files, 21908 examples, 141958 expectations, 1 failure, 0 errors
PS the install with homebrew directly worked