r_c 0.6.1 & r_c 0.5.3

1 view
Skip to first unread message

nb

unread,
May 27, 2009, 7:55:45 PM5/27/09
to resource_controller
I recently began working on a new application running on Rails 2.3.2,
and installed r_c 0.6.1 via http://gems.github.com.

For the life of me, I cannot figure out how to modify config/
environment.rb properly. I tried these variations:

config.gem "giraffesoft-resource_controller", :version => "0.6.1"
config.gem "giraffesoft-resource_controller", :version =>
"0.6.1", :lib => "giraffesoft-resource_controller"
config.gem "resource_controller", :version => "0.6.1", :lib =>
"giraffesoft-resource_controller"
config.gem "resource_controller", :version => "0.6.1", :lib =>
"giraffesoft-resource_controller"

But to no avail...

I also have r_c 0.5.3 installed via http://gems.rubyforge.org that I
am using in an older app, and I want to make sure I am using 0.6.1 for
my new app.

Help?

Sean Schofield

unread,
May 27, 2009, 8:52:59 PM5/27/09
to resource_...@googlegroups.com
Did you try it as a plugin? At one point the gem was having problems.
Plugin works fine for me with Rails 2.3.2 (I'm using a slightly older
version of the plugin I'm sure.)

Sean

Scott Matthewman

unread,
May 28, 2009, 5:20:40 AM5/28/09
to resource_...@googlegroups.com
The syntax you want is:

config.gem "giraffesoft-resource_controller", :lib =>
"resource_controller", ...

HTH

Scott
--
sc...@matthewman.net

nb

unread,
May 28, 2009, 10:21:36 AM5/28/09
to resource_controller
Silly me. That worked. Thanks!

On May 28, 2:20 am, Scott Matthewman <scott.matthew...@gmail.com>
wrote:
> The syntax you want is:
>
> config.gem "giraffesoft-resource_controller", :lib =>  
> "resource_controller", ...
>
> HTH
>
> Scott
> --
> sc...@matthewman.net
>
> On 28 May 2009, at 00:55, nb wrote:
>
>
>
> > I recently began working on a new application running on Rails 2.3.2,
> > and installed r_c 0.6.1 viahttp://gems.github.com.
>
> > For the life of me, I cannot figure out how to modify config/
> > environment.rb properly.  I tried these variations:
>
> > config.gem "giraffesoft-resource_controller", :version => "0.6.1"
> > config.gem "giraffesoft-resource_controller", :version =>
> > "0.6.1", :lib => "giraffesoft-resource_controller"
> > config.gem "resource_controller", :version => "0.6.1", :lib =>
> > "giraffesoft-resource_controller"
> > config.gem "resource_controller", :version => "0.6.1", :lib =>
> > "giraffesoft-resource_controller"
>
> > But to no avail...
>
> > I also have r_c 0.5.3 installed viahttp://gems.rubyforge.orgthat I
Reply all
Reply to author
Forward
0 new messages