sakthivel
sakthivel

Reputation: 71

NoMethodError: undefined method `path' for #<Bundler::Source::Rubygems:0x7f7af5a6d818>

Hi I am trying to setup rails application in my local machine, the rails application developed using rails 3.0.1 and ruby 1.8.7 when am trying to run bundle install command ./bundle exec bundle install am getting the following error

NoMethodError: undefined method `path' for #<Bundler::Source::Rubygems:0x7f7af5a6d818>

can any one help me to sort out this issue please.

Upvotes: 0

Views: 705

Answers (2)

MaicolBen
MaicolBen

Reputation: 839

This worked for me:

gem install rubygems-update
update_rubygems

Upvotes: 0

Rush0312
Rush0312

Reputation: 159

Try updating your gems by gem update 'gem outdated | cut -d ' ' -f 1'.

Upvotes: 2

Related Questions