jlong / serve

Serve is a small Rack-based web server and rapid prototyping framework for Web applications (specifically Rails apps). Serve is meant to be a lightweight version of the Views part of the Rails MVC. This makes Serve an ideal framework for prototyping Rails applications or creating simple websites. Serve has full support for Rails-style partials and layouts.
http://get-serve.com
Other
836 stars 90 forks source link

Serve stopped working... here is the stacktrace #93

Closed CaliLuke closed 9 years ago

CaliLuke commented 11 years ago

/Library/Ruby/Gems/1.8/gems/bundler-1.2.4/lib/bundler/rubygems_integration.rb:187:in stub_source_index170': uninitialized constant Gem::SourceIndex (NameError) from /Library/Ruby/Gems/1.8/gems/bundler-1.2.4/lib/bundler/rubygems_integration.rb:353:instub_rubygems' from /Library/Ruby/Gems/1.8/gems/bundler-1.2.4/lib/bundler/rubygems_integration.rb:250:in replace_entrypoints' from /Library/Ruby/Gems/1.8/gems/bundler-1.2.4/lib/bundler/runtime.rb:14:insetup' from /Library/Ruby/Gems/1.8/gems/bundler-1.2.4/lib/bundler.rb:123:in setup' from /Users/lucacandela/Documents/hack/mmxheader/config.ru:7 from /Library/Ruby/Gems/1.8/gems/rack-1.5.2/lib/rack/builder.rb:55:ininstance_eval' from /Library/Ruby/Gems/1.8/gems/rack-1.5.2/lib/rack/builder.rb:55:in initialize' from /Users/lucacandela/Documents/hack/mmxheader/config.ru:0:innew' from /Users/lucacandela/Documents/hack/mmxheader/config.ru:0

jlong commented 11 years ago

It looks as if you are using 1.8. Do you get the same error with 1.9?

--John

On Feb 24, 2013, at 11:38 PM, Luca Candela notifications@github.com wrote:

/Library/Ruby/Gems/1.8/gems/bundler-1.2.4/lib/bundler/rubygems_integration.rb:187:in stub_source_index170': uninitialized constant Gem::SourceIndex (NameError) from /Library/Ruby/Gems/1.8/gems/bundler-1.2.4/lib/bundler/rubygems_integration.rb:353:instub_rubygems' from /Library/Ruby/Gems/1.8/gems/bundler-1.2.4/lib/bundler/rubygems_integration.rb:250:in replace_entrypoints' from /Library/Ruby/Gems/1.8/gems/bundler-1.2.4/lib/bundler/runtime.rb:14:insetup' from /Library/Ruby/Gems/1.8/gems/bundler-1.2.4/lib/bundler.rb:123:in setup' from /Users/lucacandela/Documents/hack/mmxheader/config.ru:7 from /Library/Ruby/Gems/1.8/gems/rack-1.5.2/lib/rack/builder.rb:55:ininstance_eval' from /Library/Ruby/Gems/1.8/gems/rack-1.5.2/lib/rack/builder.rb:55:in initialize' from /Users/lucacandela/Documents/hack/mmxheader/config.ru:0:innew' from /Users/lucacandela/Documents/hack/mmxheader/config.ru:0

— Reply to this email directly or view it on GitHub.

CaliLuke commented 11 years ago

as far as I can see, the latest version of the gems is 1.8.25 > http://rubyforge.org/frs/?group_id=126 and I'm up to date (I think). What should I do to update to the correct version? I ran RVM and it says I'm running Ruby 2.0

CaliLuke commented 11 years ago

never mind, I'm starting to see what I'm doing wrong. Weird thing is, it didn't give me a bit of a problem before I updated a bunch of stuff. Very weird.

jlong commented 11 years ago

What was the problem?

--John

On Feb 25, 2013, at 1:06 AM, Luca Candela notifications@github.com wrote:

never mind, I'm starting to see what I'm doing wrong. Weird thing is, it didn't give me a bit of a problem before I updated a bunch of stuff. Very weird.

— Reply to this email directly or view it on GitHub.

wazery commented 9 years ago

I think this issue should be marked as stale, it has no comments since a lot of time, also it seems that @CaliLuke fixed the issue.

Please @CaliLuke if the issue is still there tell us, or if you fixed it please mention how you did that.