Ask A Question

Notifications

You’re not receiving notifications from this thread.

How To Create A Gem For Frontend Javascript And CSS Libraries Discussion

Thanks for posting this video! it really helped me with creating my own gems.
here is the last one https://rubygems.org/gems/aw-highstock_rails
for pushing it to https://rubygems.org/ i used gem build gem_name.gemspec and then gem push gem_name.gem

Reply

very helpful!! here is my first try https://rubygems.org/gems/starrr

Reply

is there any help for creating a simple generator in gem ?

Reply

Now wait a second why didn't you have to use the gem build and gem install commands before including the gem in the gemfile??

Reply

But in rails 7 if javascript folder is "app/javascript" // = require sweetalert_dev -> import "./sweetalert_dev" ?

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 86,796+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.