rack-pow

prax on ubuntu machine for RoR

佐手、 提交于 2019-12-06 02:19:25
问题 Has anyone successfully installed and configured 'prax' https://github.com/ysbaddaden/prax ? I have tried configuring it on multiple pc but no success. There is pow but it works only on OSX. If any other alternative please share. 回答1: First, install Prax and configure your apps as stated on its GitHub. To know if actually is working, ping to a desire app. ping myapp.dev It should ping to your loopback (127.0.0.1). If this is not your case, check again. Then follow this steps: 1) Restart your

Pry-Remote with Pow on Rails 4

大兔子大兔子 提交于 2019-12-04 08:19:05
I'm busy with (finally) upgrading to Rails 4 and I've run into a problem with Pry-remote. Problem: When added binding.remote_pry to my code it breaks the code but when I can't get into the debugger by typing pry-remote . This used to work when running Rails 3 and Ruby 1.9.3. Side note: When running Rails s instead of Pow and binding.pry instead binding.remote_pry , it falls into the debugger. What I'm running: Pow 0.5.0 ruby 2.1.5p273 Rails 4.2.0 OSX 10.9.5 Gemfile gem 'pry' gem 'pry-remote' gem 'pry-stack_explorer' gem 'pry-rails' gem 'byebug' gem 'pry-byebug' Gemfile.lock pry (0.10.1)

pow says: Bundler::GemNotFound: Could not find rake-0.9.2.2 in any of the sources

给你一囗甜甜゛ 提交于 2019-12-04 07:35:17
问题 I have a rails app that runs fine with rails s , but when I try to load it using pow I'm getting this error: Bundler::GemNotFound: Could not find rake-0.9.2.2 in any of the sources ~/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.22/lib/bundler/spec_set.rb:88:in `block in materialize' ~/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.22/lib/bundler/spec_set.rb:82:in `map!' ~/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.22/lib/bundler/spec_set.rb:82:in `materialize' .... Weird thing is, the .rvmrc file

prax on ubuntu machine for RoR

巧了我就是萌 提交于 2019-12-04 07:02:26
Has anyone successfully installed and configured 'prax' https://github.com/ysbaddaden/prax ? I have tried configuring it on multiple pc but no success. There is pow but it works only on OSX. If any other alternative please share. sequielo First, install Prax and configure your apps as stated on its GitHub. To know if actually is working, ping to a desire app. ping myapp.dev It should ping to your loopback (127.0.0.1). If this is not your case, check again. Then follow this steps: 1) Restart your server 2) Restart your browser. If you are using Chrome, you might need to clear the cache (as

How can I stop the Pow server from starting up at computer boot (OS X)?

僤鯓⒐⒋嵵緔 提交于 2019-12-03 21:13:33
问题 TL;DR: Is there a way to disable the Pow server from starting when my machine boots up, but retain the ability to launch the server manually via powder up when I need it to run? I am using Pow for my local development (and managing via the Powder gem). I'd like to set up Pow so that the server isn't started automatically on boot, as running it drains my battery life and I'm not always coding. Pow has added itself to launchd and I can't seem to get to a scenario where the Pow server is not

ruby-debug with Pow — breakpoints never hit

时间秒杀一切 提交于 2019-12-03 13:02:21
I'm trying to use ruby-debug with Pow. Rails 3 app. I have done everything here: https://gist.github.com/1098830 I've restarted the server and machine several times. I can get rdebug to connect: → rdebug -c Connected. but it never stops at the breakpoints. Any idea what could be going on? I got it to hit a few breakpoints a few hours ago, and not since. controller def index debugger ... end Gemfile gem 'ruby-debug19', :require => 'ruby-debug' development.rb EG::Application.configure do ... require 'ruby-debug' Debugger.start_remote Debugger.settings[:autoeval] = true puts "=> Debugger enabled"

Pow not loading gem properly while rails s works

夙愿已清 提交于 2019-12-02 18:28:03
问题 I have an error when using pow, but it works perfectly with rails s. Here is the results of the same code on Heroku: www.contakapp.com I believe the chunky_png-1.2.8 is from the foundation gem or some related issue. So I am also providing my whole gem file: source 'https://rubygems.org' ruby '1.9.3' gem 'rails', '4.0.0' #views gem 'jquery-rails' , '~> 2.2.1' gem 'haml-rails' , '~> 0.4' #auth gem 'omniauth-facebook' , '~> 1.4.0' gem 'omniauth-linkedin' , '~> 0.1.0' #API gem 'twitter' , '~> 4.8

Pow not loading gem properly while rails s works

99封情书 提交于 2019-12-02 08:00:44
I have an error when using pow, but it works perfectly with rails s. Here is the results of the same code on Heroku: www.contakapp.com I believe the chunky_png-1.2.8 is from the foundation gem or some related issue. So I am also providing my whole gem file: source 'https://rubygems.org' ruby '1.9.3' gem 'rails', '4.0.0' #views gem 'jquery-rails' , '~> 2.2.1' gem 'haml-rails' , '~> 0.4' #auth gem 'omniauth-facebook' , '~> 1.4.0' gem 'omniauth-linkedin' , '~> 0.1.0' #API gem 'twitter' , '~> 4.8.1' gem 'rest-client' , '~> 1.6.7' # models gem 'pg' gem 'coffee-rails' gem 'uglifier' gem "font

Environment variable in Rails console and Pow

非 Y 不嫁゛ 提交于 2019-12-01 17:41:10
I can't access env variables in the Rails console, while in the application they work. In .powenv I have export SENDGRID_PASSWORD="123" In config/initializers/mail.rb there is: ActionMailer::Base.smtp_settings = { :password => ENV['SENDGRID_PASSWORD'] } So in the console when I type UserMailer.welcome_mail.deliver there is an error 'ArgumentError: SMTP-AUTH requested but missing secret phrase'. However from the application it sends the mail successfully. How can I make the env variables available in the console? Your Rails console isn't able to access the environment variable because Pow

Bundler::RubyVersionMismatch: Your Ruby version is 1.9.3, but your Gemfile specified 2.0.0

安稳与你 提交于 2019-12-01 16:43:19
问题 I am using a Mac with Pow, Ruby, Rails and a bunch of useful gems. I recently got this error whenever I try to open my app. Bundler::RubyVersionMismatch: Your Ruby version is 1.9.3, but your Gemfile specified 2.0.0 I understand the error, but I can't find why it is not using the proper version here. Some information that can be useful: Stack Trace Bundler::RubyVersionMismatch: Your Ruby version is 1.9.3, but your Gemfile specified 2.0.0 ~/.rvm/gems/ruby-2.0.0-p247/gems/bundler-1.3.5/lib