简体   繁体   中英

on Ubuntu running 'gem install taps' gives ERROR: … (NoMethodError) … '<<' for #<Bundler::SpecSet:

I'm on Ubuntu 11.04 using Ruby 1.9.2 with RVM and RubyGems 1.8.5 and when I run

gem install taps

I get

ERROR:  While executing gem ... (NoMethodError)
undefined method `<<' for #<Bundler::SpecSet:0x000000020fbc50>

I can successfully migrate my db with

heroku rake db:migrate

I'm trying to install taps so that I can run

heroku db:push

which gives the error

Taps Load Error: no such file to load -- taps/operation
You may need to install or update the taps gem to use db commands.
On most systems this will be:

sudo gem install taps

Thanks for any help!

I'm reaaally new to rails but have had my fair amount of similar errors, so let me have a shot at it..

how about adding

gem "taps", "~> 0.3.23"

to your gemfile, and then running (in your app root folder...)

bundle install

Another little thing: Remember NOT to use sudo IF you are working with RVM as it will install gems as root but not at your home folder (and thus making your gemsets disorganized), OK, hope it helps. Check my Source

PD: good luck on dev with Natty, i got tired of it and downgraded to Ubuntu Maverick Meerkat

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM