Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8080011
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T16:17:18+00:00 2026-06-05T16:17:18+00:00

So I have this idea for a RubyGem that I think would be an

  • 0

So I have this idea for a RubyGem that I think would be an awesome experience to learn more about Ruby and Rails but…I have no idea where to start.

My idea is to generate a folder “articles” where you can put markdown files. From this folder the main blog page displays only the titles as links to the articles themselves.

It sounds simple but I honestly have no idea where to start. What articles do you recommend I read if I want to insert lines into routes.rb, generate a folder and display markdown in Rails?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T16:17:20+00:00Added an answer on June 5, 2026 at 4:17 pm

    I would recommend one of these tutorials for gem creation:

    • http://net.tutsplus.com/tutorials/ruby/gem-creation-with-bundler/
    • http://railscasts.com/episodes/245-new-gem-with-bundler

    To modify the routes.rb file, you’ll just need File.open to read lines in. Use regular expressions to determine where you want to insert your line, and write the file back out.

    To create a folder, look at the documentation for Dir.new

    For Markdown in Ruby/Rails, I like the rdiscount gem: https://github.com/rtomayko/rdiscount

    Railties provide a nice way to do certain things like this. You’ll probably use http://api.rubyonrails.org quite a bit. There is some Railtie documentation on that site here: http://api.rubyonrails.org/classes/Rails/Railtie.html.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have no idea if this is possible, but if it is, what would
I have no idea if this is possible ... but it would be cool.
I have no idea what this means. But here is the code that it
I have this idea for a small-medium web application that I would like to
I have a html like this: The idea is that divs are floated left
I have no idea if this question fit to SO, but if it doesn't
I have no idea why this doesn't work, but doing some validation functions and
I have this idea that using SQL VIEWS to abstract simple database computations (such
I have this idea that I should switch over from cmd.exe to powershell. It's
So I have this idea and I think it's basically impossible to implement in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.