Latest version seems to not work.

52 views
Skip to first unread message

Joe Gaudet

unread,
Jun 5, 2011, 4:27:55 PM6/5/11
to middleman-users
I checked out the latest version of middleman and I get the following
error, even with a fresh project.

ArgumentError at /
file or block required
file: template.rb location: initialize line: 50


Variable Value
GATEWAY_INTERFACE
CGI/1.2
HTTP_ACCEPT
application/xml,application/xhtml+xml,text/html;q=0.9,text/
plain;q=0.8,image/png,*/*;q=0.5
HTTP_ACCEPT_CHARSET
ISO-8859-1,utf-8;q=0.7,*;q=0.3
HTTP_ACCEPT_ENCODING
gzip,deflate,sdch
HTTP_ACCEPT_LANGUAGE
en-US,en;q=0.8
HTTP_CONNECTION
keep-alive
HTTP_COOKIE
remember_me=BAhbB2kHSSJFMGVkZDcyN2ZjNGFjZDYyNThhMTExNGM1MGViYjRlZTUwYjY4YmQ3NzRmYzRmMmI3ODQwOTNhZmZkZDM1ZDFhMwY6BkVU--6c28244ccaff4dfc43f46561b9edd27125fb6dc0;
MatygoSession=92FLsFpuIpPMM8iyaqd4ryQNXNoY_5rYcUAEeuG0rSsb1idWx0UbZP0Q3NZJ9rjQ
HTTP_HOST
localhost:4567
HTTP_USER_AGENT
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_7) AppleWebKit/534.24
(KHTML, like Gecko) Chrome/11.0.696.71 Safari/534.24
HTTP_VERSION
HTTP/1.1
PATH_INFO
/
QUERY_STRING
REMOTE_ADDR
127.0.0.1
REQUEST_METHOD
GET
REQUEST_PATH
/
REQUEST_URI
/
SCRIPT_NAME
SERVER_NAME
localhost
SERVER_PORT
4567
SERVER_PROTOCOL
HTTP/1.1
SERVER_SOFTWARE
thin 1.2.11 codename Bat-Shit Crazy
async.callback
#<Method: Thin::Connection#post_process>
async.close
#<EventMachine::DefaultDeferrable:0x000001029d5fc8>
rack.errors
#<Object:0x000001012551c8>
rack.input
#<StringIO:0x000001015361a8>
rack.multiprocess
false
rack.multithread
false
rack.request.cookie_hash
{"remember_me"=>"BAhbB2kHSSJFMGVkZDcyN2ZjNGFjZDYyNThhMTExNGM1MGViYjRlZTUwYjY4YmQ3NzRmYzRmMmI3ODQwOTNhZmZkZDM1ZDFhMwY6BkVU--6c28244ccaff4dfc43f46561b9edd27125fb6dc0",
"MatygoSession"=>"92FLsFpuIpPMM8iyaqd4ryQNXNoY_5rYcUAEeuG0rSsb1idWx0UbZP0Q3NZJ9rjQ"}
rack.request.cookie_string
remember_me=BAhbB2kHSSJFMGVkZDcyN2ZjNGFjZDYyNThhMTExNGM1MGViYjRlZTUwYjY4YmQ3NzRmYzRmMmI3ODQwOTNhZmZkZDM1ZDFhMwY6BkVU--6c28244ccaff4dfc43f46561b9edd27125fb6dc0;
MatygoSession=92FLsFpuIpPMM8iyaqd4ryQNXNoY_5rYcUAEeuG0rSsb1idWx0UbZP0Q3NZJ9rjQ
rack.request.query_hash
{}
rack.request.query_string
rack.run_once
false
rack.url_scheme
http
rack.version
[1, 0]
sinatra.error
#<Sinatra::NotFound: Sinatra::NotFound>


Thoughts ?

Thomas Reynolds

unread,
Jun 5, 2011, 4:30:19 PM6/5/11
to middlem...@googlegroups.com
When you say latest version, do you mean from github or ruby gems?

-Thomas

Joe Gaudet

unread,
Jun 5, 2011, 4:31:05 PM6/5/11
to middlem...@googlegroups.com
Ruby Gems

ran

gem update middleman

-- 
Joe Gaudet
Founder

Thomas Reynolds

unread,
Jun 5, 2011, 4:34:44 PM6/5/11
to middlem...@googlegroups.com
Looks like Sinatra, Tilt or Thin might be a little out of date. Keeping up the specific interrelated versions of these gems is becoming painful. Can you run: gem update

To get the latest everything.

-Thomas

Joe Gaudet

unread,
Jun 5, 2011, 4:41:42 PM6/5/11
to middlem...@googlegroups.com
Update has now cause this:

/Users/joe/.rvm/rubies/ruby-1.9.2-preview3/lib/ruby/site_ruby/1.9.1/rubygems.rb:14:in `<top (required)>': undefined method `remove' for Gem::QuickLoader:Module (NoMethodError)
from <internal:gem_prelude>:158:in `require'
from <internal:gem_prelude>:158:in `load_full_rubygems_library'
from <internal:gem_prelude>:280:in `method_missing'
from /Users/joe/.rvm/gems/ruby-1.9.2-preview3/bin/mm-server:19:in `<main>'


when I run mm-server.

.joe

-- 
Joe Gaudet
Founder

Joe Gaudet

unread,
Jun 5, 2011, 4:47:33 PM6/5/11
to middlem...@googlegroups.com
Gah it does this now when I run anything!

-- 
Joe Gaudet
Founder

Thomas Reynolds

unread,
Jun 5, 2011, 4:49:06 PM6/5/11
to middlem...@googlegroups.com
Firstly, your rvm looks out of date. You should upgrade that since Ruby 1.9.2 has been out for a long while now. ruby-1.9.2-p180 is the current release.

Second, RubyGems has been updating and breaking things for the last month or so. So once you've got rvm updated, make sure rubygems is as well.

Or… return to the stable, system ruby and gems packaged with OSX.

-Thomas

Joe Gaudet

unread,
Jun 5, 2011, 4:50:17 PM6/5/11
to middlem...@googlegroups.com
Cool thanks man.

-- 
Joe Gaudet
Founder

Joe Gaudet

unread,
Jun 5, 2011, 7:31:35 PM6/5/11
to middlem...@googlegroups.com
Resolved, thanks for your help :)

.joe

-- 
Joe Gaudet
Founder

Reply all
Reply to author
Forward
0 new messages