You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.
If you have a Rails engine i.e. Devise and in your Gemfile you specify its git repository, then it only works properly when gems are unlocked. When you lock your gems, it seems that Rails doesn't load any files in gem's app folder at all.
Here's a sample Rails 2.3.5 app http://github.com/szimek/bundler_engine_test that shows the problem. Just clone it, run "bundle install" and visit the main page. Normally it works fine - redirects to the sign in page, but after locking the gems it complains that there's no SessionsController, which is defined in app/controllers folder in Devise gem.
It works fine with locked gems if you don't specify git repository - i.e. "gem 'devise', '1.0.6'". I haven't tested it yet with :path option.
The text was updated successfully, but these errors were encountered:
Tracked it down -- there was a bug in git gems, that were also gem plugins, while the bundle was locked. It's fixed in commit 0f97e4f, and I'll push the fix in 0.9.19 soon. If you need it before then, check out the v0.9 branch and run rake install.
If you have a Rails engine i.e. Devise and in your Gemfile you specify its git repository, then it only works properly when gems are unlocked. When you lock your gems, it seems that Rails doesn't load any files in gem's app folder at all.
Here's a sample Rails 2.3.5 app http://github.com/szimek/bundler_engine_test that shows the problem. Just clone it, run "bundle install" and visit the main page. Normally it works fine - redirects to the sign in page, but after locking the gems it complains that there's no SessionsController, which is defined in app/controllers folder in Devise gem.
It works fine with locked gems if you don't specify git repository - i.e. "gem 'devise', '1.0.6'". I haven't tested it yet with :path option.
The text was updated successfully, but these errors were encountered: