Sent from my iPhone

On Apr 15, 2011, at 8:01 AM, johnnybutler7 <[email protected]> wrote:

> Hi,
> 
> I have gem file set up so only the specific gems are installed/needed
> for each environment, so all the test gems like cucumber etc are
> grou[ed in test.  When i try a rake db:migrate RAILS_ENV=staging on
> the staging server however i get an error saying XXXX gem is not
> installed, please use bundle install.  I dont want the test gems
> installed on this server however when i run the migration on staging
> its expecting them to be installed.
> 
> 
> Anyone hit this problem before and how did you sort it, i cant find
> anything in the forums?
> 

Could you post your Gemfile and the error you're getting? It might be in the 
way the Gemfile is written. Also, make sure that whatever gem is failing is not 
being required some where else in your app.

B.

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to