I have deployed Sinatra apps to Heroku before and have had no problems
what-so-ever. I tried deploying a Merb app (
http://electric-earth-80.heroku.com/
) the same way, except adding a config.ru file in the root of the
app's directory hierarchy as suggested by the Heroku docs here -
http://heroku.com/docs/index.html#toc29
However, the App failed to start -
Loading init file from ./config/init.rb
Loading ./config/environments/production.rb
/usr/local/lib/ruby/gems/1.8/gems/RubyInline-3.8.1/lib/inline.rb:
526:in `mkdir': Permission denied - /home/slugs/.ruby_inline
(Errno::EACCES)
from /usr/local/lib/ruby/gems/1.8/gems/RubyInline-3.8.1/lib/inline.rb:
526:in `build'
from /usr/local/lib/ruby/gems/1.8/gems/RubyInline-3.8.1/lib/inline.rb:
819:in `inline'
from /usr/local/lib/ruby/gems/1.8/gems/ParseTree-3.0.3/lib/
parse_tree.rb:250
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
31:in `gem_original_require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
31:in `require'
from /usr/local/lib/ruby/gems/1.8/gems/merb-action-args-1.0.9/lib/
merb-action-args/get_args.rb:2
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
31:in `gem_original_require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
31:in `require'
... 19 levels...
from /usr/local/lib/ruby/gems/1.8/gems/rack-0.9.1/lib/rack/builder.rb:
29:in `instance_eval'
from /usr/local/lib/ruby/gems/1.8/gems/rack-0.9.1/lib/rack/builder.rb:
29:in `initialize'
from /home/heroku_rack/heroku.ru:1:in `new'
from /home/heroku_rack/heroku.ru:1
What am I doing wrong? All help appreciated.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Heroku" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/heroku?hl=en
-~----------~----~----~----~------~----~------~--~---