开发者

Installing rails-3.0.0.beta4 , and getting the royal (Errno::ENOENT)

开发者 https://www.devze.com 2023-01-06 13:04 出处:网络
First let me explain that I\'ve created a million lib directories scouring out all the different responses to this same problem but none of them have really done the trick..

First let me explain that I've created a million lib directories scouring out all the different responses to this same problem but none of them have really done the trick..

I've tried

sudo mkdir /opt/local/lib/ruby1.9/gems/1.9.1/gems/rails-3.0.0.beta4/lib
sudo mkdir /opt/local/lib/ruby1.9/gems/1.9/gems/rails-3.0.0.beta4/lib
sudo mkdir /usr/lib/ruby/gems/1.8/gems/rails-3.0.0.beta4/lib
sudo mkdir /usr/lib/ruby/gems/1.8/gems/rails-3.0.0.beta3/lib
sudo mkdir /usr/lib/ruby/gems/1.9/gems/rails-3.0.0.beta3/lib
sudo mkdir /usr/lib/ruby/gems/1.9/gems/rails-3.0.0.beta4/lib

My Ruby -v is : ruby 1.9.1p378 (2010-01-10 revision 26273) [i386-darwin10.3.0]

Those most current release of rails --pre is rails-3.0.0.beta4 .

So I'm assuming it 'has' to be rails-3.0.0.beta4/lib that it needs, just not sure where.

I am using .rvm . Running 'which ruby' returns :

/Users/johnsmith/.rvm/rubies/ruby-1.9.1开发者_JAVA技巧-p378/bin/ruby

Is there a clever way to figure out where exactly that /lib would be on my box?

Thanks everyone!


YES!

Ok so what I had was a discombobulated pile of dog doo doo code, a mess of gems, and rubies. It kinda reminded me of the Genie's lamp when he went out on a bender one night.

I just uninstalled that entire rvm branch, started a new one with 1.9.2-head on Shteef's recommendation, installed rubygems (no problems this time), and installed rails3 with no problems!!!

Now I can be cool like everyone else!

0

精彩评论

暂无评论...
验证码 换一张
取 消