Open GoogleCodeExporter opened 9 years ago
NOTE: This issue concerned the guestbook Tutorial (See below.)
http://code.google.com/p/appengine-jruby/wiki/GettingStarted
Took out the installation of the new bundler gem as shown below:
gem uninstall bundler
Select gem to uninstall:
1. bundler-0.7.2
2. bundler-0.8.1
3. All versions
> 2
Successfully uninstalled bundler-0.8.1
Then the tried the following command:
dev_appserver.rb .
It did NOT work.
Thereore, I conducted a search and found the new tutorial below:
http://code.google.com/p/appengine-jruby/wiki/SinatraReloaded
I redid all the files. Found that the following command is deprecated:
guestbook # appcfg.rb gem bundle
Sorry, the 'appcfg.rb gem' option is deprecated.
Simply update the 'Gemfile' and run 'appcfg.rb bundle .' instead.
This is the only command that worked for me:
gem bundle
By running the code shown below, I finally have a working guestbook. Maybe the
old
tutorial needs updating or removal until time of update.
I'm pleased to have a working guestbook.
dev_appserver.rb .
=> Booting DevAppServer
=> Press Ctrl-C to shutdown server
=> Bundling gems
Calculating dependencies...
Updating source: http://gems.rubyforge.org
Done.
=> Packaging gems
=> Installing JRuby
=> Installing jruby-rack
=> Installing appengine-sdk
=> Generating configuration files
The server is running at http://localhost:8080/
Original comment by isp...@gmail.com
on 11 Jan 2010 at 11:15
A current working setup is as follows for this tutorial:
1. add <code>require 'extlib'</code> to config.ru
Inside of Gemfile:
1. gem "sinatra", "1.2.7"
2. gem "extlib"
3. gem "dm-core", "=1.0.2"
The app should run now.
Original comment by pjon...@gmail.com
on 22 Dec 2011 at 4:54
Original issue reported on code.google.com by
isp...@gmail.com
on 11 Jan 2010 at 5:59