shibayan / azurerubydeployment Goto Github PK
View Code? Open in Web Editor NEWCustom Deployment Script for Azure Web Sites
Custom Deployment Script for Azure Web Sites
I deployed it to a new site. The deployment was successful:
Counting objects: 23, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (14/14), done.
Writing objects: 100% (23/23), 3.95 KiB | 0 bytes/s, done.
Total 23 (delta 8), reused 23 (delta 8)
remote: Updating branch 'master'.
remote: Updating submodules.
remote: Preparing deployment for commit id 'f530e2cf7a'.
remote: Running custom deployment command...
remote: Running deployment command...
remote: Installing ruby runtime.
remote: ......................................................................................................................
................
remote: Installing bundler
remote: ........
remote: Handling Ruby Web Site deployment.
remote: KuduSync.NET from: 'D:\home\site\repository' to: 'D:\home\site\wwwroot'
remote: Deleting file: 'hostingstart.html'
remote: Copying file: '.gitattributes'
remote: Copying file: 'README.md'
remote: Copying file: 'startup.bat'
remote: Copying file: 'Web.config'
remote: Finished successfully.
remote: Deployment successful.
To https://[email protected]:443/DavidRuby.git
* [new branch] master -> master
But then, I'm not sure what's supposed to happen when I hit the site. It's hanging, and I see an error in eventlog.xml
:
<Event>
<System>
<Provider Name="HttpPlatformHandler"/>
<EventID>1000</EventID>
<Level>0</Level>
<Task>0</Task>
<Keywords>Keywords</Keywords>
<TimeCreated SystemTime="2014-12-04T18:34:33Z"/>
<EventRecordID>1942062859</EventRecordID>
<Channel>Application</Channel>
<Computer>RD00155D4425C9</Computer>
<Security/>
</System>
<EventData>
<Data>Process '26728' failed to start. Port = 11904, Error Code = '-2147023436'.</Data>
</EventData>
</Event>
So it looks like maybe the ruby process fails to start?
Fetching gem metadata from https://rubygems.org/..........
Resolving dependencies...
Installing rake 10.4.2
Installing i18n 0.6.11
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
d:/home/site/wwwroot/bin/ruby/1.9.3/bin/ruby.exe extconf.rb
creating Makefile
make
generating parser-i386-mingw32.def
compiling parser.c
linking shared-object json/ext/parser.so
make install
Gem files will remain installed in d:/home/site/wwwroot/bin/ruby/1.9.3/lib/ruby/gems/1.9.1/gems/json-1.8.1 for inspection.
Results logged to d:/home/site/wwwroot/bin/ruby/1.9.3/lib/ruby/gems/1.9.1/gems/json-1.8.1/ext/json/ext/parser/gem_make.out
An error occurred while installing json (1.8.1), and Bundler cannot continue.
Make sure that `gem install json -v '1.8.1'` succeeds before bundling.
An error has occurred during web site deployment.
bundle install failed
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.