“Installing Juggernaut GEM – headache -painkiller”
August 26, 2008
Well one of our need was Juggernaut as we wanted to have a push server .
Well using was straight forward as mentioned in the below link:
http://juggernaut.rubyforge.org/
but installing juggernaut took a hell of the deed.
Follow the steps :
1/ gem install json
2/gem install json_pure
3/gem install eventmachine
4/gem install juggernaut –ignore-dependencies
not installing “json_pure” wont make the juggernaut install
I hope its useful for you.
Even after this when you say juggernaut -g juggernaut.yml on your command prompt then it will throw you an exception saying json version error need v=1.1.2 , So to rectify this .
Trace down to “\ruby\lib\ruby\gems\1.8\specifications\juggernaut-0.5.4.gemspec“
and change the
s.add_dependency(%q eventmachine, [">= 0.10.0"])
s.add_dependency(%q json, [">= 1.1.2"]) # —- changed this to 1.1.1
s.add_dependency(%q hoe, [">= 1.5.1"]) #— changed this to 1.3.1
Then start juggernaut. juggernaut -c juggernaut.yml
PS :: Reference I took
http://www.google.co.in/search?q=can’t+install+juggernaut+gem&sourceid=navclient-ff&ie=UTF-8&rlz=1B3GGGL_enIN274IN274
top 4 links.
Entry Filed under: Juggernaut, push server, rails, ruby on rails. Tags: Juggernaut, push server, rails, ruby on rails.
2 Comments Add your own
Leave a Comment
Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
Trackback this post | Subscribe to the comments via RSS Feed
1.
Paul Lopez | October 20, 2008 at 12:06 pm
Nice one…!
2.
Brendan | November 27, 2008 at 12:33 pm
Sounds like a bad idea to be changing things like this and also ignoring dependencies. It *does* work, though. So thanks.