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
I have multiple rails version in my machine and whenever can't generate the crontab. It keeps displaying the following:
Missing the Rails 2.2.2 gem. Please gem install -v=2.2.2 rails, update your RAILS_GEM_VERSION setting in config/environment.rb for the Rails version you do have installed, or comment out RAILS_GEM_VERSION to use the latest version installed.
I have Rails 2.3.2 and Rails2.2.2 on the same machine. Although I could make whenever command work if I comment out the rails version but it is not a permanent solution because I need both rails gem in my machine.
Can you point out in your code where does this behavior happens?
The text was updated successfully, but these errors were encountered:
The workaround, for now, is to uninstall the version of Rails that you're not using.
The problem is in lib/whenever.rb, it needs to check of there's a RAILS_GEM_VERSION defined before requiring 'activesupport'. I should have this fixed soon, but I'd welcome a patch if you feel like doing it.
I'm having this same problem, but with more recent gem versions:
rails 2.3.3
whenever 0.4.0
I also have rails 2.3.4 and 2.3.5 installed (along with many other versions).
The interesting thing is that the 'whenever' command works fine in my win32 dev system, but fails to operate on my hosting server (Linux). I get the follow error:
Missing the Rails 2.3.3 gem. Please gem install -v=2.3.3 rails, update your RAILS_GEM_VERSION setting in config/environment.rb for the Rails version you do have installed, or comment out RAILS_GEM_VERSION to use the latest version installed.
I have multiple rails version in my machine and whenever can't generate the crontab. It keeps displaying the following:
Missing the Rails 2.2.2 gem. Please
gem install -v=2.2.2 rails
, update your RAILS_GEM_VERSION setting in config/environment.rb for the Rails version you do have installed, or comment out RAILS_GEM_VERSION to use the latest version installed.I have Rails 2.3.2 and Rails2.2.2 on the same machine. Although I could make whenever command work if I comment out the rails version but it is not a permanent solution because I need both rails gem in my machine.
Can you point out in your code where does this behavior happens?
The text was updated successfully, but these errors were encountered: