Billee_D
(Billee D.)
August 2, 2009, 3:31pm
1
These are all great suggestions which may be what you're looking for.
I had a similar problem where mislav-will_paginate installs and adds
this to environment.rb file:
config.gem 'mislav-will_paginate', :version => '~> x.x.x', :lib =>
'will_paginate', :source => 'http://gems.github.com '
I just removed the version hash key -- :version => '~> x.x.x' -- and
used this instead:
config.gem 'mislav-will_paginate', :lib => 'will_paginate', :source =>
'http://gems.github.com '
Obviously, this won't work if you need to stick to a particular
version (I'm using 2.2.3), but it does prevent me from getting the
missing gem errors. As always, your mileage may vary.
Con
(Con)
August 2, 2009, 8:05pm
2
These are all great suggestions which may be what you’re looking for.
I had a similar problem where mislav-will_paginate installs and adds
this to environment.rb file:
config.gem ‘mislav-will_paginate’, :version => ‘~> x.x.x’, :lib =>
‘will_paginate’, :source => ‘http://gems.github.com ’
I just removed the version hash key – :version => ‘~> x.x.x’ – and
used this instead:
config.gem ‘mislav-will_paginate’, :lib => ‘will_paginate’, :source =>
‘http://gems.github.com ’
Obviously, this won’t work if you need to stick to a particular
version (I’m using 2.2.3), but it does prevent me from getting the
missing gem errors. As always, your mileage may vary.
When I try to start the test server (ruby script/server), I get the
following error:
=> Booting WEBrick...
Missing these required gems:
mislav-will_paginate ~> 2.3.2
Not a problem, I thought, so I entered the following
gem install mislav-will_paginate
and get an error message telling me that there is no such gem. Can
anyone tell me how to get around this error?
Thanks in advance
The installation and simple use of this gem is covered on page 518 of AWDwR 3rd Edtion.
-Conrad