su ubuntu -c 'source /etc/profile && cd /home/ubuntu/downloads/redmine-2.1/ && NEWRELIC_ENABLE=true rails s Puma -e production -p 8080 -d'
Showing posts with label ruby. Show all posts
Showing posts with label ruby. Show all posts
Thursday, April 4, 2013
Puma and rails to auto start on Linux rc.local
Thursday, July 31, 2008
No such file to load -- ubygems (LoadError)
Whatever Ruby module I want to install under Cygwin I always get the same
error: ruby: No such file to load -- ubygems (LoadError)I've tried install rubygem, rubyfcgi etc. After "ruby config.rb config" or
"ruby config.rb install" I get error: "ruby: No such file to load --
ubygems (LoadError)" It looks strange. I am using last cygwin installation
with ruby 1.8.2 ()ruby 1.8.2 (2004-12-25) [i386-cygwin])
----
True. Try to unset the RUBYOPT environment variable. Did the trick for me.
Wednesday, December 13, 2006
Ruby on Rails Windows安装问题
gem install rails --include-dependencies错误提示找不到 ssleay32.dll 和 zlib.dll,这时候需要下载下面这几个文件放到 \ruby-version\bin 这个目录下
Friday, December 8, 2006
ruby on rails with Dream Host
不过在自己的windows上搭建开发环境的时候遇到了一点问题,在启动了服务之后出现
Application error (Rails)的错误,后来google了一下,原来是服务的启动方式不对,必须使用
ruby script/server才能正常工作 ;)
关于在windows上搭建 Ruby on Rails 的开发环境完全可以使用这个软件包。
Sunday, December 3, 2006
Installing Ruby on Rails with mod_fcgi for Apache 2
Before we begin, I can say that this was only successful when I did the setup in this order. Perhaps others have done it in a different way, but this worked for me. BTW, I using Redhat Enterprise 4.
First, we'll install ruby.
curl -O ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.4.tar.gz
tar xvfz ruby-1.8.4.tar.gz
cd ruby-1.8.4
./configure --codefix=/usr/local
make
make install
cd ..Just to make sure everything installed properly try this:
ruby --versionIt should return something like this:
ruby 1.8.4 (2005-12-24) [i686-linux]Now let's install ruby gems.
curl -O http://rubyforge.org/frs/download.php/5207/rubygems-0.8.11.tgz
tar xvfz rubygems-0.8.11.tgz
cd rubygems-0.8.11
ruby setup.rb
cd ..Now we need to install the FastCGI development kit.
curl -O http://www.fastcgi.com/dist/fcgi-2.4.0.tar.gz
tar xvfz fcgi-2.4.0.tar.gz
cd fcgi-2.4.0
./configure --codefix=/usr/local
make
make install
cd ..Allrighty then. We're moving now.
Subscribe to:
Posts (Atom)