Coder Social home page Coder Social logo

Comments (3)

javan avatar javan commented on August 28, 2024

Sounds similar to http://github.com/javan/whenever/issues#issue/1

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.

from whenever.

javan avatar javan commented on August 28, 2024

Version 0.3.1 was just released. Hopefully it fixes your issue.

from whenever.

eivindhagen avatar eivindhagen commented on August 28, 2024

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.

from whenever.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.