-
-
Notifications
You must be signed in to change notification settings - Fork 2k
method_missing': undefined method `user_home' for Gem:Module #518
Comments
What version of Ruby are you running? |
Ruby 1.9.1 |
I can't reproduce this in Ruby 1.9.1. Can you print the full output of ruby -v? I would also add that Ruby 1.9.1 has pretty anomalous behavior in a number of important cases, and isn't supported by Rails 3. I'd use the latest RC of 1.9.2 rather than 1.9.1. |
I'm also getting this issue. Here are my versions:
|
maybe rails3 is suite for ruby1.9.2 |
Same problem, running ruby 1.9.1p430 on freeBSD |
I have since switched to ruby 1.9.2 and the problem does not exist there. I'm considering this my mistake for trying to use 1.9.1 |
same here; installed ruby 1.9.2 from source on freebsd (since only 1.9.1 is available in ports), and the problem went away. |
For freebsd and ruby 1.9.1 use: http://pastebin.com/zzVgnfAm |
same here:
use paranormal's patch which works for me. (thx!) |
same problem here, ubuntu 10.04, used paranormal's patch, also thanks. |
Same issue here. Ubuntu 1.0.04.1 LTS. bundler 1.0.10
|
This is from a ubuntu server,
rubygems 1.3.7
bundler 1.0.0.rc.2
deploy@184:
'$ uname -a$ gem -vLinux 184.106.206.118 2.6.33.5-rscloud #2 SMP Thu Jun 10 15:26:23 UTC 2010 x86_64 GNU/Linux
deploy@184:
1.3.7
deploy@184:
$ bundle -v$ mkdir tempBundler version 1.0.0.rc.2
deploy@184:
deploy@184:
$ cd temp//temp$ bundle initdeploy@184:
Writing new Gemfile to /home/deploy/temp/Gemfile
deploy@184:~/temp$ bundle install
internal:gem_prelude:344:in
method_missing': undefined method
user_home' for Gem:Module (NoMethodError)from /usr/lib/ruby/gems/1.9.1/gems/bundler-1.0.0.rc.2/lib/bundler/settings.rb:105:in
global_config_file' from /usr/lib/ruby/gems/1.9.1/gems/bundler-1.0.0.rc.2/lib/bundler/settings.rb:6:in
initialize'from /usr/lib/ruby/gems/1.9.1/gems/bundler-1.0.0.rc.2/lib/bundler.rb:172:in
new' from /usr/lib/ruby/gems/1.9.1/gems/bundler-1.0.0.rc.2/lib/bundler.rb:172:in
settings'from /usr/lib/ruby/gems/1.9.1/gems/bundler-1.0.0.rc.2/lib/bundler/cli.rb:156:in
install' from /usr/lib/ruby/gems/1.9.1/gems/bundler-1.0.0.rc.2/lib/bundler/vendor/thor/task.rb:22:in
run'from /usr/lib/ruby/gems/1.9.1/gems/bundler-1.0.0.rc.2/lib/bundler/vendor/thor/invocation.rb:109:in
block in invoke' from /usr/lib/ruby/gems/1.9.1/gems/bundler-1.0.0.rc.2/lib/bundler/vendor/thor/invocation.rb:116:in
call'from /usr/lib/ruby/gems/1.9.1/gems/bundler-1.0.0.rc.2/lib/bundler/vendor/thor/invocation.rb:116:in
invoke' from /usr/lib/ruby/gems/1.9.1/gems/bundler-1.0.0.rc.2/lib/bundler/vendor/thor.rb:161:in
block in start'from /usr/lib/ruby/gems/1.9.1/gems/bundler-1.0.0.rc.2/lib/bundler/vendor/thor/base.rb:379:in
start' from /usr/lib/ruby/gems/1.9.1/gems/bundler-1.0.0.rc.2/lib/bundler/vendor/thor.rb:140:in
start'from /usr/lib/ruby/gems/1.9.1/gems/bundler-1.0.0.rc.2/bin/bundle:13:in
<top (required)>' from /usr/bin/bundle:19:in
load'from /usr/bin/bundle:19:in `
The text was updated successfully, but these errors were encountered: