Saturday, June 12, 2010

[Rails] Re: rake tells me to install gems that are already there

On Jun 8, 8:20 pm, Ali <ali.akhtarz...@gmail.com> wrote:
> Hi, I've on hostmonster.com and i've run into a small problem that I
> just can't get. When I push my application into my hosting environment
> and try to run rake db:migrate, I get an error message from rake
> telling me to install the missing gem my environment.rb file has:
>
> config.gem "formtastic"
> config.gem "authlogic"
>
> So I installed them but I still get the same error. I've no clue as to
> whether this is a hostmonster problem or something in a rails script
> or configuration file that I'm overlooking.
>

You can get this error sometimes if there's a dependency missing (for
formtastic or authlogic). If possible, try running 'rake gems' and
look for entries that aren't installed.

> I also found a gem called gemsonrails. So I was thinking if I link my
> gems to my application, then push it onto my hosting providor, I won't
> need to manually install gems then? Does anyone have any experience
> with gemsonrails?

Gemsonrails hasn't been maintained for some time (late 2008) and is
now incompatible with Rubygems 1.3.7 (gets an error when unpacking).

--Matt Jones

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate