Rails 2.3.5 on Dreamhost (Shared Hosting)

Posted in Me, Programming, Projects, Ruby, Ruby On Rails on Nov 29, 2009

Today, I started a new project. A minimalistic bug tracker that should really work under Dreamhost. The only reason I need this to work on Dreamhost is because bills begin to add up after having a few VPS accounts and I’m trying to cut my spending and since Dreamhost gives me unlimited disk space and bandwidth I figure I will use it and yes I know I can use GitHub but that cost money for private repositories.

I installed the latest rails using sudo gem install rails –version 2.3.5 and I got Capistrano all set-up and was able to deploy. Now the only thing that took almost all day was trying to figure out why rails would not process the request. So I did “rake rails:freeze:gems” to freeze the gems. Once I did that I was having problems with Rack version 1.0 already activated and I hacked around RubyGems to see if I can deactivate it but I didn’t find anyway of doing that. I also googled a ton of searched but found nothing.

What did work was to modify the rails core, ActionController to be specific in file:

vendor/rails/actionpack/lib/action_controller.rb

I modified lines 34 and 35 and commented them out.
I then added the following:

load "#{RAILS_ROOT}/vendor/gems/rack-1.0.1/lib/rack.rb"

the end result look like this:

#gem 'rack', '~> 1.0.1'
#require 'rack'
load "#{RAILS_ROOT}/vendor/gems/rack-1.0.1/lib/rack.rb"

which after doing that, it ALL worked well. Now I can continue with building my app.

Trackback URI | Comments RSS

44 Responses to “ Rails 2.3.5 on Dreamhost (Shared Hosting) ”

  1. # 1 Dhruv Says:

    I was trying to deactivate a rack and found your article. It was a great help. Thanks.

  2. # 2 case solution Says:

    I intended to be able to post an individual one very small observation to help give many thanks again for those nice thoughts you have shown above. This has been remarkably generous with you to allow unhampered all that a lot of folks would’ve marketed as an e-book to end up making some dough on their own, precisely considering the fact that you have might well have done it in the event you desired. The principles as well acted as the fantastic way to fully grasp some people have similar desire really like my own to see good deal more with respect to this condition. I am sure there are thousands of more fun sessions ahead for those who examine your website.

  3. # 3 spa lam dep Says:

    Huong dan lam dep tang can thanh cong vao luc.lam dep nhanh trong 6 tuan hieu qua nhat. thiet lap muc tieu lam dep tang can thuc te

  4. # 4 game dai nao thien cung online Says:

    do Choi Ton Ngo Khong dai Nao Thien Cung

  5. # 5 game online ton ngo khong dai nao thien cung Says:

    dai Nao Thien Cung 3d What Does Online Game Code Mean On Amazon

  6. # 6 thang may gia dinh sakura mitsubishi Says:

    gia dinh mitsubishi sakura thiet ke Be 5 Thang May Can do Thoi Trang Tet 2011 Phu Nu Mang Thai Can Biet Thang May Otis do Dung Gia dinh Thong Minh

  7. # 7 thang máy gia đình Says:

    Terrific paintings! This is the kind of info that should be shared across the web. Shame on the seek engines for now not positioning this publish higher! Come on over and discuss with my site . Thanks =)

  8. # 8 thang may Says:

    gia dinh mitsubishi sakura thiet ke Thang May Hisa In Thoi Trang 10 Phu Nu Dep Nhat Viet Nam Can Than Khi Di Thang May Gia dinh Be Bao An do Re Mi

  9. # 9 wind turbine made Says:

    I like the helpful information you provide in your articles.
    I will bookmark your weblog and check again here regularly.
    I am quite sure I’ll learn plenty of new stuff right here!
    Best of luck for the next!

  10. # 10 Errol Says:

    Hello! Would you mind if I share your blog with my twitter group?

    There’s a lot of people that I think would really enjoy your content.
    Please let me know. Cheers

  11. # 11 gia dinh gia thang may Says:

    Thang May Dinh Menh Kinh Can Thoi Trang Cho Nu Phu Nu Tim Dan Ong

  12. # 12 thang may Says:

    gia dinh mitsubishi sakura thiet ke Thang May Schindler Thoi Trang Kinh Can Phu Nu Tim Dan Ong Can Ban Thang May Gia dinh Tran Thu do

  13. # 13 Pifou Says:

    Thanks for sharing your thoughts on . Regards

    my web blog

  14. # 14 thang may gia dinh Says:

    gia dinh mitsubishi sakura thiet ke Tre 8 Thang May Can do Thoi Trang Nu 10 Phu Nu Giau Nhat Viet Nam Can Lap Dat Thang May do Gia dinh Tu

  15. # 15 Isidra Says:

    You can certainly see your enthusiasm within the work you write.
    The arena hopes for even more passionate writers like you who are not
    afraid to mention how they believe. All the time go
    after your heart.

  16. # 16 pink bo staff Says:

    Perhaps you don’t like them, but you can still be kind and polite.
    The first thing that interested me was the number of
    inmates actually in prison in Canada. The weapons” training does not just begin from the first day itself.

    my web blog – pink bo staff

  17. # 17 MegaHackz Says:

    When someone writes an piece of writing he/she keeps the image of a user in his/her brain that how
    a user can know it. Thus that’s why this paragraph is great.
    Thanks!

  18. # 18 thiet ke noi that chung cu Says:

    noi that gia re chung cu

  19. # 19 perdita capelli Says:

    I enjoy the efforts you have put in this, thank you for all the great blog posts.

  20. # 20 garden world Says:

    This information is worth everyone’s attention. When can I find out more?

    Here iss mmy web-site garden world

  21. # 21 Treogmalun.Is Says:

    Thank you a lot for sharing this with all of us yyou actually
    recognize what you’re speaking about! Bookmarked.

    Kiindly additionally talk over with my website =). We could have a hyperlink exchange arrangement between us

    my page shop online computer accessories – Treogmalun.Is

  22. # 22 pomiar-lakieru.pl Says:

    I have learn some just right stuff here. Certainly worth bookmarking for revisiting.
    I wonder how much effort you put to create the sort of excellent informative web site.

  23. # 23 비아그라 구입 Says:

    비아그라 구입…

    FernyB | Rails 2.3.5 on Dreamhost (Shared Hosting)…

  24. # 24 Jimmie Says:

    With that mentioned I am promoting my OSH gear (
    -Cylinder ) being that my assessment is more
    than and I was unable to produce the seal required
    to possibly replace my current girth enhancer (the Penomet) with the OSH.

  25. # 25 andrew Says:

    Aw, this was a very good post. Taking a few minutes
    and actual effort to produce a great article… but what can I
    say… I procrastinate a whole lot and never manage to get nearly anything done.

  26. # 26 https://foursquare.com/user/99754824/list/profit-creation Says:

    Vagina Riot on YouTube’s Economics by Coy at Bloomberg Businessweek.
    A case study in how press (good or bad) can lead to a surge in YouTube attractiveness, as viewed having a jailed Russian girl band.
    A Quick History of YouTube Infographic. Another attempt to put the incredible progress and attractiveness of YouTube into perspective
    for anyone wanting to evaluate the chance to create income through movie.

  27. # 27 paleo breadcrumbs Says:

    WOW just what I was looking for. Came here by
    searching for baked oatmeal

  28. # 28 прямая трансляция тнт онлайн Says:

    Некоторые команды соревнуются
    с Европейскими брендами на ровне и
    уже почти входят в элиту футбола.
    прямая трансляция тнт онлайн

  29. # 29 safest wow gold Says:

    Awesome safest wow gold http://www.gamesky.com.au/ and additionally very good customer service. Placing your order was initially very easy.

  30. # 30 painting services in brandon Says:

    Yes! Finally someone writes about home contractors painting.

  31. # 31 Carl Says:

    Winterboard app is the theme manager for iPhone. You do have to
    be aware, nevertheless, when you unlock your iPhone 3 you may lose your Apple warranty.
    Yes! jailbreak is a simple and safe also.

  32. # 32 экономитель воды Says:

    Наш файловый обменник предоставляет
    всем своим содержит девять серий, шесть из, которых их файлы и круглосуточный доступ к значит, запустится на любом
    компьютере. Полицейским для ареста гонщиков доступна ударная нужно скачать бесплатно мини игры из.
    экономитель воды Скорость
    ниже заявленной никогда не была, 2014 года Вопросы и
    ответы будут. Ссылку на файл, сохраненный на сервере,
    дети испытали Medical Weight Loss
    Drugs незабываемых эмоций и значит придут и
    еще 2 раза. Воспользовавшись удалённой закачкой можно,
    наоборот, закачать море радости, веселья и отличного настроения.
    экономитель воды экономитель воды [tinyurl.com].

  33. # 33 downloadapptrackr.blog.com Says:

    There is one advantage, though, and that is that you might lose the Apple warranty on your iPhone
    3.
    You don??????t have to jailbreak the iPhone 4S to use R-Sim
    card, neither cutting of your iphone Sim card.

  34. # 34 sex toys bradenton florida Says:

    Quality articles or reviews is the key to be a focus for the
    viewers to visit the site, that’s what this web site is providing.

  35. # 35 goingviralposts.us Says:

    To be sure, it is still wise to get escort hiring
    services from escort girl agencies. Many offices, for
    instance, take rugs on a lease instead of buying them, to save the hassle of buying, replacing, or cleaning
    rugs. These women are not prostitutes — and should never be mistaken as
    such.

  36. # 36 best vertical jump program Says:

    I will immediately grasp your rss as I can’t in finding your email subscription link or newsletter service.

    Do you have any? Kindly let me understand in order that I may just subscribe.
    Thanks.

  37. # 37 Scoala de Unghii Says:

    Having read this I believed it was extremely informative.

    I appreciate you finding the time and energy to put this short article
    together. I once agaijn find myself spending a significant amount
    oof time both reading and leaving comments. But so what, it was still worthwhile!

  38. # 38 Robbie Homewood Says:

    I do consider all the ideas you’ve offered on your post. They are really convincing and can certainly work. Nonetheless, the posts are too quick for beginners. Could you please prolong them a little from next time? Thanks for the post.

  39. # 39 best online deals Says:

    Excellent blog! Do you have any tips and hints for aspiring writers?

    I’m planning to start my own site soon but I’m a little lost on everything.
    Would you propose starting with a free platform like WordPress or
    go for a paid option? There are so many options out there that I’m completely
    confused .. Any tips? Appreciate it!

  40. # 40 refrigerated ducted system Says:

    Aw, this was an exceptional good post. It must have taken you great efforts to create this article… Appreciate!

  41. # 41 air conditioning Melbourne Says:

    I’ve learn a few excellent stuff here. Definitely great bookmarking for revisiting. I wonder how much effort you place to create this type of great informative website.

  42. # 42 evaporative cooler installation Says:

    lol, I love Miley! She is so wild!

  43. # 43 ducted heating Melbourne Says:

    The issue which u have discussed in this article is very much common nowadays . Thank You so much for giving me the tips

  44. # 44 Best Custom Orthotics Near Santa Monica Says:

    Best Custom Orthotics Near Santa Monica

    FernyB | Rails 2.3.5 on Dreamhost (Shared Hosting)

Leave a Reply

    Recent Listened to Tracks


    Warning: Invalid argument supplied for foreach() in /home/polarexpress/fernyb.net/blog/wp-content/plugins/scrobbler/ScrobblerContent.php on line 65

    Warning: Invalid argument supplied for foreach() in /home/polarexpress/fernyb.net/blog/wp-content/plugins/scrobbler/ScrobblerContent.php on line 65

eastern-avalanche
eastern-avalanche
eastern-avalanche
eastern-avalanche