ruby+rails
文章平均质量分 56
janne09
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
ubuntu打开pdf文件及自定义命令
1.打开pdf文件 文件所在目录:/home/xxx/book 终端执行命令: evince /home/xxx/book/filename.pdf 或者: xdg-open /home/xxx/book/filename.pdf 2.自定义命令 1).进入/home/xxx目录下 cd /home/xxx 2).终端执行如下命令,打开.bashrc文件 vi转载 2013-05-03 14:43:08 · 1205 阅读 · 0 评论 -
ubuntu10.04安装ruby提示Missing required packages: libgdbm-dev, libffi-dev.
一个是用rvm安装ruby的时候,出现 Ruby 123456Installing requirements for ubuntu, might require sudo password.Running 'apt-get --quiet --yes update' would require sudo.Cowardly refu转载 2013-05-03 10:45:50 · 1597 阅读 · 0 评论 -
ubuntu10.04下 rails -v 提示rails未安装
在ubuntu下安装rails,每次重启后,都提示未安装rails ruby -v gem -v 都正常 gem install rails提示安装成功,但是rails -v时,提示rails 未安装 修改终端设置如下即可: 原文地址:https://rvm.io/integration/gnome-terminal/转载 2013-05-03 10:22:27 · 802 阅读 · 0 评论 -
Installing Ruby on Rails 3.1.1 with MySql on Windows-7 64-bit
Download the Savvy Digital Marketer's Guide to Social Content Marketing!. I recently upgraded my Ruby on Rails installation from Ruby 1.8.7 and Rails 2.3.2 to Ruby 1.9.3 and Rails 3.1.1 There转载 2013-08-07 17:48:31 · 1064 阅读 · 0 评论 -
rails 3遇到 Could not find a JavaScript runtime execjs错误(ubuntu)
执行rails s 时提示:Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes. sudo apt-get install python-software-properties sudo add-apt-转载 2013-08-12 14:04:24 · 750 阅读 · 0 评论 -
RHEL / Centos 6: Install Nginx Using Yum Command
ow can I install Nginx web server On CentOS Linux 6 or Red Hat Enterprise Linux 6 using yum command? Tutorial details Difficulty Intermediate (rss) Root privileges转载 2013-09-06 12:19:35 · 1107 阅读 · 0 评论 -
RVM错误和解决:"RVM is not a function, selecting rubies with 'rvm use ...' will not work."
ubuntu12 When you run a rvm command such as $ rvm use 1.9.3 but receive an error message of RVM is not a function, selecting rubies with 'rvm use ...' will not work. This error happens转载 2013-09-10 10:37:10 · 4234 阅读 · 0 评论 -
ruby连接mysql2数据库
require 'rubygems'require 'active_record'require 'mysql2'require 'net/ssh/gateway' gateway = Net::SSH::Gateway.new( 'remotehost.com', 'username') # opens a new port on the established gatewayport =转载 2013-09-13 11:21:57 · 4969 阅读 · 0 评论 -
ubuntu安装ruby+rails,sources ~/.bash_profile,重新启动电脑该命令不生效
使用rvm进行版本控制 vim ~/.bashrc 打开.bashrc文件,将代码写入文件中 source "$HOME/.rvm/scripts/rvm" 保存退出,重启电脑即可 详情参考官方文档 https://rvm.io/rvm/install/ 章节 2. Load RVM into your shell sessions as a function转载 2013-09-13 10:04:11 · 2144 阅读 · 0 评论 -
RHEL6.2(X86_64)使用CentOS YUM源更新
RedHat 6.2(64位)如何使用CentOS YUM源更新的方法 由于 redhat的yum在线更新是收费的,如果没有注册的话不能使用,如果要使用,需将redhat的yum卸载后,重启安装,再配置其他源,以下为详细过程 1.删除redhat原有的yum rpm -aq|grep yum|xargs rpm -e --nodeps 卸载转载 2013-09-05 17:26:44 · 944 阅读 · 0 评论 -
redhat bundle时Error installing mysql2: Failed to build gem native extension
On Ubuntu/Debian and other distributions using aptitude: sudo apt-get install libmysql-ruby libmysqlclient-dev On Red Hat/CentOS and other distributions using yum: sudo yum install mysql-devel转载 2013-09-05 17:27:53 · 2160 阅读 · 0 评论 -
redhat安装ruby on rails的错误总结
redhat 安装mysql服务器: Next, install MySQL. This is the one step that RHN handles, thankfully… sudo yum install mysql mysql-server mysql-devel chkconfig mysqld on ; /etc/init.d/mysqld start原创 2013-09-05 18:57:10 · 1119 阅读 · 0 评论 -
How do you install Node.JS on CentOS?
# yum install openssl-devel # cd /usr/local/src # wget http://nodejs.org/dist/node-latest.tar.gz # tar zxvf node-latest.tar.gz (cd into extracted folder: ex "cd node-v0.10.3") # ./configure # make # m转载 2013-09-25 13:11:24 · 1877 阅读 · 0 评论
分享