Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bundler error: undefined method gsub #13

Open
darioghilardi opened this issue May 14, 2012 · 0 comments
Open

Bundler error: undefined method gsub #13

darioghilardi opened this issue May 14, 2012 · 0 comments

Comments

@darioghilardi
Copy link

Running bundler 1.1.3 with the inline_style gem into the Gemfile gives me an undefined method error.

.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.3/lib/bundler/runtime.rb:77:in `rescue in rescue in block in require': undefined method `gsub' for nil:NilClass (NoMethodError)
from /Users/ingo/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.3/lib/bundler/runtime.rb:72:in `rescue in block in require'
from /Users/ingo/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.3/lib/bundler/runtime.rb:62:in `block in require'
from /Users/ingo/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.3/lib/bundler/runtime.rb:55:in `each'
from /Users/ingo/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.3/lib/bundler/runtime.rb:55:in `require'
from /Users/ingo/.rvm/gems/ruby-1.9.3-p0/gems/bundler-1.1.3/lib/bundler.rb:119:in `require'
from /Users/ingo/rails_projects/Alduin/config/application.rb:14:in `<top (required)>'
from /Users/ingo/.rvm/gems/ruby-1.9.3-p0/gems/railties-3.2.3/lib/rails/commands.rb:39:in `require'
from /Users/ingo/.rvm/gems/ruby-1.9.3-p0/gems/railties-3.2.3/lib/rails/commands.rb:39:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'

A quick debug shows me that the error comes from the require of the inline_style gem.
I tried commenting out the gem from the gemfile and it works. I'm on OSX.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant