Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

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
Open

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

keilmillerjr opened this issue May 23, 2011 · 4 comments

Comments

@keilmillerjr
Copy link

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

@benlangfeld
Copy link

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

@brenttheisen
Copy link

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

@benlangfeld
Copy link

It does now

dlnichols referenced this issue in dlnichols/mobile-fu Nov 9, 2012
Added info about has_mobile_fu parameter to readme
@benlangfeld
Copy link

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants