Skip to content

Commit

Permalink
The rails gem doesn't have a lib directory.
Browse files Browse the repository at this point in the history
  • Loading branch information
pixeltrix committed Jul 4, 2011
1 parent cee27be commit 92c852f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions rails.gemspec
Expand Up @@ -14,8 +14,9 @@ Gem::Specification.new do |s|
s.email = 'david@loudthinking.com' s.email = 'david@loudthinking.com'
s.homepage = 'http://www.rubyonrails.org' s.homepage = 'http://www.rubyonrails.org'


s.bindir = 'bin' s.bindir = 'bin'
s.executables = ['rails'] s.executables = ['rails']
s.require_paths = []


s.add_dependency('activesupport', version) s.add_dependency('activesupport', version)
s.add_dependency('actionpack', version) s.add_dependency('actionpack', version)
Expand Down

3 comments on commit 92c852f

@dmathieu
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This gives me a warning when installing the gem :

Using rails (3.1.0.rc4) from git://github.com/rails/rails.git (at 3-1-stable) 
rails at /Users/dmathieu/.rvm/gems/ruby-1.9.2-p180@dmathieu/bundler/gems/rails-92c852f7e229 did not have a valid gemspec.
This prevents bundler from installing bins or native extensions, but that may not affect its functionality.
The validation message from Rubygems was:
  specification must have at least one require_path

@pixeltrix
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Which version of rubygems?

@dmathieu
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1.6.2. But I just upgraded and it does the same with 1.8.5

Please sign in to comment.