Hi,

I'm not sure if you've solved your problem yet or not, but I thought
I'd offer my experience in case you or someone else could use it.

I had an issue with running Cucumber tests after running a 'gem
update'.  The error I was getting was:

"You have already activated builder 3.0.0, but your Gemfile requires
builder 2.1.2. Consider using bundle exec."

In the end, the solution for me was to uninstall the 3.0.0 version of
Builder by running 'sudo gem uninstall builder -v 3.0.0'.  That left
me with only the 2.1.2 version which Rails requires.  Once I did that,
my Cucumber tests ran fine again.

If you no longer have the 2.1.2 version of Builder, you can get it
back by running 'sudo gem install builder -v 2.1.2'.

HTH,
Spencer


On Nov 29, 3:01 pm, John <[email protected]> wrote:
> I've seen people post similar issues at various places, but I have yet
> to find an explanation on how to resolve this issue. I'm a new Rails
> user, so I need a little adult supervision please.
>
> I carelessly ran a "gem update" this morning and it updating a couple
> gems. Since that point, I've been unable to use rails. When I attempt
> to, I get the error:
> "/Library/Ruby/Site/1.8/rubygems.rb:779:in 'report_activate_error':
> RubyGem version error:builder(3.0.0not ~> 2.1.2) (Gem::LoadError)"
>
> There were a few additional lines. If those would be helpful in
> troubleshooting this error, please let me know.
>
> As far as I can tell, this is a dependency issue. I tried uninstalling
> thebuildergem and reinstalling it. That didn't fix the error. I
> tried uninstalling the rails gem and it's dependencies and reinstalled
> them all. That also didn't fix it. I'm at a loss for what to do.
>
> Your suggestions and guidance are appreciated.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to