Comments (10)
This has been happening to me as well
from toto.
I tested prior to deployment using Foreman, which required creating a simple Procfile, and the initial push ran flawlessly. Heroku's documentation claims:
Cedar will recognize any app with a
config.ru
as a Rack app and generate a web process type for you.
but I wonder whether defining processes explicitly might still help your situation.
from toto.
to rephrase -- toto works fine, any template works after converting .gems into Gemfile
from toto.
Sorry for taking so long to respond. I have tried various approaches. Here's my gemfile:
source 'http://rubygems.org'
gem 'rack'
gem 'builder'
gem 'rdiscount'
gem 'toto'
That's the only thing I've changed. I.E. I have cloned dorothy, created the gemfile, created the heroku app, commited to git, and then tried to push.
-----> Heroku receiving push
! Heroku push rejected, no Cedar-supported app detected
To [email protected]:cjares-toto.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to '[email protected]:cjares-toto.git'
from toto.
hmm...
save your Gemfile like you have it, run
$ bundle install
$ git init
$ git add .
$ git commit -am 'test'
$ git remote -v
(remove any listed with git rm... ---- just to start over)
$ heroku create
$ git push heroku master
this should work let me know if you still have problems
from toto.
No, it didn't work. Same error :/
Is this correct?
ruby -v ruby 1.9.3p194 (2012-04-20) [i386-mingw32]
from toto.
im using ruby -v 1.9.3p125 but dont think that should make a difference...
do you see the blog @ localhost:9393 if you run $ shotgun ($ gem install shotgun if not installed)
heres my full output --->
$ cd Desktop
$ git clone git://github.com/cloudhead/dorothy.git tototest
Cloning into tototest...
remote: Counting objects: 202, done.
remote: Compressing objects: 100% (106/106), done.
remote: Total 202 (delta 89), reused 179 (delta 81)
Receiving objects: 100% (202/202), 20.70 KiB, done.
Resolving deltas: 100% (89/89), done.
$ cd tototest
$ rm .gems
$ touch Gemfile
$ open Gemfile (then save with --->)
source 'https://rubygems.org'
gem 'toto'
gem 'rack'
gem 'builder'
gem 'rdiscount'
$ bundle install
Fetching gem metadata from https://rubygems.org/..
Using builder (3.0.0)
Using rack (1.4.1)
Using rdiscount (1.6.8)
Using toto (0.4.9)
Using bundler (1.1.4)
Your bundle is complete! Use bundle show [gemname]
to see where a bundled gem is installed.
$ git add .
$ git commit -am 'test'
[master 245a44b] test
4 files changed, 25 insertions(+), 4 deletions(-)
create mode 100644 .DS_Store
delete mode 100644 .gems
create mode 100644 Gemfile
create mode 100644 Gemfile.lock
$ heroku create ndtototest
Creating ndtototest... done, stack is cedar
http://ndtototest.herokuapp.com/ | [email protected]:ndtototest.git
Git remote heroku added
$ git push heroku master
Counting objects: 207, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (103/103), done.
Writing objects: 100% (207/207), 21.65 KiB, done.
Total 207 (delta 89), reused 202 (delta 89)
-----> Heroku receiving push
-----> Removing .DS_Store files
-----> Ruby/Rack app detected
-----> Installing dependencies using Bundler version 1.2.0.pre
Running: bundle install --without development:test --path vendor/bundle --binstubs bin/ --deployment
Fetching gem metadata from https://rubygems.org/..
Installing builder (3.0.0)
Installing rack (1.4.1)
Installing rdiscount (1.6.8) with native extensions
Installing toto (0.4.9)
Using bundler (1.2.0.pre)
Your bundle is complete! It was installed into ./vendor/bundle
Cleaning up the bundler cache.
-----> Discovering process types
Procfile declares types -> (none)
Default types for Ruby/Rack -> console, rake, web
-----> Compiled slug size is 1.2MB
-----> Launching... done, v3
http://ndtototest.herokuapp.com deployed to Heroku
To [email protected]:ndtototest.git
- [new branch] master -> master
$ heroku open
Opening http://ndtototest.herokuapp.com/
from toto.
I get an error running shotgun:
C:\git\toto-blog [master]> shotgun
C:/Ruby193/lib/ruby/gems/1.9.1/gems/shotgun-0.9/bin/shotgun:142:in `trap': unsupported signal SIGQUIT (ArgumentError)
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/shotgun-0.9/bin/shotgun:142:in `block in <top (required)>'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/shotgun-0.9/bin/shotgun:141:in `each'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/shotgun-0.9/bin/shotgun:141:in `<top (required)>'
from C:/Ruby193/bin/shotgun:23:in `load'
from C:/Ruby193/bin/shotgun:23:in `<main>'
from toto.
do you have all the required gems locally? do gem install for all the ones toto needs to make sure. past that check out this site and maybe switch your rvm and make sure you have everything up to date
railsinstaller.org
from toto.
Uninstalling all Ruby/related things and reinstalling with the rails installer worked. I also had to delete my heroku app, git clone, whole folder and start over. It also looks like Gemfile has to be capitalized. Either that or my old gemfile was just a little bit off. I have no idea, this was really weird. Thanks for the help, though! Glad to have it working.
from toto.
Related Issues (20)
- 404 Error with Phusion Passenger HOT 1
- HTML tags are ignored HOT 4
- RSS xml malformation on Heroku.
- Dorothy - read on link does not work from fresh clone HOT 2
- Invalid ATOM Xml using default builder HOT 2
- How to cache the page and at the same time offer dynamic redirects
- Access 'articles' from outside of index page
- non-blog usage, custom URLs
- Respond to HEAD requests with 200, not 400 HOT 1
- Smart-mode of markdown not documented
- Unmaintained repository HOT 2
- Error with routing to more Info HOT 1
- Having a lot of trouble getting toto to work on heroku
- a issue using thin with toto HOT 4
- 304 Headers
- Update code on rubygems HOT 2
- Content-length error prevents page load and leads lint error
- In Ruby 2.7 basically the tainting mechanism, leads to stackoverflow
- This looks really interesting! - GitLab instead of Heroku?
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 toto.