Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Gem differs from plugin... issues with gem. #20

Open
keilmillerjr opened this Issue May 23, 2011 · 4 comments

Comments

Projects
None yet
3 participants

Hello. I am running rails 3.0.7.

If I install mobile-fu via add to my gemfile:

gem 'mobile-fu'

When I view the page on the iPad (or with an iPad user agent):

  • The stylesheet tag for mobile.css is automatically added to application.mobile.erb.
  • _The stylesheet tag for mobile_ipad.css _IS NOT* automatically added to application.mobile.erb*

When I view the page on the iPhone (or with an iPhone user agent):

  • The stylesheet tag for mobile.css is automatically added to application.mobile.erb.
  • _The stylesheet tag for mobile_ipad.css _IS* automatically added to application.mobile.erb*

If I install mobile-fu via plugin:

rails plugin install git://github.com/brendanlim/mobile-fu.git

When I view the page on the iPad (or with an iPad user agent):

  • The stylesheet tag for mobile.css is automatically added to application.mobile.erb.
  • _The stylesheet tag for mobile_ipad.css _IS* automatically added to application.mobile.erb*

When I view the page on the iPhone (or with an iPhone user agent):

  • The stylesheet tag for mobile.css is automatically added to application.mobile.erb.
  • _The stylesheet tag for mobile_ipad.css _IS* automatically added to application.mobile.erb*

Bottom line

All works correctly via installing by plugin, and not the gem. This leads me to believe that the gem and plugin are two different versions, and that there is a bug or difference in release in the gem.

Please look into this and fix if possible (and let us know that it is fixed!). With Rails 3, it is nice to have everything installed via gemfile and bundler.

Thank you,

Keil

The release gem is from my fork, not from this repo which is unmaintained. Can you please refile this issue on my fork?

@benlangfeld I don't think your fork has the issues functionality in Github enabled.

It does now

@dlnichols dlnichols referenced this issue in dlnichols/mobile-fu Nov 9, 2012

@benlangfeld benlangfeld Merge pull request #20 from mmlac/master
Added info about has_mobile_fu parameter to readme
aefdf7c

This project is abandoned. Please see the active fork at http://github.com/benlangfeld/mobile-fu. Please test with the released gem and master branch of the new home for the project, and file an issue on the other repo if you still have problems.

See #40.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment