开发者

Bundler doesn't seem to be working

开发者 https://www.devze.com 2023-03-27 07:49 出处:网络
Excuse my Rails noobitude. After running bundle install, all my gems install correctly. When I run bundle update, it outputs a list of my installe开发者_运维问答d gems and tells me \"Your bundle is

Excuse my Rails noobitude.

After running bundle install, all my gems install correctly.

When I run bundle update, it outputs a list of my installe开发者_运维问答d gems and tells me "Your bundle is complete! Use bundle show [gemname] to see where a bundled gem is installed."

I try 'bundle show rake' and the output is exactly the same. When I'm trying to rake db:migrate with bundle exec, the output is exactly the same the the db migration doesn't even happen.

Do I have something wrong with my bundler or something?

I am so confused.

$ bundle update rake
"BundlingUsing rake (0.8.7) 
Using abstract (1.0.0) 
Using activesupport (3.0.5) 
Using builder (2.1.2) 
Using i18n (0.6.0) 
Using activemodel (3.0.5) 
Using erubis (2.6.6) 
Using rack (1.2.3) 
Using rack-mount (0.6.14) 
Using rack-test (0.5.7) 
Using tzinfo (0.3.29) 
Using actionpack (3.0.5) 
Using mime-types (1.16) 
Using polyglot (0.3.2) 
Using treetop (1.4.10) 
Using mail (2.2.19) 
Using actionmailer (3.0.5) 
Using arel (2.0.10) 
Using activerecord (3.0.5) 
Using activeresource (3.0.5) 
Using bundler (1.0.15) 
Using thor (0.14.6) 
Using railties (3.0.5) 
Using rails (3.0.5) 
Using sqlite3 (1.3.4) 
Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed.


I've had a similar issue and found my solution here: Bundler ignores groups in rails apps

Summary: Do the following:

rm .bundle/config
bundle install
0

精彩评论

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