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

  • Home
  • SEARCH
  • 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 6384901
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T02:49:57+00:00 2026-05-25T02:49:57+00:00

I have a RAILS plugin for coffeescript testing https://github.com/bradphelan/jasminerice with a gemspec defined as

  • 0

I have a RAILS plugin for coffeescript testing

https://github.com/bradphelan/jasminerice

with a gemspec defined as

# Provide a simple gemspec so you can easily use your
# project in your rails apps through git.
Gem::Specification.new do |s|
  s.name        = "jasminerice"
  s.summary     = "Pain free coffeescript unit testing for Rails 3.1 using jasmine"
  s.description = "Full support for the Rails 3.1 asset pipeline when bdd'ing your coffeescript or javascript using jasmine"
  s.files       = `git ls-files`.split "\n"
  s.authors     = ["Brad Phelan"]
  s.version     = "0.0.6"
  s.platform    = Gem::Platform::RUBY
  s.add_dependency( 'haml' )
end

At the bottom I have added the haml dependency. If jasminerice is included in the client Gemfile as

gem 'jasminerice'

then it fails because ‘haml’ is not included. If haml is included explicity as

gem 'jasminerice'
gem 'haml'

then all is ok. This doesn’t mesh with my understanding of Gemfiles and gemspecs. Is there something obvious I have missed.

  • 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-05-25T02:49:58+00:00Added an answer on May 25, 2026 at 2:49 am

    I think you’re missing a gemspec line in your gems Gemfile.

    From http://yehudakatz.com/2010/12/16/clarifying-the-roles-of-the-gemspec-and-gemfile/ :

    When developing a gem, use the gemspec method in your Gemfile to avoid duplication. In general, a gem’s Gemfile should contain the Rubygems source and a single gemspec line.

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

Sidebar

Related Questions

I have a engine style Rails plugin from which I can create a gem
Let's say that I have a rails plugin called wipy on GitHub. It has
I'm loving the rails_admin plugin from https://github.com/sferik/rails_admin but I cant for the life of
Hoping some learned Rails developers here can recommend an existing Ruby on Rails plugin
In a plugin helper, I have: include Rails.application.routes.url_helpers url_for(:only_path => true, :controller => 'people',
I am using Rails 2.3.9, and have installed the rails_xss plugin. I have made
I have installed the sweet Google-Maps-for-Rails plugin, which seems to be under active development.
How to make a public folder in my rails plugin? For example, I have
I have a rails application where each user has a separate database. (taking Joel
I have a rails application which is still showing the cachebusting numeric string at

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.