“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: , , , .

2 Comments Add your own

  • 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.

Leave a Comment

Required

Required, hidden

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


Recent Posts

Tags

Active Record australian gp calendar date select capistrano capitalize debugging Debugging in rails edge rails formula 1 For those who dont want to update the prototype.js fun Fun baby fun google html in join javascript linus vs windows compatibility linux logging love song malaysian gp 2008 results melbourne migrations music mysql plugin poetry rails regexp regular expression results formula 1 opening race romantic poetry ror Ruby ruby on rails safe html sms song SQL string case handler for strings syantax syntax error for migrations on linux Text Area they can checkout 1.8.3 of the calender date select

Blogroll

Pages