I’m currently using procmail to pipe mail to my Ruby on Rails app. I have a working version that I set up a couple weeks ago on v.1.1.2 that works just fine. However, after last week’s upgrade to v.1.1.6, I can’t build a new app that does the same thing.
If I send a mail to the account with the procmail forward, this shows up in the logs:
Cannot find gem for Rails =1.1.6:
Install the missing gem with ‘gem install -v=1.1.6 rails’, or
change environment.rb to define RAILS_GEM_VERSION with your desired version.
However, Rails 1.1.6 is definitely there as I can load and interract with my app in a browser.
If I change RAILS_GEM_VERSION to 1.1.2 (the version on which I built my other, sill working app) in environment.rb, the pipe works. But, since the rest of the app believes it’s running on 1.1.6, it toally breaks.
Anyone have any ideas? I’m going to try to install a new Rails gem in /vendor, but besides that, I’m out of ideas.