“Error loading RubyGems plugin” while inside a Rails Engine -
in rails engine, "error loading rubygems." however, error doesn't persist when i'm in root directory of app.
from main rails folder:
$ gem -v 2.0.5
from inside engine:
$ gem -v error loading rubygems plugin "/users/me/.rvm/gems/ruby-2.0.0-p247@global/gems/rubygems-bundler-1.2.2/lib/rubygems_plugin.rb": dlopen(/users/me/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/x86_64-darwin12.4.1/openssl.bundle, 9): library not loaded: /opt/local/lib/libssl.1.0.0.dylib referenced from: /users/me/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/x86_64-darwin12.4.1/openssl.bundle reason: image not found - /users/me/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/x86_64-darwin12.4.1/openssl.bundle (loaderror) 2.0.5
this preventing me running bundle install, rails server, etc.
i'm stumped. haven't been able find same issue, , have run out of leads on think night. thanks...
it turns out problem lack of .ruby-version file in engine directory. adding file ended fixing problem.
Comments
Post a Comment