Hi,

I usually add something like:

if defined? Heroku
gem 'blah'
end

This worked perfectly fine with rails2.
I'm not 100% confident with bundler and rails3, as i haven't tested it
extensively.

Regards,
Mooktakim Ahmed


On 8 April 2010 15:49, Ashley Moran <[email protected]> wrote:

> Hi
>
> Sorry if this has been answered, I can't see anything relevant in the
> archives or docs.
>
> I have this in my Gemfile:
>
>  group :development do
>    # ...
>    gem "autotest-fsevent"
>  end
>
> Which causes this error:
>
>       Installing autotest-fsevent (0.2.2) from rubygems repository at
> http://gemcutter.org/ with native extensions
> /usr/ruby1.8.7/lib/ruby/site_ruby/1.8/rubygems/installer.rb:482:in
> `build_extensions': ERROR: Failed to build gem native extension.
> (Gem::Installer::ExtensionBuildError)
>
>       /usr/ruby1.8.7/bin/ruby extconf.rb
>       extconf.rb:19: Only Darwin (Mac OS X) systems are supported
> (RuntimeError)
>
> I've tried wrapping in `if RUBY_PLATFORM =~ /darwin/` but that doesn't
> help.  How do I stop Heroku trying to install autotest-fsevent (or all
> development gems)?
>
> Thanks
> Ashley
>
> --
> http://www.patchspace.co.uk/
> http://www.linkedin.com/in/ashleymoran
>
> --
> You received this message because you are subscribed to the Google Groups
> "Heroku" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<heroku%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/heroku?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" 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/heroku?hl=en.

Reply via email to