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

generators are failing #7

Closed
pdanial opened this issue May 19, 2011 · 5 comments
Closed

generators are failing #7

pdanial opened this issue May 19, 2011 · 5 comments

Comments

@pdanial
Copy link

pdanial commented May 19, 2011

Receiving the following error upon issuing the generators:

bash-3.2$ rails g turkee
/Library/Ruby/Gems/1.8/gems/turkee-1.0.4/lib/turkee.rb:4:in require': no such file to load -- lockfile (LoadError) from /Library/Ruby/Gems/1.8/gems/turkee-1.0.4/lib/turkee.rb:4 from /Library/Ruby/Gems/1.8/gems/bundler-1.0.10/lib/bundler/runtime.rb:68:inrequire'
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.10/lib/bundler/runtime.rb:68:in require' from /Library/Ruby/Gems/1.8/gems/bundler-1.0.10/lib/bundler/runtime.rb:66:ineach'
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.10/lib/bundler/runtime.rb:66:in require' from /Library/Ruby/Gems/1.8/gems/bundler-1.0.10/lib/bundler/runtime.rb:55:ineach'
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.10/lib/bundler/runtime.rb:55:in require' from /Library/Ruby/Gems/1.8/gems/bundler-1.0.10/lib/bundler.rb:120:inrequire'

I'm running Rails 3.0.4 and have completed 'bundle install' and the Rakefile 'require' per the readme.

@aantix
Copy link
Owner

aantix commented May 19, 2011

Verify that turkee has an entry in your Gemfile

gem 'turkee'

Then do a 'bundle install'.

Do you see "Using lockfile (1.4.3)" as one of the lines that Bundler outputs?

@pdanial
Copy link
Author

pdanial commented May 19, 2011

The gem is in place and bundle install does not yield any mention of "Using lockfile..."

@aantix
Copy link
Owner

aantix commented May 22, 2011

Can you do me a favor; run through this same exercise but with a new rails application?

I just created a new rails app, ('rails new new_app'), added Turkee to the Gemfile and all installed (including dependencies) properly. I'm running Rails v3.0.7. and Bundler v1.0.10

@pdanial
Copy link
Author

pdanial commented May 23, 2011

I updated rails to 3.0.7, ran `bundle update', and was able to build the
migrations. Thank you for providing such timely assistance; I'm looking
forward to getting underway with your Gem.

Best,
Pat

On Sat, May 21, 2011 at 11:45 PM, aantix <
reply@reply.github.com>wrote:

Can you do me a favor; run through this same exercise but with a new rails
application?

I just created a new rails app, ('rails new new_app'), added Turkee to the
Gemfile and all installed (including dependencies) properly. I'm running
Rails v3.0.7. and Bundler v1.0.10

Reply to this email directly or view it on GitHub:
#7 (comment)

@aantix
Copy link
Owner

aantix commented May 23, 2011

Nice, great to hear! Don't hesitate to let me know of any other issues you run into.

@aantix aantix closed this as completed May 23, 2011
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

2 participants