Comments (8)
Thank you David.
Documentation and sample code in preparation, can be deployed quickly.
from azurerubydeployment.
I wrote how to deploy Ruby on Rails applications on Azure Web Sites.
https://github.com/shibayan/AzureRubyDeployment/blob/master/README.md
Try out more easily if you have provide a app repository sample/template from copying files to repository, and deployed.
https://github.com/shibayan/AzureRubyDeployment/tree/master/sample/template
I tried also deployed on Azure Web Sites samples.(Seems that might fail to deploy at Websites free tier)
http://rails-sample.azurewebsites.net/
from azurerubydeployment.
@shibayan I put your sample in its own repo (https://github.com/davidebbo-test/RubyWebSite) to try it. It got pretty far in the install, but eventually failed with something related to building a native gem:
remote: Installing sass-rails 4.0.5
remote: Installing sdoc 0.4.1
remote: Installing sqlite3 1.3.10
remote:
remote: Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
remote:
remote: d:/home/site/wwwroot/bin/ruby/1.9.3/bin/ruby.exe extconf.rb
remote:
remote: Gem files will remain installed in d:/home/site/wwwroot/bin/ruby/1.9.3/lib/ruby/gems/1.9.1/gems/thin-1.6.3 for inspection.
remote: Results logged to d:/home/site/wwwroot/bin/ruby/1.9.3/lib/ruby/gems/1.9.1/gems/thin-1.6.3/ext/thin_parser/gem_make.out
remote: An error occurred while installing thin (1.6.3), and Bundler cannot continue.
remote: Make sure that `gem install thin -v '1.6.3'` succeeds before bundling.
remote: An error has occurred during web site deployment.
remote: bundle install failed
remote:
remote: Error - Changes committed to remote repository but deployment to website failed.
Note that I didn't do any steps on the client, and maybe it was supposed to do some of those steps there and add them to the repo before pushing. Any chance that you can share a test repo that's exactly in the right state so it can be pushed?
As you can see, I'm pretty ignorant about Ruby, but I'm excited to see it work! :)
from azurerubydeployment.
I was also the same result
In my case, I was successful in re-deployed from portal
It is really strange
from azurerubydeployment.
@davidebbo This problem is currently under investigation, failed to create the process.
As @takekazuomi wrote, it successful in re-deployed from portal.
By the way, Is the limit on the number of processes in Azure Web Sites?
The following error occurred in Debug Console of the Kudu during the installation of gem.
[Win32Exception (0x80004005): Insufficient system resources exist to complete the requested service]
System.Diagnostics.Process.CreatePipeWithSecurityAttributes(SafeFileHandle& hReadPipe, SafeFileHandle& hWritePipe, SECURITY_ATTRIBUTES lpPipeAttributes, Int32 nSize) +1815196
System.Diagnostics.Process.CreatePipe(SafeFileHandle& parentHandle, SafeFileHandle& childHandle, Boolean parentInputs) +78
System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo) +444
System.Diagnostics.Process.Start() +6813874
Kudu.Services.PersistentCommandController.CreateProcess(String connectionId, String shell) +608
from azurerubydeployment.
@takekazuomi indeed, after redeploying, it worked and the size runs. Puzzling! We should look deeper at what's happening.
@shibayan In Free and Shared modes, site resources are sandbox limited. But in Basic and Standard mode, sites are allowed to use any memory/CPU available on the machine. What mode was your site in? Also, can you tell me what I need to run in Kudu Console to repro this?
from azurerubydeployment.
@davidebbo It was confirmed that it is the same error in the Free and Basic.
Errors in the Debug Console of Kudu, I will reproduce open the Debug Console in bundle installing.
(To perform a bundle install again be necessary to remove the bin folder...)
@takekazuomi Deploying from the git, maybe affected that sh.exe is present in the parent process?
from azurerubydeployment.
It was resolved that the change in JRuby. I think it's Ruby problems.
https://github.com/shibayan/azure-jruby-sample
from azurerubydeployment.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azurerubydeployment.